- Introduced by
- Rand R. Wilcox and predecessors in robust statistics
- Year
- 1970s–1990s
- Type
- Robust bivariate association measure
- Family
- Classical statistics
What does it do?
The robust Pearson correlation is an outlier-resistant measure of linear association between two continuous variables.
In its Winsorized form, the extreme values of each variable are capped before a Pearson-type coefficient is computed, so the result stays on the familiar −1 to 1 scale while being less sensitive to a few extreme observations. Other variants, such as the percentage-bend correlation, use different adjustments and are not covered by the formulas given below.
The intuition behind the method
Classical Pearson r is built from means and cross-products of deviations, so a single extreme point can shift its value substantially. Robust variants first limit the influence of the most extreme values and then compute a correlation on the adjusted data. The output reads like an ordinary r, but it reflects the bulk of the data more than a handful of unusual observations. Because the adjustment changes the data before the calculation, the choice of adjustment is part of the result and should be reported.
History
The robust-estimation ideas behind these measures were developed across the 1970s–1990s, and Winsorized and trimmed correlation estimators are among the variants. Rand R. Wilcox and earlier workers in robust statistics are associated with this line of work. Wilcox's textbook on robust estimation and hypothesis testing (3rd ed., 2012) is a reference for the methods described here.
When to use it
Choose robust Pearson correlation when you want a measure of linear association and suspect that a few extreme values in one or both continuous variables could drive an ordinary Pearson r. It suits continuous data that are reasonably well behaved apart from contamination, with enough observations that trimming removes only a modest share of them. Do not use it as a default replacement for Pearson r when the data show no sign of outliers, since trimming then discards information without a benefit. It also does not address non-linear association: for monotone but curved patterns, Spearman rho or Kendall tau is usually the more natural choice.
Limitations and considerations
- Still a linear measure: the robust adjustment does not allow a curved or monotone but non-linear relationship to be captured as association.
- The trim proportion (for example 10 % or 20 % per tail) is a user choice, and different levels can give different estimates.
- Less widely built into standard software than classical Pearson r, so availability depends on the program in use; check its documentation before relying on a given function.
- When contamination is heavy or the relationship departs strongly from linearity, rank-based measures such as Spearman or Kendall may be more reliable.
- The t test assumes independent paired observations and a roughly linear association. The t approximation may be less accurate when a large share of each variable is trimmed or the sample is small, so a bootstrap check is advisable in those cases.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Limits the influence of extreme values and high-leverage points without deleting any observations, because Winsorizing caps rather than removes them.
- Keeps the −1 to 1 scale and the linear interpretation of classical Pearson r.
- Several variants, such as the Winsorized and percentage-bend forms, let the degree of resistance be matched to the kind of contamination expected.
- The t statistic gives a direct hypothesis test, and bootstrap resampling is a practical way to check the confidence interval.
Applications
- Psychology and social sciences, where self-report and behavioral data frequently contain outliers from extreme responders.
- Medical and clinical research, where physiological measurements may include recording errors or pathological extremes.
- Economics and finance, where heavy-tailed distributions make classical correlation unreliable.
- Educational assessment studies correlating test scores across heterogeneous populations.
- Environmental science, where sensor data can include equipment-generated outliers.
How it works
How it works
Each variable is Winsorized at a trim proportion g/n, commonly 10–20 %. Values below the order statistic x_(g+1) are raised to that value, and values above x_(n−g) are lowered to it. Extreme values are capped rather than deleted, so the sample size is preserved while their leverage is limited.
Formula
X_{w,i} = \max(x_{(g+1)},\, \min(x_i,\, x_{(n-g)}))The correlation is then computed with the classical formula (summed cross-products of deviations divided by the square root of the product of the summed squared deviations), but applied to the Winsorized values and their Winsorized means. The result is bounded between −1 and 1.
Formula
r_w = \frac{\sum_{i=1}^n (X_{w,i}-\bar{X}_w)(Y_{w,i}-\bar{Y}_w)}{\sqrt{\sum_i(X_{w,i}-\bar{X}_w)^2 \sum_i(Y_{w,i}-\bar{Y}_w)^2}}The t statistic tests the null hypothesis that the population robust correlation is zero. Here h is the number of observations replaced in each tail. The winsorizing step replaces g values at each end, so h equals the same g used there, and the formula uses n − 2h − 2 in place of the usual n − 2. The formula is applied in exactly this form. Under the null hypothesis the statistic is approximately t-distributed, which gives the p-value.
Formula
t = \frac{r_w \sqrt{n - 2h - 2}}{\sqrt{1 - r_w^2}}If the two-tailed p-value is below the chosen significance level α (typically 0.05), the null hypothesis of no linear association is rejected. Read the size of r on its own −1 to 1 scale and in the context of the field, because a statistically significant r can still be small in practical terms. Report the point estimate together with a bootstrap confidence interval, the variant used, and the trim proportion, since the interval shows how precisely the association is estimated.
Formula
\text{reject } H_0: \rho = 0 \text{ if } p < \alphaCommon pitfalls
- Using a high trim proportion on clean data, which reduces the information used without a corresponding gain in resistance.
- Reporting robust r without specifying which variant and trim level was used, making results unreproducible.
- Interpreting a non-significant result as evidence of no association when the sample is small, because the trimmed estimate then rests on few observations and the test has limited power.
- Using robust correlation when the real goal is detecting any monotone association, for which rank-based methods are more appropriate.
Frequently asked questions
How does the Winsorized correlation differ from simply removing outliers?
Instead of deleting extreme values, which changes the sample size and can introduce bias, Winsorizing replaces them with the nearest non-extreme value. This retains all observations in the computation while preventing the extremes from exerting disproportionate influence.
Which robust variant should I choose?
Variants such as the Winsorized and percentage-bend correlations use different adjustments, so they can give different results. Choose the variant according to the kind of contamination you expect, and report the variant and the trim level used.
Does robust Pearson correlation replace Spearman rho?
Not necessarily. Spearman rho is rank-based and handles any monotone relationship, not just linear ones, which makes it more broadly applicable. Robust Pearson r is preferable when you specifically want a measure of linear association that resists outliers and you need the linear interpretation of r.
What software can I use?
Built-in support differs across statistical programs, so check the documentation of your own software before relying on a specific function. The calculation can also be run in the StatWise toolkit.
How do I choose the trim proportion?
A trim proportion of 0.10 to 0.20 (10–20 % per tail) is the range usually described for behavioral research. Lower values give little resistance; higher values discard more information from clean samples. The chosen value should be justified and reported.
Related methods
Sources
Wilcox, R. R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Academic Press.
ISBN: 978-0123869838Shevlyakov, G. L., & Oja, H. (2011). Robust Correlation: Theory and Applications. Wiley.
ISBN: 978-1118493458