Residuals Statistics Example 3

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

Example 3

hard
Given y^=20+4x\hat{y} = 20 + 4x and actual data points (2, 30), (3, 33), (4, 35), find the residual for each point.

Solution

  1. 1
    Step 1: Predictions: y^(2)=28\hat{y}(2) = 28, y^(3)=32\hat{y}(3) = 32, y^(4)=36\hat{y}(4) = 36.
  2. 2
    Step 2: Residuals: 30โˆ’28=230-28=2, 33โˆ’32=133-32=1, 35โˆ’36=โˆ’135-36=-1.

Answer

Residuals: 2, 1, โˆ’1.
Computing residuals for each data point lets us assess how well the regression line fits individual observations.

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