A product team wants to correlate customers' satisfaction rating (1–5 stars) with their number of support contacts last quarter. What are the requirements for using Spearman's rank correlation here?
Show the answer and explanation
Correct answer: A, Paired observations from independent customers, both variables at least ordinal and a monotonic relationship; because ρ only uses the ranks, normality and linearity are not needed.
Explanation Correlation
Spearman's ρ is Pearson's correlation computed on the ranks of the two variables. Because only the order of the values matters, its requirements are light:
- Paired observations: each customer contributes one (rating, contacts) pair.
- At least ordinal data on both variables: star ratings qualify, and so do counts and continuous values.
- A monotonic relationship: y tends to move in one direction as x increases, not necessarily along a straight line.
- Independent pairs: one row per customer, no repeated measurements of the same person.
No normality, no linearity and no equal-interval scale are needed. Ties are allowed: tied values receive the average of their ranks (Kendall's τ-b is a good alternative when ties are very frequent).
| Pearson r | Spearman ρ | Kendall τ | |
|---|---|---|---|
| Level of measurement | interval / ratio | ordinal or higher | ordinal or higher |
| Relationship captured | linear | monotonic | monotonic |
| Outliers | sensitive | robust | robust |
| Normality | only for its classic test | not needed | not needed |
Why the distractors fail: interval data, linearity and bivariate normality are Pearson's conditions, and Spearman is Pearson on ranks, not on z-scores (z-scoring does not change Pearson at all). Ties do not block Spearman. Comparing two independent groups by ranks is what the Mann–Whitney U test does; a correlation always needs paired data.
Interview tip: answer with the checklist "paired, ordinal or higher, monotonic, independent pairs" and add that a scatter plot is the first check for monotonicity.