Objective
When you test many strategies, a 5% test per strategy no longer means a 5% chance of fooling yourself. You should be able to choose between controlling the family-wise error rate and the false discovery rate, apply Bonferroni, Holm and Benjamini–Hochberg by hand, convert a Sharpe ratio into a multiple-testing-adjusted ("haircut") Sharpe ratio, and explain what the deflated Sharpe ratio adds.
Two error rates
With tests, of which are true nulls:
- Family-wise error rate (FWER): . For independent true nulls tested at level , : 64% for 20 tests and 92% for 50.
- False discovery rate (FDR): , where is the number of rejections and the false ones. It tolerates some false positives as long as they are a controlled fraction of discoveries.
Use FWER control when acting on a single false positive is expensive (deploying capital to one strategy, publishing one result). Use FDR when screening many candidates for further work, where a few duds among the survivors are acceptable.
The procedures
Sort the p-values .
- Bonferroni (FWER): reject . Valid under any dependence; conservative when tests are correlated.
- Holm (FWER): step down. Reject if , then if , and so on, stopping at the first failure. Also valid under any dependence and never rejects fewer than Bonferroni, so there is no reason to use plain Bonferroni except mental arithmetic.
- Benjamini–Hochberg (FDR): find the largest with and reject . Valid under independence or positive dependence, which is the usual situation for strategy returns. It is a step-up rule: a p-value can be rejected even if it fails its own threshold, as long as a larger one passes.
The haircut Sharpe ratio
Harvey and Liu suggest reporting the Sharpe ratio that the adjusted p-value corresponds to. With years of data:
- and .
- Adjust: Bonferroni gives ; Holm or BH can be used instead.
- Invert: and .
The haircut is not a fixed percentage: it is large for marginal results and small for overwhelming ones. Harvey, Liu and Zhu argued along these lines that new factors in the published literature should clear rather than 2.
The deflated Sharpe ratio
The probabilistic Sharpe ratio asks how likely the true Sharpe exceeds a benchmark , accounting for sample length and non-normal returns. With per-period estimates , observations, skewness and (non-excess) kurtosis :
Negative skew and fat tails enlarge the denominator and lower the PSR. The deflated Sharpe ratio (Bailey and López de Prado) sets to the expected maximum Sharpe of the trials actually run, , from the previous lesson. It answers: "is this better than the best of lucky draws?" Its weak point is the same as every correction's: you need an honest and , which only a research log provides.
Assumptions and limitations
- All of these treat the tests you know about. Trials that were run and forgotten, or run by others on the same data, are not corrected for.
- Bonferroni and Holm become very conservative when the strategies are highly correlated (nearby parameters); an effective number of independent trials, or a resampling method that preserves the correlation, is less wasteful.
- Corrections control false positives, at the cost of power. A real but modest strategy can fail every correction on a short sample.
Worked example
Bonferroni, Holm and BH on ten strategies
Ten strategies have t-statistics . Using two-sided p-values and , which are rejected by Bonferroni, Holm and Benjamini–Hochberg?
Show solutionHide solution
The two-sided p-values are, in order:
| Bonferroni | Holm | BH | |||
|---|---|---|---|---|---|
| 1 | 3.9 | 0.0001 | 0.005 | 0.0050 | 0.005 |
| 2 | 3.1 | 0.0019 | 0.005 | 0.0056 | 0.010 |
| 3 | 2.8 | 0.0051 | 0.005 | 0.0063 | 0.015 |
| 4 | 2.6 | 0.0093 | 0.005 | 0.0071 | 0.020 |
| 5 | 2.4 | 0.0164 | 0.005 | 0.0083 | 0.025 |
| 6 | 2.0 | 0.0455 | 0.005 | 0.0100 | 0.030 |
| 7 | 1.7 | 0.0891 | 0.005 | 0.0125 | 0.035 |
(Rows 8 to 10 have p-values of , and and pass nothing.)
- Bonferroni rejects the first two: just misses .
- Holm rejects 1, 2 and 3 (), then stops at row 4 because .
- BH passes rows 1 to 5 () and fails rows 6 onward, so the largest passing is 5 and it rejects five strategies.
Read the result as: with FWER control, two or three strategies survive; if you accept that about 5% of your discoveries may be false, five go forward to the next stage.
Worked example
haircut and deflated Sharpe ratios
A strategy has an annualised Sharpe ratio of 1.0 over 10 years. (a) Compute the Bonferroni haircut Sharpe ratio if it was the best of 10, 50 and 100 trials. (b) Using 120 monthly returns with skewness and kurtosis 5, compute the probabilistic Sharpe ratio against zero, and the deflated Sharpe ratio when the 50 trials had a cross-sectional Sharpe standard deviation of .
Show solutionHide solution
(a) and .
| trials | haircut | |||
|---|---|---|---|---|
| 10 | 0.0157 | 2.42 | 0.76 | 24% |
| 50 | 0.0783 | 1.76 | 0.56 | 44% |
| 100 | 0.157 | 1.42 | 0.45 | 55% |
With 50 or more trials the adjusted result is no longer significant at 5%.
(b) The monthly Sharpe ratio is . The denominator is
Against : , so .
For the deflated version, the expected best of 50 null trials is annualised, or monthly. Then
A 79% probability of beating the best lucky draw is far from the 95% a deployment decision would usually ask for, although the strategy looked like a near-certainty (PSR 0.998) before the trial count entered.
Knowledge check
You test 20 independent strategies with no edge, each at the 5% level. What is the probability that at least one appears significant?
Knowledge check
Which statement about Holm and Bonferroni at the same level is correct?
Knowledge check
A strategy shows an annualised Sharpe ratio of 1.0 on 10 years of data and was the best of 10 trials. What is its Bonferroni haircut Sharpe ratio?
Key takeaways
- FWER for independent nulls; control it when one false positive is costly, control FDR when screening.
- Holm dominates Bonferroni; Benjamini–Hochberg rejects the largest with .
- Haircut Sharpe: Sharpe to p-value, adjust for , back to Sharpe. The haircut is largest for marginal results.
- Deflated Sharpe: the probabilistic Sharpe ratio against the expected best of trials, with skew and kurtosis included.
- Every correction is only as good as the trial count; keep the log.
Finished reading?
Answer the 3 knowledge checks to complete this lesson (0 done).