Practice Residuals in Math

Use these practice problems to test your method after reviewing the concept explanation and worked examples.

Quick Recap

The difference between an observed value and its predicted value from a regression model: residual=yโˆ’y^\text{residual} = y - \hat{y} (observed minus predicted).

A residual is how much the model got wrong for a specific data point. Positive residual means the actual value was higher than predicted; negative means it was lower. If you plot all residuals, the pattern (or lack thereof) tells you whether the model is appropriate.

Showing a random 20 of 50 problems.

Example 1

easy
Predicted y^=100\hat{y} = 100, observed y=100y = 100. What is the residual?

Example 2

easy
A residual is 00. What does that mean about the data point?

Example 3

medium
The residuals of a fitted regression are {2,โˆ’1,3,โˆ’2,โˆ’2}\{2, -1, 3, -2, -2\}. Confirm that this could be a valid LSRL fit.

Example 4

hard
An LSRL fit gives residuals with โˆ‘ei2=80\sum e_i^2 = 80 and n=12n = 12. Estimate the residual standard error (use nโˆ’2n - 2 degrees of freedom).

Example 5

medium
If a residual is โˆ’5-5 at a point where the predicted value is 3030, what was the observed value?

Example 6

easy
What is the sum of all residuals from a least-squares regression line?

Example 7

easy
A model predicts 5050 but the observed value is 4747. Compute the residual.

Example 8

easy
A residual plot shows points scattered randomly around 00 with no pattern. Does this support the linear model?

Example 9

medium
The standard deviation of the residuals (denoted ss) is reported as 44. Roughly interpret this value.

Example 10

medium
A residual plot shows residuals fanning out as y^\hat{y} grows. What is this called and what does it suggest?

Example 11

easy
A regression line predicts y^=12\hat{y} = 12 for x=5x = 5. The actual observation is y=9y = 9. Find the residual.

Example 12

medium
For an LSRL with intercept b0=2b_0 = 2 and slope b1=3b_1 = 3 fit on xห‰=5\bar{x} = 5, yห‰=?\bar{y} = ?. Verify the line passes through (xห‰,yห‰)(\bar{x}, \bar{y}).

Example 13

medium
Observed values y=(10,14,22)y = (10, 14, 22) have predictions y^=(12,14,20)\hat{y} = (12, 14, 20). Compute all three residuals.

Example 14

medium
Predicted y^\hat{y} values: 10,12,1510, 12, 15. Observed yy: 11,9,1811, 9, 18. Compute the mean of the residuals.

Example 15

easy
Given y^=4xโˆ’3\hat{y} = 4x - 3 and observed point (2,7)(2, 7), compute the residual.

Example 16

easy
Using y^=2+3x\hat{y} = 2 + 3x, find the residual for the point (4,15)(4, 15).

Example 17

easy
Given y^=10โˆ’2x\hat{y} = 10 - 2x and observed (3,6)(3, 6), find the residual.

Example 18

easy
A positive residual means the observed value is above or below the prediction?

Example 19

hard
Two students fit different lines to the same data. Student A reports residuals summing to 00; Student B reports residuals summing to 55. Whose line could be the LSRL?

Example 20

hard
A residual plot shows a curved (parabolic) pattern. What kind of model might better fit the data?