Correlation vs. Causation
Also known as: correlation is not causation, spurious correlation.
Correlation means two quantities move together; causation means changing one would change the other. Data alone cannot tell which, or whether a third factor drives both.
Synthetic dataExamples on this page use synthetic data created for illustration.
Definition
Correlation means two quantities move together; causation means that changing one would change the other. Observing a correlation cannot by itself tell you which causes which, or whether a third factor drives both, so causal claims need design or assumptions beyond the data.
In plain terms
A correlation coefficient runs from −1 to +1 and measures how closely two series follow a straight-line pattern. It is a fact about the data. Causation is a claim about what would happen if we intervened. Between the two lie at least four possibilities: A causes B; B causes A (items with more reviews sell more, or items that sell more collect more reviews); a third factor causes both (Confounding); or it is coincidence, which is common in small samples and in collections of many series.
Routes towards causal knowledge: randomised experiments, natural experiments where something changed for reasons unrelated to the outcome, and explicit causal models whose assumptions can be examined and challenged.
Example
Twelve months of synthetic data: average temperature, ice-cream sales (hundreds of cones) and sunburn cases.
| Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Temperature (°C) | 5 | 6 | 10 | 14 | 18 | 22 | 25 | 24 | 19 | 14 | 8 | 5 |
| Ice cream | 10 | 17 | 16 | 32 | 35 | 43 | 58 | 49 | 38 | 31 | 21 | 10 |
| Sunburn | 3 | 2 | 4 | 6 | 7 | 9 | 10 | 12 | 9 | 7 | 4 | 0 |
Ice-cream sales and sunburn are correlated at 0.94. Once temperature is accounted for, the remaining correlation is about zero: sun drives both, and neither causes the other. Banning ice cream would not prevent sunburn.
Common misunderstandings
- “No correlation means no causal link.” A relationship can be curved, hidden by another factor, or present only in some groups.
- “Correlation is useless.” It is valuable for prediction and for finding what to investigate; it just does not establish cause.
- “A very strong correlation settles it.” Strength measures how tightly the data follow a pattern, not why.
References
- Judea Pearl, Dana Mackenzie. The Book of Why: The New Science of Cause and Effect . Basic Books, 2018. ISBN 978-0465097609.
- Miguel A. Hernán, James M. Robins. Causal Inference: What If . Chapman & Hall/CRC, 2020.