Spearman's Rank Correlation Coefficient (denoted as ρ or rs) is a non-parametric test that measures the strength and direction of the association between two ranked variables.
The formula is:
Where:
Compare student ranks in Biology and Computer Science:
Student | Biology Rank | Computer Science Rank | d = B - C | d2 |
---|---|---|---|---|
Daisy | 1 | 2 | -1 | 1 |
Poppy | 2 | 1 | 1 | 1 |
Holly | 3 | 4 | -1 | 1 |
Sam | 4 | 3 | 1 | 1 |
Σd2 | 4 |
Now apply the formula:
rs = 1 − [6 × 4 / 4(4² − 1)] = 1 − 24/60 = 0.6
Estimate Spearman's rank correlation coefficient (rounded to 2 decimal places):