FRENESDE

Multiple testing and data snooping

Each test at the 5% level has a 5% chance of a false positive. With 20 strategies that have no edge at all: P(at least one “significant”) = 1 − 0.9520 ≈ 64%. This is data snooping: search long enough and you end up finding luck.
Bonferroni correction: threshold = 5% / m. For m = 20 tests: 0.25%. Simple but very conservative. Benjamini-Hochberg (1995) instead controls the false discovery rate (FDR): rank the p-values and keep those below (k / m) × 5%.
Harvey, Liu and Zhu (2016) counted more than 300 published factors explaining stock returns. Given so many trials, they suggest requiring a t-stat above 3, not 2, for a new factor.
On the desk: keep a log of all trials (parameters, variants, universes, periods), not just the winner. It gives the true number m to use in corrections. White’s Reality Check (2000) compares the best strategy with all those tried: it asks whether it really beats the luck of that search.

Examples

Key terms

Data snooping
Finding a “significant” result by testing many variants
Bonferroni correction
Dividing the significance level by the number of tests
FDR (Benjamini-Hochberg)
Control of the expected share of false discoveries among the results kept
Trial log
Record of every variant tested, used to correct the results
P-value
Probability of such a result by chance if the strategy has no edge
T-stat
Average result divided by its standard error: beyond about 2, it is significant at 5% for a single test
False positive
Strategy deemed valid when it has no real edge
Take the mission on Doji Academy

← Back to the index