Leaving Certificate Mathematics11.10 Correlation and regression

All books

11.10 Correlation and regression — Practise with help

Warm-up: remember

  1. Find the mean of 11, 22, 33, 44 and 55.
  2. Substitute x=4x = 4 into y=10−2xy = 10 - 2x.
Answers and feedback
  1. The sum is 1515 over 55 values, so the mean is 33.
  2. y=10−2(4)=2y = 10 - 2(4) = 2.

Substituting into a line is exactly what a prediction does: the line gives a value of yy for a chosen xx.

Practise with help

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. The correlation coefficient is r=0.9r = 0.9. Describe the correlation.

Hint

Is rr positive or negative, and is it close to 11 or close to 00?

Next step

The sign gives the direction and the size gives the strength.

Full working

r=0.9r = 0.9 is positive and close to 11, so the correlation is strong and positive. As xx increases, yy tends to increase, and the points lie close to a straight line.

2. For the same pairs, the least-squares line is y=1.3+0.9xy = 1.3 + 0.9x. State the gradient and the intercept.

Hint

The line is written y=a+bxy = a + bx.

Next step

Match aa and bb to the numbers.

Full working

The intercept is a=1.3a = 1.3 and the gradient is b=0.9b = 0.9. The gradient says that each extra unit of xx is associated with about 0.90.9 more of yy.

3. Use the line y=1.3+0.9xy = 1.3 + 0.9x to predict yy when x=6x = 6.

Hint

Substitute x=6x = 6 into the line.

Next step y=1.3+0.9(6)y = 1.3 + 0.9(6)
Full working y=1.3+5.4=6.7y = 1.3 + 5.4 = 6.7

The prediction is 6.76.7. The value x=6x = 6 is just outside the data range 11 to 55, so the prediction is a short extrapolation and should be treated with care.

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. The correlation coefficient is about r=−0.99r = -0.99. Describe the correlation.

Hint

The sign is negative and the size is close to 11.

Next step

Negative means one variable falls as the other rises.

Full working

r=−0.99r = -0.99 is close to −1-1, so the correlation is very strong and negative. As xx increases, yy decreases, and the points lie very close to a straight line.

5. A study finds r=−0.92r = -0.92 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 r=0.97r = 0.97 and a line close to y=3.9+0.91xy = 3.9 + 0.91x. For the referendum in the chapter problem, the poll was 52%52\% and the result was 48%48\%. Use the line to predict the result when the poll is 52%52\%, and say whether the actual result is above or below the line.

Hint

Substitute x=52x = 52 into the line.

Next step y=3.9+0.91(52)y = 3.9 + 0.91(52)
Full working y=3.9+47.3=51.2y = 3.9 + 47.3 = 51.2

The line predicts about 51.2%51.2\%. The actual result was 48%48\%, 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 (1,2)(1, 2) and (3,8)(3, 8).

Hint

Gradient is the change in yy divided by the change in xx.

Next step 8−23−1\frac{8 - 2}{3 - 1}
Full working 8−23−1=62=3\frac{8 - 2}{3 - 1} = \frac{6}{2} = 3

The gradient of a line is the same idea as the gradient of a regression line: how much yy changes when xx increases by 11.

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.