Lesson 19 of 23 · All lessons in this module
  1. The central limit theorem
  2. The standard error of the sample meanVideo lesson
  3. Confidence intervals for the mean
  4. Value at risk: a one-sided confidence interval
  5. Populations, samples and sampling error
  6. Stratified and cluster sampling
  7. Good estimators, and the CLT across sampling designs
  8. Convenience and judgmental sampling, and choosing a method
  9. The four steps and stating the hypotheses
  10. Type I and Type II errors, significance and powerVideo lesson
  11. Critical values, p-values and the decision ruleVideo lesson
  12. p-values and p-hacking
  13. Testing a single mean
  14. Two means: independent vs paired samplesVideo lesson
  15. Testing variances: chi-square and FVideo lesson
  16. The t-test for a Pearson correlation
  17. Sample size, p-values and many correlations at once
  18. Parametric vs nonparametric tests
  19. The Spearman rank correlation testVideo lesson
  20. Contingency tables and the chi-square test of independenceVideo lesson
  21. Interpreting the result: standardized residuals and mosaics
  22. Choosing the test: four steps and a map of every test
  23. Integrated cases: testing whether a new strategy beats the old one

This lesson is part of the 2027 curriculum. You are following the 2026 curriculum, where it is not taught in this form. Switch if you are sitting the exam under the 2027 curriculum.

Lesson 19 of 23 · 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 rS r_S 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.
  • rS=1−6∑di2/[n(n2−1)] r_S = 1 - 6\sum d_i^2/[n(n^2-1)] , where di d_i is the difference in ranks for pair i.
  • Like r, rS r_S 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.