Lesson 4 of 6 · All lessons in this module
- Parametric vs non-parametric tests, and correlation hypotheses
- The t-test for a Pearson correlation
- Sample size, p-values and many correlations at once
- The Spearman rank correlation testVideo lesson
- Contingency tables and the chi-square test of independenceVideo lesson
- Interpreting the result: standardized residuals and mosaics
Lesson 4 of 6 · 14 min
The Spearman rank correlation test
When the data are not normal, contain outliers or are already ranks, replace each value by its rank and correlate the ranks instead.
In short
- The Spearman rank correlation is essentially the Pearson correlation calculated on ranks; it is a non-parametric measure.
- Rank each variable within its own sample, largest = 1. Tied values share the average of the ranks they occupy.
- , where is the difference in ranks for pair i.
- Like r, runs from −1 (rankings exactly reversed) to +1 (identical rankings).
- Testing: small samples need a special table of critical values; for large samples (n > 30) use the usual t-statistic with n − 2 df.
Unlock this lesson free for 7 days
Create a free account to get 7 days free: every lesson, video and flashcard, and the question bank. No card needed.