Residuals Math Example 1
Follow the full solution, then compare it with the other examples linked below.
Example 1
easyGiven , and observed point : calculate the residual and interpret whether the model over- or under-predicts.
Solution
- 1 Calculate predicted value:
- 2 Calculate residual:
- 3 Positive residual: actual value (15) is ABOVE the predicted value (14)
- 4 Interpretation: the model under-predicts by 1 unit for this observation
Answer
(positive). The model under-predicts by 1 unit.
A residual measures the vertical distance between observed and predicted. Positive residual = point above the line (model under-predicts); negative residual = point below the line (model over-predicts). Residuals should average to zero for a good model.
About Residuals
The difference between an observed value and its predicted value from a regression model: (observed minus predicted).
Learn more about Residuals โMore Residuals Examples
Example 2 medium
Five observed and predicted values: [formula]: [formula]. Calculate all residuals, verify they sum t
Example 3 easyA regression model gives residuals: [formula]. Are these residuals consistent with a valid LSRL? Cal
Example 4 hardA residual plot shows residuals increasing in magnitude as [formula] increases (fan shape). What ass