Understanding Error Bars on Least Squares Fit Line

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
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
never mind... Its solved
 
the answer is: [itex]\sigma_y^2 = \frac{1}{N-2} \times \displaystyle \sum_i^N (y_i - A - Bx_i)^2[/itex]