Spurious correlation is a term coined by Karl Pearson to describe the correlation between ratios of absolute measurements that arises as a consequence of using ratios, rather than because of any actual correlations between the measurements.
The phenomenon of spurious correlation is one of the main motives for the field of compositional data analysis which deals with the analysis of variables that carry only relative information, such as proportions, percentages and parts-per-million.
Illustration of spurious correlation
Pearson states a simple example of spurious correlation:
Select three numbers within certain ranges at random, say x, y, z, these will be pair and pair uncorrelated. Form the proper fractions x/y and z/y for each triplet, and correlation will be found between these indices.
The upper scatter plot on the right illustrates this example using 500 observations of x, y, and z. Variables x, y and z are drawn from normal distributions with means 10, 10, and 30, respectively, and standard deviations 1, 1, and 3 respectively, i.e.,
Even though x, y, and z are statistically independent (i.e., pairwise uncorrelated), the ratios x/z and y/z have a sample correlation of 0.53. This is because of the common divisor (z) and can be better understood if we colour the points in the scatter plot by the z-value. Trios of (x, y, z) with relatively large z values tend to appear in the bottom left of the plot; trios with relatively small z values tend to appear in the top right.
Approximate amount of spurious correlation
Pearson derived an approximation of the correlation that would be observed between two indices ( and ), i.e., ratios of the absolute measurements :
This expression can be simplified for situations where there is a common divisor by setting , and are uncorrelated, giving the spurious correlation:
For the special case in which all coefficients of variation are equal (as is the case in the illustrations at right),
Relevance to biology and other sciences
Pearson was joined by Sir Francis Galton and Walter Frank Raphael Weldon in cautioning scientists to be wary of spurious correlation, especially in biology where it is common to scale or normalize measurements by dividing them by a particular variable or total. The danger he saw was that conclusions would be drawn from correlations that are artifacts of the analysis method, rather than actual “organic” relationships.
However, it would appear that spurious correlation (and its potential to mislead) is not yet widely understood. In 1986 John Aitchison, who pioneered the log-ratio approach to compositional data analysis wrote:
It seems surprising that the warnings of three such eminent statistician-scientists as Pearson, Galton and Weldon should have largely gone unheeded for so long: even today uncritical applications of inappropriate statistical methods to compositional data with consequent dubious inferences are regularly reported.
- Pearson, Karl (1897). "Mathematical Contributions to the Theory of Evolution—On a Form of Spurious Correlation Which May Arise When Indices Are Used in the Measurement of Organs". Proceedings of the Royal Society of London. 60: 489–498. doi:10.1098/rspl.1896.0076.
- Aitchison, John (1986). The statistical analysis of compositional data. Chapman & Hall. ISBN 0-412-28060-4.
- Pawlowsky-Glahn, Vera; Buccianti, Antonella, eds. (2011). Compositional Data Analysis: Theory and Applications. Wiley. ISBN 9780470711354.
- Lovell, David; Müller, Warren; Taylor, Jen; Zwart, Alec; Helliwell, Chris (2011). "Chapter 14: Proportions, Percentages, PPM: Do the Molecular Biosciences Treat Compositional Data Right?". In Pawlowsky-Glahn, Vera; Buccianti, Antonella. Compositional Data Analysis: Theory and Applications. Wiley. ISBN 9780470711354.
- Lovell, David; Pawlowsky-Glahn, Vera; Egozcue, Juan José; Marguerat, Samuel; Bähler, Jürg (16 March 2015). "Proportionality: A Valid Alternative to Correlation for Relative Data". PLoS Computational Biology. doi:10.1371/journal.pcbi.1004075.