Residuals Statistics Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

hard
A regression model predicts y^=30\hat{y} = 30 for a data point, but the actual value is y=35y = 35. Calculate the residual and interpret it.

Solution

  1. 1
    Step 1: Residual = yโˆ’y^=35โˆ’30=5y - \hat{y} = 35 - 30 = 5.
  2. 2
    Step 2: A positive residual means the model underestimated โ€” the actual value is 5 units above the predicted value.
  3. 3
    Step 3: The data point lies above the regression line.

Answer

Residual = 5. The model underestimated by 5 units.
Residuals measure the vertical distance between observed values and the regression line. Positive residuals indicate the point is above the line; negative residuals indicate it is below.

About Residuals

A residual is the difference between an observed data value and the value predicted by a statistical model, calculated as residual=yobservedโˆ’ypredicted\text{residual} = y_{\text{observed}} - y_{\text{predicted}}. Positive residuals mean the model underestimated; negative residuals mean it overestimated.

Learn more about Residuals โ†’

More Residuals Examples