This course has been archived. The College Board updated AP Statistics for the 2026–27 school year, and the units and topics changed.
Go to the new AP® Statistics
6m left·0%
Reading Time: 6 min
Last Updated: February 9, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: February 9, 2026
Main Ideas: 5

Topic 2.6 Notes – Linear Regression Models

Read aloud
Linear regression models let you use one quantitative variable to predict another. In AP Stats, this means writing and using the least squares regression line (LSRL) to calculate predicted values. This topic focuses on what the regression equation represents and how to use it correctly, especially when predicting within or beyond the data range.

1. What a Linear Regression Model Is

When two quantitative variables have a roughly linear relationship, we model that pattern with a simple linear regression model.

The model is the least squares regression line (LSRL):

y^=a+bx \hat{y} = a + bx

Here’s what each piece means:

  • xx = explanatory variable (the input you choose or observe)
  • y^\hat{y} = predicted value of the response variable
  • aa = y-intercept (predicted value of yy when x=0x = 0)
  • bb = slope (predicted change in yy for a 1-unit increase in xx)

This line is called least squares because it minimizes the sum of the squared residuals, where a residual is:

residual=y−y^ \text{residual} = y - \hat{y}

Quick reminder from earlier:

  • Correlation (r) tells you strength and direction.
  • Regression gives you an actual prediction equation.

Correlation describes. Regression predicts.

2. Interpreting the Slope and Intercept

Before calculating anything, you need to understand what the numbers mean in context. That’s where points are earned or lost.

Slope bb

Interpret it like this:

For each 1-unit increase in xx, the predicted value of yy changes by bb units.

Be specific:

  • Include units of x
  • Include units of y
  • Say whether it increases or decreases

If b=−2.3b = -2.3, that means predicted yy decreases by 2.3 units for each 1-unit increase in xx.

On free response, a complete answer sounds like:

For each additional hour of exercise per week, the predicted resting heart rate decreases by 2.3 beats per minute.

No units = lost points.

Y-Intercept aa

Interpretation:

When x=0x = 0, the predicted value of yy is aa.

But here’s the catch: this only matters if x=0x = 0 makes sense.

If your data is about house sizes from 1200 to 3000 square feet, then interpreting price at 0 square feet is meaningless. You’re allowed to say:

Since 0 square feet is outside the scope of realistic house sizes, the intercept has no practical meaning.

That earns credit.

3. How to Calculate a Predicted Value

This is the core skill of this topic.

Suppose the regression equation is:

y^=5.2+1.8x \hat{y} = 5.2 + 1.8x

You’re asked to predict when x=7x = 7.

Step-by-step

  1. Substitute 7 for xx:

    y^=5.2+1.8(7) \hat{y} = 5.2 + 1.8(7)

  2. Multiply:

    y^=5.2+12.6 \hat{y} = 5.2 + 12.6

  3. Add:

    y^=17.8 \hat{y} = 17.8

Now state it properly:

The predicted value of the response variable for x=7x = 7 is 17.8 units.

Notice:

  • This is y^\hat{y}, not an actual observed value.
  • You must include context and units on the AP exam.
  • Keep full precision until the final answer.

Students often forget to label it as predicted. The model gives an estimate, not certainty.

4. Interpolation vs Extrapolation

Regression works best within the range of observed x-values.

Interpolation

Predicting for an xx-value inside the data range.

Example: If your data covers study times from 2 to 15 hours, predicting at 10 hours is interpolation. This is generally reasonable.

Extrapolation

Predicting for an xx-value outside the data range.

If that same dataset is used to predict at 30 hours, that’s extrapolation.

Why it’s risky:

  • The linear pattern may not continue.
  • Predictions can become unrealistic.
  • The further outside the range, the less reliable it becomes.

On AP free response, you must explicitly say:

This prediction is an extrapolation because the x-value is outside the range of observed data, so it may not be reliable.

If you don’t say it, you won’t get full credit.

5. Common Mistakes to Avoid

  • Confusing yy and y^\hat{y}. Regression predicts y^\hat{y}.
  • Forgetting units in slope interpretation.
  • Interpreting the intercept when x=0x = 0 isn’t realistic.
  • Extrapolating without explaining why it’s unreliable.
  • Assuming regression implies causation. Unless it’s a randomized experiment, it only shows association.

Key Takeaways

The regression model is y^=a+bx\hat{y} = a + bx, and it predicts the response variable from the explanatory variable.
The slope bb is the predicted change in yy for a 1-unit increase in xx, stated with units and direction.
The intercept aa only has meaning if x=0x = 0 makes sense in context.
Predictions inside the data range are interpolation; outside the range are extrapolation and are less reliable.
Always report predicted values as y^\hat{y} and interpret everything in real-world context.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining