Statistical Methods Atlas
Atlas › Test Association › Spearman Rank Correlation

Spearman Rank Correlation

Measures the strength of a monotonic relationship using ranks — the robust alternative to Pearson for ordinal data, outliers, or curved-but-monotonic trends.

Test AssociationBivariate also known as: Spearman's rho, ρ, rank-order correlation

✓ When to use

  • One or both variables are ordinal (single Likert items, ranks, grades).
  • Continuous data with outliers or clear non-normality.
  • The relationship looks monotonic but not linear (consistently rising, at a changing rate).

✗ When NOT to use

  • Both variables continuous, roughly normal, relation linear — Pearson uses more information.
  • Non-monotonic relationships (U-shaped) — no correlation coefficient captures these; model the curve.
  • Very small samples with many ties — consider Kendall's tau instead.
  • Truly nominal variables — use chi-square/Cramér's V.

Data requirements

Dependent / outcome variableTwo variables, each at least ordinal (symmetric measure).
Independent / grouping variable—
DesignOne sample, both variables per case, independent observations.
Sample size guidanceUsable from n ≈ 10; same power ballpark as Pearson for moderate effects.

Assumptions

Hypotheses

H₀ — No monotonic association in the population (ρs = 0).
H₁ — A monotonic association exists (ρs ≠ 0).

The concept

Spearman's rho is simply Pearson's r computed on the ranks of the data. Converting to ranks discards distances between values, which immunizes the coefficient against outliers and skew, and captures any relationship in which higher X consistently goes with higher (or lower) Y — even when the trend is curved.

Benchmarks parallel Pearson's (.10/.30/.50). With heavily tied data (short Likert scales), Kendall's tau-b handles ties more gracefully and is preferred by some journals.

Worked example

A researcher relates employees' rank in the performance league table (1–80) to a single overall-satisfaction item (1–5), n = 80.

Result: ρs = −.36, p = .001 — better-ranked (lower number) employees report higher satisfaction: a medium monotonic association.

How to run it

cor.test(df$perf_rank, df$satisfaction, method = "spearman")

# with CI via bootstrap
library(confintr)
ci_cor(df$perf_rank, df$satisfaction, method = "spearman", type = "bootstrap")

Interpreting the output

APA-style reporting

Performance rank was negatively associated with overall satisfaction, Spearman's ρ = −.36, p = .001, n = 80, indicating that higher-ranked employees tended to report greater satisfaction.

Common mistakes

Related methods

Pearson CorrelationLinear, continuous dataKendall's TauSmall n, many tiesMann–Whitney U TestRank logic for group comparison
← Pearson CorrelationKendall's Tau →