Topic 2.6 Notes – Linear Regression Models
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):
Here’s what each piece means:
- = explanatory variable (the input you choose or observe)
- = predicted value of the response variable
- = y-intercept (predicted value of when )
- = slope (predicted change in for a 1-unit increase in )
This line is called least squares because it minimizes the sum of the squared residuals, where a residual is:
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
Interpret it like this:
For each 1-unit increase in , the predicted value of changes by units.
Be specific:
- Include units of x
- Include units of y
- Say whether it increases or decreases
If , that means predicted decreases by 2.3 units for each 1-unit increase in .
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
Interpretation:
When , the predicted value of is .
But here’s the catch: this only matters if 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:
You’re asked to predict when .
Step-by-step
- Substitute 7 for :
- Multiply:
- Add:
Now state it properly:
The predicted value of the response variable for is 17.8 units.
Notice:
- This is , 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 -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 -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 and . Regression predicts .
- Forgetting units in slope interpretation.
- Interpreting the intercept when 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
Simple Linear Regression Model
An equation using one explanatory variable x to predict a response variable y.
Least Squares Regression Line (LSRL)
The line that minimizes the sum of squared residuals and best fits a scatterplot.
Predicted Response Value (ŷ)
The model's estimated y-value for a given explanatory-variable value x.
Slope and Y-Intercept in a Regression Line
b is the change in predicted y per 1-unit x increase; a is predicted y when x = 0.
Regression Equation and Prediction
Use ŷ = a + bx to calculate the predicted response for a given x-value.
Interpolation and Extrapolation
Predictions within observed x-values are safer; beyond them, predictions are extrapolations and less reliable.
Notes
Simple Linear Regression Model
An equation using one explanatory variable x to predict a response variable y.
Least Squares Regression Line (LSRL)
The line that minimizes the sum of squared residuals and best fits a scatterplot.
Predicted Response Value (ŷ)
The model's estimated y-value for a given explanatory-variable value x.
Slope and Y-Intercept in a Regression Line
b is the change in predicted y per 1-unit x increase; a is predicted y when x = 0.
Regression Equation and Prediction
Use ŷ = a + bx to calculate the predicted response for a given x-value.
Interpolation and Extrapolation
Predictions within observed x-values are safer; beyond them, predictions are extrapolations and less reliable.