Correlation isn't causation: spurious results and multiple testing
Finance is full of striking patterns that mean nothing. Why things move together without one causing the other, with worked examples of a hidden third factor and of two trending series; why foreign flows and Indian share prices can each drive the other; how to estimate what share of 'significant' findings are false, with a calculator; how much published patterns fade once tested on new data; and the defences.
Facts reviewed Oct 2026
With enough data and enough tries, you can find a “significant” link between almost anything and share prices. In a famous joke paper, the researcher David Leinweber found a striking “result”. Butter production in Bangladesh seemed to explain most of the moves in the US S&P 500 over a decade. He made the point on purpose.
This final lesson covers why such false patterns are so common in finance, and how to protect yourself.
Why correlation isn’t causation
Correlation measures how closely two things move together. Causation means one actually makes the other happen. Two things can move together without one causing the other, for four main reasons.
1. A hidden third factor (confounding)
A confounder drives both. Ice-cream sales and drownings both rise in summer. Neither causes the other; hot weather drives both.
Worked example. A study finds that districts with more bank branches have more loan defaults. Should banks close branches to cut defaults?
| District | Bank branches | Loan defaults | Population |
|---|---|---|---|
| A | 100 | 1,000 | 10 lakh |
| B | 10 | 100 | 1 lakh |
- Raw numbers: A has 10 times the branches and 10 times the defaults. A strong correlation.
- Per lakh people: A has 10 branches and 100 defaults per lakh. B has 10 branches and 100 defaults per lakh.
- The same! The hidden factor is population. Bigger districts have more of everything.
Dividing by population removes the confounder, and the “link” vanishes.
2. Reverse causality
Sometimes the effect runs the other way. Do companies that buy back their shares do well because of buybacks? Or do companies with strong cash flows, which would have done well anyway, choose to buy back?
A real case: foreign flows and Indian shares. Market commentary often says foreign portfolio investors (FPIs) “drove” a rally, because big FPI buying came alongside rising prices. But it can run both ways. FPI buying can push prices up. Rising prices, and the strong economy behind them, can also attract FPI buying. A simple correlation between the two can’t tell you which came first. Researchers use timing tests and other methods to separate them, and even then the answer is often “a bit of both”.
3. Trending data
Two series that both grow over time will be highly correlated, even if unrelated. Think of India’s GDP and its number of mobile phone users since 2000.
Worked example. Two unrelated series, over five years:
| Year | Series X | Series Y |
|---|---|---|
| 1 | 100 | 50 |
| 2 | 110 | 52 |
| 3 | 121 | 57 |
| 4 | 133 | 58 |
| 5 | 146 | 63 |
- Correlation of the levels: about 0.98. They look almost perfectly linked.
- Year-on-year changes: X rises by 10, 11, 12, 13; Y by 2, 5, 1, 5.
- Correlation of the changes: about 0.31. Weak.
Both simply grew. Regressing one trending series on another gives spurious regressions. That’s why analysts use returns or changes, not levels. (Quantitative Finance covers this in time-series analysis.)
4. Chance
With small samples, big correlations happen by luck. Five data points can show a correlation of 0.9 between two random series.
Over 20 years, a city's number of cars and its number of bank accounts show a correlation of 0.97. What's the most likely explanation?
Both series trend upward with a growing, richer population. Correlating levels of trending series creates spurious links; changes would tell a truer story.
What share of discoveries are false?
This module’s hypothesis-testing lesson showed that testing many ideas creates false winners. Here’s the next question: of all the ideas that pass, how many are real?
Worked example. You test 100 strategies. In truth, 10% of them work. Your tests catch real effects 50% of the time (their power). And they give false positives 5% of the time.
- Strategies that really work: 10. Found: 10 × 50% = 5.
- Strategies that don’t: 90. False positives: 90 × 5% = 4.5.
- Total “discoveries”: 5 + 4.5 = 9.5.
- Share that are false: 4.5 ÷ 9.5 = about 47%.
Nearly a coin flip, even though every test used the standard 5% level. This is Bayes’ rule again, from the first lesson of this module: when true effects are rare, most “discoveries” are noise.
The defaults: 5 real discoveries and 4.5 false ones, so about 47% of 'significant' findings are false, and at least one false positive is almost certain (over 99%). Tighten the significance level to 0.5% and the false share drops to about 8%.
A quant tests 200 trading rules with no real edge, at the 5% level. About how many will look significant?
5% of 200 is 10. Without adjusting for the number of tests, about 10 worthless rules will appear to work.
How much published patterns fade
If many discoveries are false, they should weaken when tested on new data. They do.
In 2016, R. David McLean and Jeffrey Pontiff studied about 97 published patterns that seemed to predict US share returns. They compared the returns in three periods: the original study’s data, the years after that data but before publication, and the years after publication.
Worked example. A pattern earned 12% a year in the original study. Applying their average findings:
- On new data, before publication: about 26% lower, so about 12% × 0.74 = 8.9%. That drop suggests part of the original result was luck or data mining.
- After publication: about 58% lower, so about 12% × 0.42 = 5%. The extra fall suggests investors traded on the pattern once they read about it.
Either way, the backtest number was far too optimistic.
Defences
- Test out of sample. Build a strategy on one period or market, then test it on data it hasn’t seen. Results that collapse were probably mined. (Algorithmic & Systematic Trading covers backtesting.)
- Use stricter thresholds. Adjust for the number of tests, with the Bonferroni correction or a t-statistic of about 3 for new claims.
- Ask for a reason. Prefer patterns with a sensible explanation, such as a risk being rewarded or a common behavioural bias, before testing them.
- Count every try. Keep a record of everything you tested, not just the winners.
- Look for replication. Does the result hold in other countries, periods and assets?
- Be sceptical of marketing. A fund house that launches many strategies and promotes the best performers is running a multiple-testing experiment on investors.
Going further: the garden of forking paths. You don’t have to run hundreds of formal tests to fool yourself. Every choice in an analysis is a fork. Which years? Which shares? Drop March 2020 or keep it? Monthly or weekly data? A 50-day or a 200-day average? Each choice seems reasonable on its own. But if you make them after seeing the data, you’re quietly picking the path that looks best. The statisticians Andrew Gelman and Eric Loken called this the “garden of forking paths”. The fix is to decide your method before you look at the results, and write it down. In medicine, this is called pre-registration. In investing, it means writing your rules first, and judging them only on data you haven’t used.
Common mistakes
- Reading a correlation as a cause. Look for a hidden third factor, or causation running the other way.
- Correlating trending levels. Use changes or returns.
- Trusting a pattern because it’s “significant”. If true effects are rare, many significant results are false.
- Testing on the data you used to build the idea. Always keep fresh data aside.
- Expecting backtest returns in real life. Published patterns have faded by about half after publication.
Practice 1: A researcher tests 1,000 ideas, of which 5% really work, with 80% power at the 5% level. What share of discoveries are false?
- Ideas that really work: 1,000 × 5% = 50. Found: 50 × 80% = 40.
- Ideas that don’t: 950. False positives: 950 × 5% = 47.5.
- Share of discoveries that are false: 47.5 ÷ (40 + 47.5) = about 54%.
Enter 1000, 5, 80 and 5 in the calculator to check. When true effects are rare, most “discoveries” are noise.
Practice 2: Districts with more ATMs have more card frauds. District P has 500 ATMs, 2,000 frauds and 50 lakh people; District Q has 50 ATMs, 400 frauds and 5 lakh people. Do ATMs cause fraud?
- Per lakh people, P: 10 ATMs and 40 frauds.
- Per lakh people, Q: 10 ATMs and 80 frauds.
- Same ATMs per person, but Q has twice the fraud rate. So ATM numbers don’t explain the difference.
The raw link mostly reflected population. Something else, such as local fraud gangs or weaker card security, drives Q’s higher rate.
Key takeaways
- Correlation can come from a confounder, reverse causality, trending data or chance. Use per-person figures and changes, not raw levels.
- Testing many ideas guarantees false positives. The false discovery share depends on how many ideas really work, the tests’ power, and the significance level. At 10% true, 50% power and 5%, about 47% of discoveries are false.
- Published patterns faded about 26% on new data and 58% after publication (McLean and Pontiff, 2016).
- Defences: out-of-sample tests, stricter thresholds, a reason before the test, counting every try, replication, and deciding your method before you look.
Go deeper
- Tyler Vigen: spurious correlations.
- Wikipedia: the multiple comparisons problem.
- McLean and Pontiff (2016): Does academic research destroy stock return predictability?, Journal of Finance.