Skip to main content

Prediction in AP Statistics

In AP Statistics, a prediction is the predicted response value ŷ you get by plugging an explanatory-variable value into a linear regression model ŷ = a + bx. Predictions within the data's x-range (interpolation) are more reliable than those beyond it (extrapolation).

This definition is part of Fiveable's AP Statistics review, which also has guided practice questions.

Verified for the 2027 AP Statistics exam•Last updated October 2026•Fiveable Content Team

What is Prediction?

In AP Stats, prediction has a specific job. You take a linear regression model, ŷ = a + bx, plug in a value of the explanatory variable (x), and get a predicted response value (ŷ). Here a is the y-intercept and b is the slope. The little hat on the y matters. It tells you this is the model's estimate, not an actual observed value. Think of the regression line as a machine. You feed in an x and it hands you its best guess for y.

The CED adds a reliability check. Interpolation means predicting with an x-value inside the interval of x-values used to build the line. Extrapolation means predicting with an x-value outside that interval. Extrapolated predictions are less reliable, and they get worse the further you go. The line only describes the pattern where you actually have data. Beyond that, you're assuming the pattern keeps going, and nothing guarantees it does. One more thing. You should only use a linear model if the relationship actually looks linear in the first place.

Why Prediction matters in AP® Statistics

Prediction lives in Unit 5: Regression Analysis, in Topic 5.3 Linear Regression Models. It directly supports learning objective AP Stats 5.3.A, "Calculate a predicted response value using a linear regression model," and its essential knowledge on the form ŷ = a + bx (5.3.A.2), extrapolation (5.3.A.3), and interpolation (5.3.A.4). Prediction is really the payoff of regression. Fitting a line is mostly useful because it lets you estimate y for an x you care about. It's also the first step toward residuals, which measure how far off those predictions were. That makes prediction a building block for judging whether a model is any good. For the full topic, see the "5.3 Linear Regression Models" study guide.

Keep studying AP® Statistics Unit 5

How Prediction connects across the course

Residuals (Unit 5)

A residual is just a prediction's report card. You compute it as actual y minus predicted ŷ. You can't find a residual without first making a prediction, so every residual question secretly starts with plugging into ŷ = a + bx.

Slope of a Regression Model (Unit 5)

The slope tells you how much the prediction changes when x goes up by one unit. If ŷ = 65 + 7x, each extra hour studied raises the predicted score by 7 points. Interpreting slope is really describing how predictions shift, which is why AP rubrics want the word "predicted" in your slope interpretation.

Response Variable (Unit 5)

The response variable is the thing you're predicting, and ŷ is its predicted value. Getting the roles right matters. If you swap explanatory and response, you get a different line and different predictions, so always check which variable goes on the y side.

Confidence Interval (Units 3-4)

A single ŷ is a point estimate with no margin of error attached, just like a sample mean or proportion before you build an interval around it. The interval thinking you use in Units 3 and 4 explains why some questions pair a prediction with an interval for a specific x. One number alone hides the uncertainty.

Is Prediction on the AP® Statistics exam?

Prediction shows up all over the exam, and it's a regular in FRQ Question 1, which often focuses on exploring bivariate data. Released FRQs set up regression contexts like a grocery store relating the number of customers in line to checkout time (2018 Q1), bullfrog length and mass (2022 Q1), estimating the hard-to-measure weight of tule elk (2023 Q5), and a baseball relationship tied to scoring runs (2026 Q6). In these settings you're typically asked to:

  • Calculate ŷ by substituting an x-value into the given equation, showing the substitution.
  • Interpret ŷ in context, using the word "predicted" and including units.
  • Use the prediction to find a residual (actual minus predicted).
  • Judge reliability, especially by spotting extrapolation.

Multiple-choice items love the extrapolation trap. A common setup gives you a model like ŷ = 3.2 + 1.8x built from fertilizer amounts between 5 and 15 grams, then asks about predicting for an x far outside that range. The correct answer flags extrapolation as the main concern. A high r² like 0.92 does not fix that problem. Other questions give a range like 1 to 5 study hours and ask which statement about a prediction is justified. Some go a step further and attach an interval to a prediction, as in a used-car model ŷ = 32 - 2.5x for a 6-year-old car.

Prediction vs Actual (observed) value, y

ŷ ("y-hat") is what the model predicts. y is what was actually observed. The difference between them is the residual, y - ŷ. On FRQs, writing a regression equation as "y = a + bx" instead of "ŷ = a + bx," or leaving out the word "predicted" when you interpret slope or intercept, can cost you credit. The model never claims every point lands on the line. It only gives an average-style estimate.

Key things to remember about Prediction

  • A prediction in AP Stats is the value ŷ you get by plugging an x-value into the regression equation ŷ = a + bx.

  • The hat on ŷ means it is a predicted value, not an observed one, so always write ŷ and use the word "predicted" in your interpretations.

  • Interpolation predicts within the range of x-values used to build the line and is generally reliable.

  • Extrapolation predicts beyond that range and gets less reliable the further you go, even if r² is very high.

  • Every residual depends on a prediction, because a residual is the actual y minus the predicted ŷ.

  • Only use a linear model to make predictions if the scatterplot and residuals suggest the relationship is actually linear.

Frequently asked questions about Prediction

What is a prediction in AP Statistics?

It's the predicted response value ŷ you get by substituting an explanatory-variable value into a linear regression model, ŷ = a + bx. This is the core skill in learning objective 5.3.A in Unit 5.

Does a high r² mean extrapolation is safe?

No. r² only describes how well the line fits the data you have. It says nothing about whether the pattern continues outside your x-range. A model with r² = 0.92 built on x-values from 5 to 15 can still give a wildly wrong prediction at x = 40.

What's the difference between interpolation and extrapolation?

Interpolation predicts using an x-value inside the interval of x-values used to fit the line. Extrapolation uses an x-value outside that interval. If a study-time model used 1 to 5 hours, predicting for 3 hours is interpolation and predicting for 10 hours is extrapolation.

How is a predicted value (ŷ) different from an actual value (y)?

ŷ is the model's estimate for a given x, while y is the value that was actually observed. Their difference, y - ŷ, is the residual, and a positive residual means the model underpredicted.

How do I calculate a predicted value on the AP Stats exam?

Substitute the x-value into the equation and show your work. For example, with ŷ = 32 - 2.5x for a 6-year-old car, ŷ = 32 - 2.5(6) = 17, so the predicted price is $17,000 since y is in thousands of dollars. Then state it in context with units.