Interpreting a regression model: slope, r², extrapolation

About this lesson

Statistics (AP-aligned) › Exploring two-variable data

To save a PDF, choose “Save as PDF” in the print dialog.

Interpreting a regression model: slope, r², extrapolation

Exploring two-variable data.

Warm-up

Three quick questions from earlier lessons.

Discover

price^=2+0.5 weight\widehat{\text{price}} = 2 + 0.5\,\text{weight} for bags of rice (dollars, kg). What does 0.5 mean?

  1. Each extra kg adds 0.5 dollars to the predicted price
  2. Every bag costs exactly 0.5 dollars per kg

Key idea

Interpret in context, and know the limits.

Slope: the predicted change in yy for each one-unit increase in xx. Intercept: the predicted yy when x=0x = 0 (meaningful only if x=0x = 0 makes sense). r2r^2: the fraction of the variation in yy explained by the linear model. Predicting outside the range of the data is extrapolation and is unreliable.

Worked example

r=0.9r = 0.9 for study hours and scores.

r2=0.81r^2 = 0.81
Square r.
81% of the variation in scores is explained by the linear model on hours
Interpretation.
19% is not explained
The rest is other factors and chance.

Your turn, guided

Your turn: r=−0.7r = -0.7. Find r2r^2.

0.490.49
(−0.7)².

Practice ★

  1. A regression has r=0.2r = 0.2. What fraction of the variation in yy is explained by the linear model (r2r^2)?
  2. A regression has r=0.8r = 0.8. What fraction of the variation in yy is explained by the linear model (r2r^2)?
  1. For trees, height^=3+8 age\widehat{\text{height}} = 3 + 8\,\text{age} (feet, years). What does 88 mean?
    1. For each extra year of age, the predicted height increases by 8 feet
    2. Every tree grows exactly 8 feet each year
    3. A tree of age 0 is 8 feet tall

Watch out!

Practice ★★

  1. A model for children aged 2 to 6 predicts height from age. Is it reasonable to use it for a 40-year-old?
    1. No: 40 is far outside the ages used to fit the model (extrapolation)
    2. Yes, if r is close to 1
    3. Yes: a line can be extended forever

Exit ticket

Three questions to check you have got it.

  1. A regression has r=0.2r = 0.2. What fraction of the variation in yy is explained by the linear model (r2r^2)?
  2. A regression has r=0.8r = 0.8. What fraction of the variation in yy is explained by the linear model (r2r^2)?
  3. A regression has r=0.4r = 0.4. What fraction of the variation in yy is explained by the linear model (r2r^2)?

Summary card

Interpreting regression

  • Slope: predicted change per unit of xx.
  • r2r^2: share of variation explained.
  • No extrapolation.

Watch out: r2r^2, not rr, is the explained fraction.

CC BY-SA 4.0