11.10 Correlation and regression — Practise
Work independently. The questions and answers are shown together at the end.
For each pair of variables, decide the direction before you use a formula. The correlation coefficient is a number between and , and its sign is the direction.
- The pairs , , , and are plotted. Find Pearson's correlation coefficient .
- For the pairs , , , and , find the least-squares regression line .
- The least-squares line for a data set is . Use it to predict when .
- The pairs , , , and are plotted. Find Pearson's correlation coefficient .
- For the pairs , , , and , find the least-squares regression line .
- The pairs , , and are plotted. Find Pearson's correlation coefficient .
- A study finds between weekly hours of exercise and resting heart rate. Explain what this says, and why it does not prove that exercise lowers the heart rate.
- A line of best fit is found from data with between and . Explain why a prediction at is unreliable, while a prediction at is not.
Answers and concise solutions
1. Show the answer
1. The correlation coefficient
Answer: . The points rise from left to right and lie close to a straight line, so the correlation is strong and positive.
2. Show the answer
2. The gradient and the intercept
Answer: The least-squares line is , so the gradient is and the intercept is . The gradient says that each extra unit of is associated with about more of .
3. Show the answer
3. The predicted value
Answer: . The value lies just outside the data range, so this is a short extrapolation.
4. Show the answer
4. The correlation coefficient
Answer: . The correlation is very strong and negative: as increases, decreases.
5. Show the answer
5. The gradient and the intercept
Answer: The line is , so the gradient is and the intercept is . The negative gradient matches the negative correlation.
6. Show the answer
6. The correlation coefficient
Answer: . The points lie exactly on the line , so the correlation is perfect and positive. A perfect correlation is rare in real data.
7. Show the answer
7. What the correlation says, and what it does not prove
Answer: 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. Another variable, such as diet or sleep, could drive both, and only a designed experiment can support a causal claim.
8. Show the answer
8. Why the prediction is unreliable
Answer: is far outside the range of the data, so the pattern may not continue, and the prediction is an unreliable extrapolation. lies inside the range, so it is an interpolation supported by nearby data.