11.10 Correlation and regression — Practise with help
Warm-up: remember
- Find the mean of , , , and .
- Substitute into .
Answers and feedback
- The sum is over values, so the mean is .
- .
Substituting into a line is exactly what a prediction does: the line gives a value of for a chosen .
Practise with help
1. The pairs , , , and are plotted. The correlation coefficient is . Describe the correlation.
Hint
Is positive or negative, and is it close to or close to ?
Next step
The sign gives the direction and the size gives the strength.
Full working
is positive and close to , so the correlation is strong and positive. As increases, tends to increase, and the points lie close to a straight line.
2. For the same pairs, the least-squares line is . State the gradient and the intercept.
Hint
The line is written .
Next step
Match and to the numbers.
Full working
The intercept is and the gradient is . The gradient says that each extra unit of is associated with about more of .
3. Use the line to predict when .
Hint
Substitute into the line.
Next step
Full working
The prediction is . The value is just outside the data range to , so the prediction is a short extrapolation and should be treated with care.
4. The pairs , , , and are plotted. The correlation coefficient is about . Describe the correlation.
Hint
The sign is negative and the size is close to .
Next step
Negative means one variable falls as the other rises.
Full working
is close to , so the correlation is very strong and negative. As increases, decreases, and the points lie very close to a straight line.
5. A study finds between the number of hours of exercise each week and the resting heart rate. Explain what this says, and why it does not prove that exercise lowers the heart rate.
Hint
Describe the direction and strength first.
Next step
Then think of another variable that could explain both.
Full working
The correlation is strong and negative: people who exercise more tend to have a lower resting heart rate. It does not prove that exercise causes the lower rate. People who exercise may also eat better or sleep more, and any of those could be the cause. Only a designed experiment with random allocation can support a causal claim.
6. Back to the chapter problem. The scatterplot of poll result against actual result for eight referendums has and a line close to . For the referendum in the chapter problem, the poll was and the result was . Use the line to predict the result when the poll is , and say whether the actual result is above or below the line.
Hint
Substitute into the line.
Next step
Full working
The line predicts about . The actual result was , which is about three points below the line. This is the poll that got it wrong, and it is one point among eight.
A question from Chapter 13
7. Find the gradient of the line through and .
Hint
Gradient is the change in divided by the change in .
Next step
Full working
The gradient of a line is the same idea as the gradient of a regression line: how much changes when increases by .