Checking residuals

The residuals are the errors between the predicted values and the true values, i.e.,

Under least squares, , so and if (the variance of the errors). So we should plot the residuals against any combination of the predictors (or the fitted values) and the means should be roughly zero (but the variance need not be constant).

If the residuals do not have a constant mean or display significant curvature, it is suggestive that the model may be misspecified.

Curvature