Spearman’s rank correlation coefficient, , is generally more resistant to outliers than Pearson’s product-moment correlation coefficient, . This is because Spearman’s coefficient uses the ranks of observations rather than their original numerical values.
Why Spearman’s Coefficient Is More Resistant
To calculate , each value is replaced by its position in an ordered list. Therefore, an extremely large observation usually changes ranks by only a limited amount.
For example, suppose the largest value in a data set changes from to . It remains ranked first, so its effect on may be very small. However, Pearson’s uses the actual distances of points from the means, so the value can substantially change the coefficient.
| Coefficient | Effect of outliers |
|---|---|
| Spearman’s | More resistant because it uses ranks; measures the strength and direction of a monotonic relationship. |
| Pearson’s | More sensitive because it uses the original numerical values; measures the strength and direction of a linear relationship. |
A monotonic relationship consistently increases or consistently decreases, but it does not have to follow a straight line. This means may be more appropriate when the scatter plot shows a curved but consistently increasing or decreasing pattern.
The common misconception is that Spearman’s coefficient is completely unaffected by outliers. It is only more resistant, not immune: an outlier can still change the ordering of several observations and therefore alter .
IB Exam Technique
This is assessed in SL 4.10: Spearman’s rank correlation coefficient. If asked which coefficient is more appropriate when outliers are present, identify and justify the choice by stating that ranks reduce the influence of extreme numerical values. Also inspect the scatter plot: use Pearson’s for linear association and Spearman’s for monotonic association, rather than choosing solely because an outlier exists.
