Spearman Rank Correlation#
The Spearman rank correlation (also: Spearman's rho, ) is a non-parametric measure of the strength and direction of the monotonic relationship between two variables. Instead of raw values, the ranks of the observations are used.
When to Use#
Use the Spearman correlation when you want to:
- Measure the monotonic relationship (not necessarily linear) between two variables
- The data are at least ordinal scaled
- The assumptions of the Pearson correlation are not met (e.g., no normal distribution)
- Outliers are present that could bias the results
Assumptions#
- Both variables are at least ordinal scaled
- Monotonic relationship between the variables (does not need to be linear)
- Independence of observation pairs
- No tied ranks β if ties are present, a correction is applied
Formula#
The Spearman rank correlation is calculated using rank differences:
where is the difference in ranks for each observation pair.
Alternatively, Spearman's can be calculated as the Pearson correlation of the ranks:
Example#
Practical Example: Customer Satisfaction and Return Intention
A market researcher investigates the relationship between customer satisfaction (Likert scale: 1β5) and return intention (Likert scale: 1β5) in a restaurant. Both variables are ordinal scaled.
- Variable X: Customer satisfaction (1 = very dissatisfied, 5 = very satisfied)
- Variable Y: Return intention (1 = very unlikely, 5 = very likely)
The Spearman correlation yields = 0.65, p < 0.001. There is a moderate to strong positive monotonic relationship: More satisfied customers show a higher intention to return.
Effect Size#
The Spearman coefficient is itself a measure of effect size and is interpreted analogously to the Pearson coefficient:
| Effect Size | || | |---|---| | Small | 0.10 | | Medium | 0.30 | | Large | 0.50 |
Advantage over Pearson: The Spearman correlation is more robust to outliers and does not require a linear relationship β a monotonic relationship is sufficient.
Further Reading
- Spearman, C. (1904). The proof and measurement of association between two things. The American Journal of Psychology, 15(1), 72β101.
- Field, A. (2018). Discovering Statistics Using IBM SPSS Statistics (5th ed.). SAGE.