Warm-up
Three quick questions from earlier lessons.
Discover
for bags of rice (dollars, kg). What does 0.5 mean?
- Each extra kg adds 0.5 dollars to the predicted price
- Every bag costs exactly 0.5 dollars per kg
Key idea
Interpret in context, and know the limits.
Slope: the predicted change in for each one-unit increase in . Intercept: the predicted when (meaningful only if makes sense). : the fraction of the variation in explained by the linear model. Predicting outside the range of the data is extrapolation and is unreliable.
Worked example
for study hours and scores.
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: . Find .
(−0.7)².
Practice ★
- A regression has . What fraction of the variation in is explained by the linear model ()?
- A regression has . What fraction of the variation in is explained by the linear model ()?
- For trees, (feet, years). What does mean?
- For each extra year of age, the predicted height increases by 8 feet
- Every tree grows exactly 8 feet each year
- A tree of age 0 is 8 feet tall
Watch out!
Practice ★★
- A model for children aged 2 to 6 predicts height from age. Is it reasonable to use it for a 40-year-old?
- No: 40 is far outside the ages used to fit the model (extrapolation)
- Yes, if r is close to 1
- Yes: a line can be extended forever
Exit ticket
Three questions to check you have got it.
- A regression has . What fraction of the variation in is explained by the linear model ()?
- A regression has . What fraction of the variation in is explained by the linear model ()?
- A regression has . What fraction of the variation in is explained by the linear model ()?
Summary card
Interpreting regression
- Slope: predicted change per unit of .
- : share of variation explained.
- No extrapolation.
Watch out: , not , is the explained fraction.