Spearman's Rank Correlation — video lesson
Spearman's rank correlation coefficient, $r_s$, measures how well two sets of rankings agree. It is useful when data is already in ranks (such as judges' placings) or when a relationship is not linear.
Key points
- Rank each variable separately, using the same direction for both (e.g. largest $= 1$).
- For each item find $d$, the difference between its two ranks, then $d^2$.
- $r_s = 1 - \frac{6\sum d^2}{n(n^2 - 1)}$, where $n$ is the number of pairs.
- $r_s$ is between $-1$ and $1$: close to $1$ means strong agreement, close to $-1$ strong disagreement, close to $0$ no correlation.
- Check: $\sum d$ should always be $0$.