Exam practice
Every question from the end of every unit, with hints and answers to open. After you check an answer, mark how you did, and come back to the ones you didn’t get.
5 questions
Unit 10 · Correlation and Regression
Printable PDFs
- Study notes 2 pages
- Worksheet 4 pages Answer key
- Harder practice questions 2 pages Answer key
Short questions
Seven students’ hours of study in a week (x) and their marks out of 20 in a test (y):
| x | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| y | 9 | 8 | 10 | 12 | 11 | 13 | 14 |
- a.Find Karl Pearson’s correlation coefficient. (3 marks)
- b.Interpret it, and say whether it shows that study raises marks. (2 marks)
Answer
a. x = 4, . With X = x − 4, Y = y − 11: X = −3, −2, −1, 0, 1, 2, 3; Y = −2, −3, −1, 1, 0, 2, 3.
, , .
.
b. A high positive correlation: students who studied more scored more, nearly in a straight line. It doesn’t prove that study caused the marks; keen students may both study more and do better for other reasons. (Here we would expect much of it to be cause, but the number alone can’t say.)
| x | 4 | 6 | 8 | 10 | 12 |
|---|---|---|---|---|---|
| y | 20 | 17 | 13 | 12 | 8 |
- a.Find the regression line of y on x, and estimate y when x = 7. (3 marks)
- b.Find the regression line of x on y. (2 marks)
Answer
x = 8, y = 14. X = −4, −2, 0, 2, 4; Y = 6, 3, −1, −2, −6.
, , .
- a.: y − 14 = −1.45(x − 8), y = 25.6 − 1.45x. At x = 7: y = 25.6 − 10.15 = 15.45.
- b.: x − 8 = −0.674(y − 14), x = 17.44 − 0.674y.
Eight students’ marks in Mathematics and English:
| Student | A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|---|
| Mathematics | 78 | 65 | 92 | 55 | 70 | 84 | 48 | 60 |
| English | 70 | 72 | 81 | 50 | 58 | 76 | 45 | 63 |
Find the rank correlation coefficient and interpret it. (5 marks)
Hint
Rank each subject from the highest mark (1) down.
Answer
Ranks in Mathematics (A to H): 3, 5, 1, 7, 4, 2, 8, 6. In English: 4, 3, 1, 7, 6, 2, 8, 5.
d = −1, 2, 0, 0, −2, 0, 0, 1; .
.
A high positive correlation: students placed high in one subject are mostly placed high in the other.
- a.From and , show that , and that , and r have the same sign. (2 marks)
- b.The two regression lines of some data are 8x − 10y + 66 = 0 and 40x − 18y = 214. Find x, y and r. (3 marks)
Hint
b. Take each line in turn as y on x and check which way gives .
Answer
- a.. Since , each coefficient is r times a positive number, so it has the sign of r. ✓
- b.The means are on both lines: 8x − 10y = −66 and 40x − 18y = 214. Five times the first, 40x − 50y = −330, from the second: 32y = 544, y = 17, and 8x = 170 − 66 = 104, x = 13.
Take 8x − 10y + 66 = 0 as y on x: y = 0.8x + 6.6, ; and 40x − 18y = 214 as x on y: x = 0.45y + 5.35, . , so this way round is right and r = 0.6. (The other way gives , , product 2.78 > 1: impossible.)
Long question
Five more of DHM’s stations, height x in hundreds of meters (to the nearest 100 m) and the average year’s temperature y in °C:
| Station | Simara | Nepalgunj | Dhankuta | Kathmandu | Taplejung |
|---|---|---|---|---|---|
| x | 1 | 2 | 12 | 13 | 17 |
| y | 24.4 | 24.6 | 19.9 | 19.3 | 16.8 |
- a.Draw a scatter diagram and say what kind of correlation it shows. (1 mark)
- b.Find Karl Pearson’s correlation coefficient. (3 marks)
- c.Find the regression line of y on x, and estimate the average temperature at 1,000 m. (2 marks)
- d.Find the regression line of x on y, and estimate the height where the average year is 20 °C. Why is this not found from the line in c? (2 marks)
Answer
- a.The points fall from top left to bottom right, close to a line: a high negative correlation.
- b.x = 9, y = 21. X = −8, −7, 3, 4, 8; Y = 3.4, 3.6, −1.1, −1.7, −4.2.
, , .
.
- c.: y − 21 = −0.4757(x − 9), y = 25.28 − 0.4757x. At x = 10: y = 21 − 0.4757 = 20.52 °C.
- d.: x − 9 = −2.0774(y − 21), x = 52.63 − 2.0774y. At y = 20: x = 9 + 2.0774 = 11.08, about 1,108 m.
The line of y on x makes the misses in y least, so it is the best line for estimating y; to estimate x the misses in x must be least, which is the other line. (Here they nearly agree, since |r| is close to 1.)
