Definition · Regression
Fitted values and residuals
Definition from the chapter Linear regression and correlation of Statistics and probability, with the exercises in which it is used.
Fitted values and residuals
The fitted value at predictor observation is . The residual is the difference between the observed response and the fitted value. It is positive when the observed point lies above the line and negative when it lies below.
The first normal equation is , that is, ; the second is . The first gives , so the mean of the fitted values equals the mean of the observed responses. The two zero sums also check the calculations: if the calculated residuals do not sum to zero, the line contains an error.
Read it in the chapter Linear regression and correlation →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →