Least-Squares Regression
- Interpret the slope and y-intercept of a least-squares regression line in context
- Use a regression equation to make predictions and recognize extrapolation
- Interpret the coefficient of determination r²
The least-squares line
The least-squares regression line (LSRL) is the line that makes the sum of the squared vertical distances (residuals) from the points as small as possible. We write it y-hat = a + bx, where y-hat is the predicted response. It always passes through the point (x-bar, y-bar), the "center of mass" of the data.
Interpreting slope and intercept in context
The slope b is the predicted change in y for each one-unit increase in x — always phrased as "predicted" or "on average," never as a certainty. The y-intercept a is the predicted y when x = 0; it is only meaningful if x = 0 is realistic for the data. On the AP exam, slope and intercept interpretations earn credit only when stated in context with units.
For predicting exam score from hours studied, the LSRL is score-hat = 52 + 6·(hours). Interpret the slope, and predict the score for a student who studies 5 hours.
- 1.The slope is 6, attached to hours studied, so for each additional hour studied the predicted exam score increases by 6 points.
- 2.To predict, substitute hours = 5: score-hat = 52 + 6(5).
- 3.score-hat = 52 + 30 = 82.
A regression of a plant’s height (cm) on days since planting gives height-hat = 4 + 1.5·(days). Which is the correct interpretation of the slope?
Slope interpretations need three parts: the words "predicted" or "on average," the units of y, and the units of x. "For each additional hour, the predicted score increases by 6 points" scores; "the score goes up 6" does not.
A regression predicting monthly heating cost from outdoor temperature has r² = 0.81. What does this mean?
Answer the 2 checkpoints as you read.
Sign in to save your progress