Leaving Certificate Mathematics11.10 Correlation and regression

All books

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 −1-1 and 11, and its sign is the direction.

  1. The pairs (1,2)(1, 2), (2,3)(2, 3), (3,5)(3, 5), (4,4)(4, 4) and (5,6)(5, 6) are plotted. Find Pearson's correlation coefficient rr.
  2. For the pairs (1,2)(1, 2), (2,3)(2, 3), (3,5)(3, 5), (4,4)(4, 4) and (5,6)(5, 6), find the least-squares regression line y=a+bxy = a + bx.
  3. The least-squares line for a data set is y=1.3+0.9xy = 1.3 + 0.9x. Use it to predict yy when x=6x = 6.
  4. The pairs (1,10)(1, 10), (2,9)(2, 9), (3,7)(3, 7), (4,5)(4, 5) and (5,4)(5, 4) are plotted. Find Pearson's correlation coefficient rr.
  5. For the pairs (1,10)(1, 10), (2,9)(2, 9), (3,7)(3, 7), (4,5)(4, 5) and (5,4)(5, 4), find the least-squares regression line y=a+bxy = a + bx.
  6. The pairs (1,2)(1, 2), (2,4)(2, 4), (3,6)(3, 6) and (4,8)(4, 8) are plotted. Find Pearson's correlation coefficient rr.
  7. A study finds r=−0.92r = -0.92 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.
  8. A line of best fit is found from data with xx between 11 and 88. Explain why a prediction at x=20x = 20 is unreliable, while a prediction at x=5x = 5 is not.

Answers and concise solutions

1. Show the answer

1. The correlation coefficient

Answer: r=910=0.9r = \dfrac{9}{10} = 0.9. 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 y=1.3+0.9xy = 1.3 + 0.9x, so the gradient is b=0.9b = 0.9 and the intercept is a=1.3a = 1.3. The gradient says that each extra unit of xx is associated with about 0.90.9 more of yy.

3. Show the answer

3. The predicted value

Answer: y=1.3+0.9(6)=1.3+5.4=6.7=6710y = 1.3 + 0.9(6) = 1.3 + 5.4 = 6.7 = \dfrac{67}{10}. The value x=6x = 6 lies just outside the data range, so this is a short extrapolation.

4. Show the answer

4. The correlation coefficient

Answer: r=−86565≈−0.992r = -\dfrac{8\sqrt{65}}{65} \approx -0.992. The correlation is very strong and negative: as xx increases, yy decreases.

5. Show the answer

5. The gradient and the intercept

Answer: The line is y=11.8−1.6xy = 11.8 - 1.6x, so the gradient is −85=−1.6-\dfrac{8}{5} = -1.6 and the intercept is 595=11.8\dfrac{59}{5} = 11.8. The negative gradient matches the negative correlation.

6. Show the answer

6. The correlation coefficient

Answer: r=1r = 1. The points lie exactly on the line y=2xy = 2x, 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: x=20x = 20 is far outside the range of the data, so the pattern may not continue, and the prediction is an unreliable extrapolation. x=5x = 5 lies inside the range, so it is an interpolation supported by nearby data.

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.