1. Ranking data and finding the coefficient
Spearman's rank correlation coefficient, r_s, measures how well two sets of data agree in rank order. To rank a set, give the smallest value rank 1, the next smallest rank 2, and so on. Rank each variable separately.
If data items are equal, ranks should be averaged. Two values tied for places 3 and 4 both get rank 3.5. The next value is then rank 5.
In examinations r_s should be found using technology. r_s is the Pearson coefficient of the two lists of ranks. So enter the ranks, not the raw data, as two lists on the GDC and find their correlation coefficient. The command term *calculate* needs the ranks and the value, with the method shown.
-1 ≤ r_s ≤ 1
tied ranks: 3, 4 → 3.5, 3.5
Worked example 14 marks
Six dancers are scored out of 60 by two judges. The scores are in the table.
Calculate Spearman's rank correlation coefficient, r_s. Show the ranks you use.
| Dancer | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| Judge 1 | 12 | 15 | 15 | 9 | 20 | 18 |
| Judge 2 | 30 | 41 | 38 | 25 | 52 | 47 |
- 1
M1: rank each judge's scores separately, smallest as rank 1 [1]
- 2
A1: Judge 1 ranks 2, 3.5, 3.5, 1, 6, 5, with the tied 15s given the average rank (3+4)/2 = 3.5 [1]
- 3
A1: Judge 2 ranks 2, 4, 3, 1, 6, 5 [1]
- 4
A1: GDC with the two lists of ranks: r_s = 0.986 (3 s.f.) [1]