next up previous contents
Next: Coefficient of Determination Up: Least Squares Line Previous: Prediction

Residuals

Earlier, we defined the residuals as the vertical distance between the fitted regression line and the data points. Another way to look at this is, the residual is the difference between the predicted value and the observed value,

displaymath3029

Note that the sum of residuals, tex2html_wrap_inline3031 , always equals zero. However, the quantity we minimized to obtain our least squares equation was the residual sum of squares, SSRes,

eqnarray551

An alternative formula for SSRes is

displaymath3033

Notice that the residual sum of squares is never negative. The larger SSRes is, the further away from the line data points fall.



Jan Lethen
Wed Nov 13 16:20:46 CST 1996