Spearman Correlation Calculator
Calculate Spearman's rank correlation coefficient
About Spearman Correlation
Spearman's rank correlation coefficient (ρ or rs) measures the strength and direction of monotonic relationships between two variables.
Formula: ρ = 1 - (6Σd²) / (n(n² - 1))
Where d is the difference between ranks and n is the sample size.
When to use:
- Data is ordinal or ranked
- Relationship is monotonic but not necessarily linear
- Data contains outliers (more robust than Pearson)
- Normality assumption is violated