Tutorials › AP Statistics › Prediction Rounding and Units

Least-squares regression · Tutorial 877 of 1000

Prediction Rounding and Units

Practice turning a calculated regression prediction into a sensibly rounded, unit-labeled statement in context.

Intermediate 9 min read

What You'll Learn

  • Decide how many digits to report when a regression prediction is not a whole number.
  • Keep full calculator precision during a calculation and round the final prediction.
  • Track response units and slope units when evaluating a fitted line.
  • Write a complete sentence that names the predictor value and predicted response.
  • Avoid presenting a prediction as an exact or guaranteed individual outcome.

From a Calculated Value to a Clear Prediction

In “Predictions From Computer Output,” you practiced reading coefficient estimates, writing \(\hat{y}=a+bx\), and substituting a predictor value. A calculator may display many digits for the result. Reporting all of them can suggest more precision than the context supports, while rounding too early can change the answer. This tutorial focuses on the last step: choosing a sensible rounded value, attaching the response units, and explaining what the prediction means.

The fitted line gives a numerical prediction for the response. That number should be reported with the units of the response variable—not the predictor—and in a sentence that says what predictor value was used. Rounding does not make the prediction exact, nor does it guarantee that an individual response will equal the predicted value.

Definition: A reported regression prediction is the value of \(\hat{y}=a+bx\) at the specified predictor value, rounded to a precision appropriate to the question and context, labeled with the response units, and described as a prediction for that predictor value.

Choose a Sensible Rounding Precision

First, check whether the question specifies how to round. If it says “to the nearest tenth,” “to the nearest whole unit,” or “to the nearest cent,” follow that instruction. If it gives no rounding rule, use a precision that is useful in the setting and consistent with the scale on which the response is measured. For example, reporting a predicted travel time as 18.426731 minutes is rarely useful; reporting it as about 18.4 minutes may be clearer.

There is no single number of decimal places that is correct for every regression prediction. The appropriate choice depends on the response and the purpose of the prediction. Money is often reported to the nearest cent when that level of detail is relevant. A measurement recorded to the nearest whole centimeter may call for a whole-centimeter report. A time in minutes may reasonably be reported to a tenth of a minute, or as a whole number of minutes if that is the requested precision.

Keep the unrounded calculator result while working, then round only the final value. Intermediate rounding can introduce avoidable error, especially when the slope has several decimal places or the predictor value is large. If a calculator returns 7.1132 and the question asks for the nearest tenth, report 7.1—not a result calculated by first rounding the slope or product.

Rounding guideline: Follow any rounding instruction in the question. Otherwise, report enough digits to be useful in context without implying unjustified precision. Keep calculator precision through the calculation and round the final prediction.

Rounding is about how the answer is written; it does not change the meaning of the fitted line. In particular, do not confuse a rounded prediction with a claim that the observed response is known to that exact value. The line predicts an average pattern for the response at the stated predictor value; an individual response may be higher or lower.

Keep Units Attached to the Right Quantities

The response \(y\) has response units, and the predicted response \(\hat{y}\) has those same units. The intercept \(a\) is measured in response units. The slope \(b\) has response units per predictor unit, as explained in “Slope Units and Rates of Change.” Multiplying the slope by a predictor value gives a quantity in response units, which can be added to the intercept.

$$ (\text{response units per predictor unit})(\text{predictor units}) =\text{response units}. $$

This units check can reveal a mistake. If a line predicts minutes from hours of practice, the prediction is in minutes, even though the input is in hours. Do not report the prediction in the predictor’s units. And do not attach the slope’s “per predictor unit” units to the final predicted response: those belong to the rate of change, not to \(\hat{y}\).

Pay attention to how the predictor is recorded. If the model uses distance in kilometers, substitute a value in kilometers. If the question gives miles instead, convert the input to kilometers before evaluating the line, or use a correctly converted model. The same principle applies when a predictor is recorded in hundreds, thousands, or another scaled unit: use the scale specified for the equation.

Worked Example: Reporting a Battery-Life Prediction

A fictional technology class models battery life using screen brightness. Let \(x\) be brightness in percentage points and \(y\) be battery life in hours. The fitted line is \(\hat{y}=9.482-0.0376x\). Predict battery life at a brightness setting of 63 percentage points, and report the answer to the nearest tenth of an hour.

Worked Example: Reporting a Battery-Life Prediction

State. The predictor is brightness, measured in percentage points, and the response is battery life, measured in hours. The requested input is \(x=63\).

Plan. Substitute 63 into the fitted line, keep the full result during the calculation, and round the final prediction to the nearest tenth of an hour. Since the slope is in hours per percentage point, multiplying by 63 percentage points gives hours.

Do.

$$ \hat{y}=9.482-0.0376(63) =9.482-2.3688 =7.1132\text{ hours}. $$

Rounded to the nearest tenth, \(7.1132\) hours is \(7.1\) hours.

Conclude. At a brightness setting of 63 percentage points, the fitted line predicts a battery life of about 7.1 hours. This is the model’s predicted battery life, not a guarantee that a particular device will last exactly 7.1 hours.

The final number has hours as its units because battery life is the response. The input, 63 percentage points of brightness, is named in the sentence so the prediction is clear. Reporting 7.1132 hours would ignore the requested rounding; reporting 7.1 percentage points would give the predicted value the wrong units.

Worked Example: Rounding a Cost Prediction

Suppose a fictional scooter-rental class fits a line to predict a ride’s cost from its duration. Let \(x\) be ride duration in hours and \(y\) be cost in dollars. The fitted line is \(\hat{y}=2.50+1.85x\). Find and report the predicted cost for a ride lasting 3.75 hours, to the nearest cent.

Worked Example: Rounding a Cost Prediction

State. Ride duration is the predictor, in hours, and ride cost is the response, in dollars. We need the predicted cost when \(x=3.75\) hours.

Plan. Evaluate \(\hat{y}=2.50+1.85x\). The slope has units of dollars per hour, so its product with the duration is in dollars. Keep the full product until the final result, then round to the nearest cent.

Do.

$$ \hat{y}=2.50+1.85(3.75) =2.50+6.9375 =9.4375\text{ dollars}. $$

To the nearest cent, \(9.4375\) dollars rounds to \(9.44\) dollars.

Conclude. For a 3.75-hour ride, the fitted line predicts a cost of about $9.44. The predicted response is a cost in dollars; 3.75 hours is the predictor value, not the answer.

This example also shows why the product should not be rounded prematurely. Rounding \(6.9375\) to \(6.94\) before adding happens to give the same final cent here, but that is not a reliable general strategy. Carry the available precision through the calculation, then round once at the end.

Write the Prediction in Context

A complete prediction sentence tells the reader what the input was and what response the line predicts. A useful pattern is: “For [predictor value and units], the fitted line predicts [rounded response and units].” Use “predicts,” “estimated,” or “about” when those words help make clear that the number is a model-based prediction rather than a guaranteed observation.

Avoid a bare number such as “10.0,” because the reader cannot tell what it measures or which predictor value produced it. Avoid saying “the response is exactly 10.0,” because the fitted line supplies a prediction, not certainty about the actual response. As covered in “Prediction Versus Observed Values,” the observed response for an individual can differ from its predicted response.

Worked Example: Predicting a Wait at a Community Event

A fictional community-event team models the average wait at an entrance using the number of visitors arriving in a short period. Let \(x\) be arrivals in thousands of visitors and \(y\) be wait time in minutes. The fitted line is \(\hat{y}=4.73+0.82x\). Predict the wait when 6.4 thousand visitors arrive, and report the result to the nearest tenth of a minute.

Worked Example: Predicting a Wait at a Community Event

State. The predictor is arrivals, measured in thousands of visitors, and the response is wait time, measured in minutes. The supplied predictor value is \(x=6.4\), meaning 6.4 thousand visitors.

Plan. Substitute 6.4—not 6,400—because the model’s predictor is recorded in thousands. The slope has units of minutes per thousand visitors. Evaluate the line and round the final predicted wait to the nearest tenth of a minute.

Do.

$$ \hat{y}=4.73+0.82(6.4) =4.73+5.248 =9.978\text{ minutes}. $$

Rounded to the nearest tenth, \(9.978\) minutes is \(10.0\) minutes.

Conclude. When 6.4 thousand visitors arrive, the fitted line predicts a wait of about 10.0 minutes. The predicted response is wait time in minutes; the predictor is the number of arrivals in thousands.

The scale used for \(x\) matters. Substituting 6,400 would treat the model as though its predictor were individual visitors, producing a very different result. Naming “6.4 thousand visitors” in the conclusion makes the scale explicit and ties the prediction to the situation.

A Quick Check Before You Report

Before writing a final prediction, read the question once more and check the input, output, rounding, and sentence. The sequence below is useful whether you evaluated the line by hand or used a calculator.

1
Check the predictor value and scale.
Confirm that the value is in the units used to fit the line, including any scaling such as thousands or hundreds.
2
Evaluate without early rounding.
Substitute the input into \(\hat{y}=a+bx\), keeping the available precision through the calculation.
3
Round the final result sensibly.
Follow the stated precision or choose one appropriate to the response and context.
4
Label and interpret the prediction.
Use response units and write a sentence naming the predictor value and the response the line predicts.

Common Mistakes and AP Exam Tips

  • Reporting every calculator digit. A display with many digits does not mean the prediction is that precise. Follow the question’s rounding instruction; otherwise, choose a useful precision for the context.
  • Rounding too early. Rounding the slope or product before finishing can alter the result. Keep full available calculator precision and round the final prediction once.
  • Using predictor units on the answer. The prediction is \(\hat{y}\), so it has the response units. Check the variable roles before attaching units.
  • Ignoring a scaled predictor. If \(x\) is measured in thousands, enter the number of thousands. Do not enter the unscaled count unless the equation uses individual units.
  • Giving only a number. A full-credit response identifies the predictor value and predicted response in context, with response units and sensible rounding.
  • Calling a prediction exact or guaranteed. Say that the line predicts or estimates the response. Do not claim that a particular individual’s observed response must equal the prediction.

A strong AP-style response makes the calculation traceable and the conclusion meaningful: show the substitution, give a sensibly rounded result, attach the response units, and state what predictor value it corresponds to. The result is a prediction from the fitted line, not a promise about an individual outcome.

Key takeaway: Evaluate the fitted line using the predictor value in the model’s units, keep precision until the final calculation, and report a sensibly rounded predicted response with its response units and context.

Check Your Understanding

For each question, show the substitution, round as requested, and write the prediction with the correct units and context.

  1. A line predicts plant height in centimeters from days after planting: \(\hat{y}=3.6+1.28x\). Predict height at 14 days to the nearest whole centimeter.
  2. A model predicts delivery cost in dollars from distance in kilometers: \(\hat{y}=4.25+0.92x\). Find the prediction for 8.5 kilometers and report it to the nearest cent.
  3. A fitted line predicts cooling time in minutes from liquid volume in hundreds of milliliters: \(\hat{y}=6.4+2.15x\). What does \(x=3.2\) represent? Calculate and report the predicted time to the nearest tenth of a minute.
  4. In a model predicting walking time in minutes from route length in kilometers, why should a prediction be labeled in minutes rather than kilometers?
  5. A calculator displays a prediction of 12.63841 hours, and the question asks for the nearest tenth. What should be reported, and why should the calculator digits not all be included?