Spearman's Rank Correlation Coefficient

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:

rs = 1 6 d2 n ( n2 1 )

Where:

Worked Example

Compare student ranks in Biology and Computer Science:

Student Biology Rank Computer Science Rank d = B - C d2
Daisy12-11
Poppy2111
Holly34-11
Sam4311
Σd2 4

Now apply the formula:

rs = 1 − [6 × 4 / 4(4² − 1)] = 1 − 24/60 = 0.6

Practice Question

Estimate Spearman's rank correlation coefficient (rounded to 2 decimal places):