Tutorials › AP Statistics › Common Residual Mistakes

Residuals · Tutorial 898 of 1000

Common Residual Mistakes

Use a quick residual audit to verify the subtraction, sign, units, and in-context meaning of a residual.

Intermediate 9 min read

What You'll Learn

  • Explain why a residual is observed response minus predicted response, not the reverse.
  • Use a residual's sign to tell whether a regression line overpredicted or underpredicted.
  • Report a residual in the response variable's units and translate it into the situation.
  • Check a residual calculation by comparing the observed response with the prediction.
  • Avoid treating a residual as a percent, a predictor-unit difference, or the residual standard deviation.

Why Residuals Are Easy to Misread

In “Reading Residuals From Computer Output,” you learned to find a residual in a table or list and match it to the correct observation. Once you have the number, you still need to interpret it accurately. Three mistakes are especially common: subtracting in the wrong order, omitting the response units, and treating the sign as if it described something other than the observed response’s position relative to the prediction.

Recall from “Defining a Residual as Observed Minus Predicted” that a residual for an observed case is \(y-\hat{y}\). Here, \(y\) is the observed response and \(\hat{y}\) is the response predicted by the fitted line at that case’s predictor value. The order is part of the definition. A residual is not \(\hat{y}-y\).

Definition: For an observed case, \(\text{residual}=y-\hat{y}\): observed response minus predicted response. A positive residual means the observed response is above the prediction; a negative residual means it is below the prediction. The residual has the response variable’s units.

The sign does not tell you whether the predictor is high or low, whether the fitted line has a positive or negative slope, or whether the observation is a regression outlier. It tells you whether the observed response is greater than or less than its prediction. As in “Sign of a Residual: Over- and Underprediction,” a positive residual means the line underpredicted for that case, and a negative residual means the line overpredicted.

A useful new habit is to perform a residual audit before writing an interpretation. Check the subtraction order, check that the sign agrees with the comparison between \(y\) and \(\hat{y}\), check that the units match the response, and then explain the result in context. These checks reinforce one another: if the observed response is smaller than the prediction, the residual must be negative.

A Four-Part Residual Audit

1
Identify the response.
Determine what \(y\) measures and what units it uses. Residuals use these units, not the predictor’s units.
2
Keep the order fixed.
Write \(y-\hat{y}\) before substituting. The observed response comes first; the predicted response comes second.
3
Check the sign.
Compare \(y\) and \(\hat{y}\) directly. If \(y>\hat{y}\), the residual is positive; if \(y<\hat{y}\), it is negative.
4
Translate in context.
Say how far the observed response was above or below the prediction, naming the case and the response units.

This audit is not a different residual formula. It is a practical way to prevent a calculation mistake from turning into an incorrect interpretation. It also helps when software supplies the residual directly: check that the reported value’s sign agrees with the observed and predicted responses when those values are available.

Worked Example: Reversing the Subtraction

A fictional delivery service models loading time \(y\), in minutes, from the number of parcels \(x\). Its fitted line is \(\hat{y}=12+1.8x\). For a delivery with 5 parcels, the observed loading time was 24.4 minutes. A student calculates \(21-24.4=-3.4\) and says the model overpredicted by 3.4 minutes. Check the calculation and interpretation.

State. Find the residual for this delivery and explain what it says about the model’s prediction.

Plan. The response is loading time, measured in minutes. First use the fitted line to get the predicted time for 5 parcels, then calculate observed minus predicted. Finally, compare the observed and predicted times to verify the sign.

Do. The predicted loading time is \(\hat{y}=12+1.8(5)=21\) minutes. The residual is \(y-\hat{y}=24.4-21=3.4\) minutes. Reversing the subtraction would give \(21-24.4=-3.4\), which is the opposite of the residual. Since 24.4 minutes is greater than 21 minutes, a positive residual is consistent with the comparison.

Conclude. This delivery’s residual is \(3.4\) minutes. The observed loading time was 3.4 minutes longer than the model predicted, so the line underpredicted the time. The student used the prediction minus the observation and therefore reversed both the residual’s sign and its interpretation.

The Sign Describes the Response Difference

A negative residual is not a “negative response,” and it does not mean that the prediction itself was negative. It means that the observed response was less than the predicted response. Likewise, a positive residual does not mean that the response is necessarily large in an absolute sense; it means only that the observation is above the prediction for that case.

It is often helpful to state the comparison in ordinary language before interpreting the residual. If a model predicts 8.0 hours of sleep and the person sleeps 7.7 hours, the observed value is 0.3 hour below the prediction. That comparison confirms a residual of \(-0.3\) hour. The residual’s sign and the words “below the prediction” agree.

Do not confuse the residual with the vertical distance alone. The absolute value \(|y-\hat{y}|\) gives the distance from the point to the fitted line, without direction. The signed residual gives both direction and size. In “Comparing Residuals Across Observations,” absolute residuals were useful for comparing which predictions were closer; for an interpretation that asks whether the model overpredicted or underpredicted, keep the sign.

Worked Example: Keeping the Response Units

A fictional sleep-coaching program uses evening screen time \(x\), in hours, to predict sleep duration \(y\), also in hours. The fitted line is \(\hat{y}=9.0-0.4x\). A participant used a screen for 2.5 hours and slept 7.7 hours. Find and interpret the residual, being careful about its units.

State. Calculate the participant’s signed residual and state how the observed sleep duration compares with the prediction.

Plan. The response is sleep duration, so the residual is in hours. Substitute the screen-time value into the fitted line, subtract the predicted duration from the observed duration, and use the sign to describe the direction.

Do. The predicted duration is \(\hat{y}=9.0-0.4(2.5)=9.0-1.0=8.0\) hours. The residual is \(y-\hat{y}=7.7-8.0=-0.3\) hour. Since 0.3 hour is \(0.3(60)=18\) minutes, the observed duration was 18 minutes less than predicted.

Conclude. The residual is \(-0.3\) hour, or \(-18\) minutes. The model overpredicted this participant’s sleep duration by 0.3 hour. Writing “\(-0.3\) hours” is appropriate because the response was recorded in hours; writing “\(-0.3\) minutes” would change the meaning by a factor of 60.

The response units matter even when the numerical value seems familiar. If \(x\) is in hours and \(y\) is in minutes, a residual is in minutes because it is a difference between response values. It is not automatically in the predictor’s units, nor is it automatically a percentage. If converting to another unit is useful, state the conversion and keep it equivalent to the original residual.

Do not add units to a bare number without checking what the variables represent. For example, a residual of \(-1.4\) for a model predicting mass in kilograms means 1.4 kilograms below the prediction, not 1.4 predictor units below an \(x\)-value. The regression line predicts \(y\), and the residual measures the discrepancy in \(y\).

Worked Example: Interpreting a Negative Residual in Context

A fictional greenhouse models the mass of harvested herbs \(y\), in kilograms, from the number of growing trays \(x\). For a particular harvest, the software output lists a residual of \(-1.4\) kilograms. The fitted value for that harvest is 6.8 kilograms. Interpret the residual and verify its sign using the observed mass.

State. Interpret the listed residual for this harvest, including what the negative sign means.

Plan. A residual is observed mass minus predicted mass. Use the listed residual and fitted value to check the corresponding observed value, then describe the difference in kilograms and in the context of the harvest.

Do. The reported residual is \(-1.4\) kg and the predicted mass is 6.8 kg. Since \(y-\hat{y}=-1.4\), the observed mass is \(y=6.8+(-1.4)=5.4\) kg. Checking directly gives \(5.4-6.8=-1.4\) kg. The observed mass is less than the prediction, as required by the negative sign.

Conclude. For this harvest, the observed herb mass was 1.4 kg less than the model predicted. The model overpredicted the harvest mass by 1.4 kg. The residual is in kilograms because the response variable, harvested mass, is measured in kilograms.

Output, Rounding, and Misleading Descriptions

A residual may be copied from computer output or calculated using displayed coefficients. If the coefficients are rounded, a hand-calculated residual can differ slightly from the software’s value, because software may use more digits internally. Before calling an output value wrong, check the data row, the data order, the equation and its precision, and the subtraction convention. This is the same careful matching emphasized in “Reading Residuals From Computer Output.”

Small rounding differences do not justify changing the sign or dropping the units. If an output reports \(0.02\) meters, report the units and interpret the positive sign; do not call it 2 centimeters unless you make the conversion clear. If the task requests an interpretation rather than a calculation, avoid reporting excessive digits that suggest more precision than the output supports.

Worked Example: Correcting a Residual Statement

A fictional bike-repair shop predicts repair time \(y\), in minutes, from the number of replacement parts \(x\). For one repair, the predicted time is 36 minutes and the observed time is 31 minutes. A draft response says, “The residual is 5 parts, so the repair took 5 minutes longer than predicted.” Identify and correct the errors.

State. Calculate the residual and write a complete interpretation for this repair.

Plan. Use observed time minus predicted time. The response is repair time, so the units are minutes. Check whether 31 is above or below 36 before deciding whether the shop’s model overpredicted or underpredicted.

Do. The residual is \(y-\hat{y}=31-36=-5\) minutes. The observed time, 31 minutes, is less than the predicted time, 36 minutes, so the negative sign is consistent. “Parts” is the predictor’s unit and is not a unit for a residual in repair time.

Conclude. The repair’s residual was \(-5\) minutes. The observed repair time was 5 minutes shorter than the model predicted, so the model overpredicted the time by 5 minutes. The draft used the wrong units and described the direction incorrectly.

Common Mistakes and AP Exam Tips

  • Subtracting in reverse. Writing \(\hat{y}-y\) gives the opposite sign from the residual. A full-credit calculation shows \(y-\hat{y}\), observed minus predicted.
  • Interpreting the sign backwards. Positive means observed above predicted and underprediction; negative means observed below predicted and overprediction. Verify this by comparing the two response values.
  • Using predictor units. A residual is measured in the response variable’s units. Name the response and its units before writing the interpretation.
  • Calling the residual a distance without direction. “The point is 5 minutes from the line” gives only a size. If the question asks what the residual means, retain the sign and say whether the model overpredicted or underpredicted.
  • Calling a negative residual a negative observation. The response itself may be positive. The negative value describes the difference between the observed and predicted responses.
  • Confusing an individual residual with \(s\). A residual describes one case; as in “Standard Deviation of the Residuals, \(s\),” \(s\) describes the typical size of prediction errors for the fitted model.

A strong AP response usually includes the case or individual, the signed residual with response units, and a sentence explaining what was observed compared with what was predicted. Avoid a bare statement such as “the residual is \(-5\).” Prefer: “For this repair, the observed time was 5 minutes less than predicted, so the model overpredicted the repair time by 5 minutes.” That sentence gives the direction, size, units, and context.

Key takeaway: Audit every residual as observed response minus predicted response. Confirm that its sign agrees with the comparison, report it in the response variable’s units, and explain in context whether the model overpredicted or underpredicted.

Check Your Understanding

For each situation, check the subtraction order, sign, response units, and in-context meaning.

  1. A model predicts a package’s mass to be 4.6 kg; its observed mass is 5.0 kg. Calculate the residual and state whether the model overpredicted or underpredicted.
  2. A model predicts a student’s commute to take 22 minutes, but it takes 25 minutes. A student reports a residual of \(-3\) minutes. Identify the error and give the correct interpretation.
  3. A regression predicts water use in liters from outdoor temperature in degrees. A residual is \(2.2\). Which units belong with the residual, and what does its positive sign mean?
  4. A predicted sleep duration is 7.5 hours and the observed duration is 7 hours. Give the residual in hours and convert its size to minutes.
  5. Explain why the absolute residual can compare prediction distances but cannot, by itself, tell whether the model overpredicted or underpredicted.