Lesson 2: The line from summary statistics
The least-squares line from summary statistics
SkillThe line from summary statistics
Worked example
A study of 120 Queensland Year 12 students recorded each student's arm span and height. The summary statistics are:
| Mean | Standard deviation | |
|---|---|---|
| Arm span, (cm) | 172.4 | 9.6 |
| Height, (cm) | 171.0 | 9.1 |
and . Determine the equation of the least-squares line for predicting height from arm span, with coefficients correct to two decimal places.
Step 1: Find the slope
The formula book rule. goes on top because (height) is the response variable.
Step 2: Find the intercept with the unrounded slope
The slope is multiplied by 172.4, so rounding it to 0.87 first would give , which is wrong to two decimal places.
Step 3: Write the equation
Answer
(both in cm).
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
, with the response variable's standard deviation on top.
, using the unrounded slope.
Round at the end and write the equation in context.
Watch out for
Using instead of .
Rounding the slope before calculating the intercept.