1 / 9
INTRO

Measuring Prediction Error

No regression line fits data points perfectly. The difference between what we observe and what our model predicts is the prediction error, known as a residual.

Analyzing residuals helps us evaluate how well our model fits and whether our linear assumptions are valid.