Concept:Spearman's rank correlation coefficient
ρ measures how closely two sets of rankings agree with each other.
Explanation:Here,
n=4 students are ranked in Mathematics and Physics.
For each student, calculate the rank difference
d=∣rx−ry∣ and then square it to obtain
d2.
The marks, ranks, and computed values are given in the table below.
| Maths mark | Rank rx | Physics mark | Rank ry | d=∣rx−ry∣ | d2 |
| 3 | 2 | 4 | 1 | 1 | 1 |
| 4 | 1 | 3 | 2 | 1 | 1 |
| 2 | 3 | 1 | 4 | 1 | 1 |
| 1 | 4 | 2 | 3 | 1 | 1 |
| Total | 4 |
Adding the
d2 column gives
∑d2=4.
Use the formula for Spearman's rank correlation coefficient.
ρ=1−n(n2−1)6∑d2Substitute
n=4 and
∑d2=4.
ρ=1−4(42−1)6×4=1−6024Since
6024=0.4, we get
ρ=1−0.4=0.6.
Answer:The rank correlation coefficient is
0.6, which is option C.