ESS210B
Prof. Jin-Yi Yu
Least Square Fit
qCoefficients a and b are chosen such that the error Q is minimum:
q
q
qThis leads to:
q
q
q
qSolve the above equations, we get the linear regression coefficients:
q                                                                    where
q                                                 
q
q
covariance between x and y
variance of  x
b =