Stockertim Dictionary · Technology · Investing
Data mining
Also called data-mining bias
In short
In investing, searching many rules, filters or variables and keeping those that worked in the past, which can make chance results look like real effects when only the winners are reported.
- Intermediate
- Concept
- Checked
In detail
In computing, data mining simply means finding patterns in large datasets, a neutral and often valuable activity. In investment research the phrase usually carries a warning. With enough historical data and enough candidate rules, some rules perform brilliantly purely by luck. Test a thousand trading signals and dozens will look significant at conventional thresholds even if none has any real power.
The danger grows quietly. Researchers try different time windows, thresholds, sectors and combinations, discard the failures and remember the successes. Each choice seems harmless, but together they amount to a very large number of tests. Publishing or marketing only the best backtest then presents a result shaped by selection rather than by a lasting effect, and live performance tends to disappoint.
Defences include fixing the hypothesis before looking at the data, counting every variant tried, raising the significance threshold to match the number of tests, keeping a final out-of-sample period untouched, and asking whether the effect has an economic reason to exist. Results that survive in other markets and later periods deserve more weight.
Worked example
A researcher tests 100 trading rules that have no real predictive power, using a 5% significance threshold.
- Rules expected to pass by luck alone: 100 × 5% = 5
About five worthless rules look significant, and reporting only those would mislead.
In practice
Regulators such as the US SEC and the UK FCA restrict how hypothetical or simulated past performance can be shown in marketing. Academic finance has raised the bar for new return factors because so many have been found by searching the same data.
Watch out
- A strategy that looks excellent in a backtest may just be the luckiest of many tried.
- In general data science the term is neutral; in investing it often signals a bias.
Learn it properly
- Significance and data-mining15 min lesson Free course: Statistics and fundamental analytics
- Creators, consent and intellectual property15 min lesson Free course: AI ethics and responsible AI
More lessons about data mining
Official sources
- NIST/SEMATECH e-Handbook: What are statistical tests? · National Institute of Standards and Technology
- Hypothesis tests · National Institute of Standards and Technology
Facts last checked on 4 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.