What we are solvingMarks of 8 students in two tests are given
Plot them, draw a line of best fit and read off Test 2 for Test 1 = 63
Then find Spearman's rank correlation coefficient and comment
Chapter: Statistics
Topic: scatter diagrams and rank correlation
Concept and formulasThe line of best fit is drawn by eye through the mean point
(xˉ,yˉ), with the points spread evenly on both sides
rs=1−n(n2−1)6∑d2d is the difference between the two ranks of a student; n = 8; tied marks share the average of their ranks
(a) (6 marks)Plot Test 1 on the horizontal axis and Test 2 on the vertical axis
Mean point
xˉ=8466=58.25,yˉ=8554=69.25Draw the line of best fit through (58.25, 69.25) following the trend of the points
(iii) Go up from 63 on the Test 1 axis to the line, then across to the Test 2 axis
Test 2 mark ≈ 72 (a reading between 71 and 73 is acceptable from a hand-drawn line)
(b) (6 marks)(i) Rank both tests from the highest mark (rank 1)
| Student | Test 1 | Rank | Test 2 | Rank | d | d2 |
|---|
| A | 67 | 4 | 82 | 1 | 3 | 9 |
| B | 73 | 3 | 70 | 4 | −1 | 1 |
| C | 50 | 5 | 64 | 6 | −1 | 1 |
| D | 75 | 1.5 | 78 | 3 | −1.5 | 2.25 |
| E | 42 | 7 | 52 | 8 | −1 | 1 |
| F | 44 | 6 | 64 | 6 | 0 | 0 |
| G | 75 | 1.5 | 80 | 2 | −0.5 | 0.25 |
| H | 40 | 8 | 64 | 6 | 2 | 4 |
| Total | 18.5 |
Ties: the two 75s share ranks 1 and 2, so each gets 1.5; the three 64s share ranks 5, 6, 7, so each gets 6
rs=1−8(82−1)6×18.5=1−504111rs=1−0.220=0.780(ii) The value is positive and close to 1
There is a strong positive correlation: students who scored highly in Test 1 generally scored highly in Test 2
Answer: (a)(iii) about 72 (b)
rs≈0.78, a strong positive correlation
Tip: Check that the ranks in each column add up to n(n + 1)/2 = 36