Understanding Error Bars on Least Squares Fit Line

In summary, Error bars on a least squares fit line are graphical representations of the uncertainty in the fitted values of a mathematical model. They are calculated using the standard error of the estimate and can indicate the amount of uncertainty or variability in the fitted values. However, they should not be used alone for making predictions and other factors such as sample size and potential sources of error should also be considered.
  • #1
radiator
23
0
Hello,

What are the error bars on the least squares fit line?

recall the variables are:
x ; y ; x^2 ; xy ; y^2 ; yi=mx+c ; d =(y-yi) ; d^2

---------
is it d?

Thanks
 
Physics news on Phys.org
  • #2
never mind... Its solved
 
  • #3
the answer is: [itex]\sigma_y^2 = \frac{1}{N-2} \times \displaystyle \sum_i^N (y_i - A - Bx_i)^2[/itex]
 

Related to Understanding Error Bars on Least Squares Fit Line

1. What are error bars on a least squares fit line?

Error bars on a least squares fit line are graphical representations of the uncertainty in the fitted values of a mathematical model. They show the range of possible values that the fitted line could take, taking into account the variability and accuracy of the data points.

2. How are error bars calculated on a least squares fit line?

The error bars on a least squares fit line are calculated using the standard error of the estimate, which takes into account the variability of the data points around the fitted line. This can be calculated using statistical software or manually using mathematical formulas.

3. What do the different lengths of error bars on a least squares fit line mean?

The length of the error bars on a least squares fit line can indicate the amount of uncertainty or variability in the fitted values. A longer error bar means a larger range of possible values, while a shorter error bar indicates a smaller range and therefore more confidence in the fitted line.

4. How do error bars on a least squares fit line relate to the goodness of fit?

The error bars on a least squares fit line can provide information about the goodness of fit of the model. A well-fitted model will have error bars that are relatively small and evenly distributed around the fitted line. Larger and unevenly distributed error bars may indicate a poor fit.

5. Can error bars on a least squares fit line be used to make predictions?

While error bars on a least squares fit line can provide information about the uncertainty in the fitted values, they should not be used on their own to make predictions. Other factors such as the sample size and potential sources of error should also be taken into account when making predictions based on a least squares fit line.

Similar threads

  • Other Physics Topics
Replies
3
Views
1K
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Other Physics Topics
Replies
6
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Programming and Computer Science
Replies
4
Views
732
  • Calculus and Beyond Homework Help
Replies
6
Views
674
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
Back
Top