Understanding Error Bars on Least Squares Fit Line

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
radiator
Messages
23
Reaction score
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
the answer is: [itex]\sigma_y^2 = \frac{1}{N-2} \times \displaystyle \sum_i^N (y_i - A - Bx_i)^2[/itex]