Interpreting Residuals in Linear Models
Calculate observed minus predicted values. Explain the direction of prediction errors.
6 min · Statistics and modeling · Intermediate
Learning goals
- Calculate observed minus predicted values.
- Explain the direction of prediction errors.
Understand the concept
A residual is the observed response minus the response predicted by a model at the same input. It measures vertical prediction error in the units of the response variable.
A positive residual means the model underpredicts; a negative residual means it overpredicts. Residuals close to zero suggest accurate predictions at those inputs, but do not establish causation.
Worked example 1
A model predicts 18 minutes and the actual time is 21 minutes. The residual is 21 − 18 = 3 minutes.
Worked example 2
For ŷ = 2x + 5, an observation (4, 11) has residual 11 − 13 = −2.
Check your understanding
UNVRST English edition · Educational support · Editorial policy