Residual = Actual value − Predicted value
Identify the actual observed value
Identify the predicted or fitted value from the model
Subtract the predicted value from the actual value
Residual = y − ŷ
A positive residual means the model underestimated the actual value
A negative residual means the model overestimated the actual value
A residual of 0 means the prediction was exact
