Systematic Trading Field Guide
2.3 · Not fooling yourself

Multiple testing, the deflated Sharpe, and the 3.0 hurdle

~14 min read
Mechanism

Run enough tests and something will clear any fixed bar by luck alone. The t-statistic you should demand from a strategy rises with the number of things tried — by you, and by everyone who mined the same data before you. For effects discovered in the standard datasets, the entry price is a t-statistic around 3.0, not the textbook 2.0; and your own count of variants deflates your own Sharpe just the same.

The idea

Let me set the trap first, then walk you into it, because you have almost certainly already stepped in it once.

You have a signal idea. It doesn't quite work, so you try a few variants: three lookback windows, two universes, with and without a volatility filter. Twenty-ish combinations later, one comes back with a t-statistic of 2.3 — "significant at the 5% level", says the part of your brain that took a statistics course. You write it up, feeling rigorous for having computed a t-stat at all.

Here's the problem, and it's not subtle. "Significant at 5%" means: if this strategy were pure noise, there'd be only a 5% chance of a result this good. True for one test. But you ran twenty. The probability that at least one of twenty independent noise-strategies clears the 5% bar is 1−0.9520≈64%1 - 0.95^{20} \approx 64\%. Your "discovery" is more likely than not to be the expected best of twenty coin-flip sequences. Nothing was wrong with any individual test; the selection across tests did the damage. That is multiple testing, and quantitative finance is the worst environment for it on earth, because backtests are nearly free and the same few decades of returns get mined by everyone, forever.

The field-level version of your twenty variants is the factor literature. Harvey, Liu and Zhu (Harvey, Liu & Zhu 2016) catalogued over three hundred factors published in top journals and asked the obvious, devastating question: given how many were tried — including all the ones that didn't get published — what should the discovery bar have been? Their answer, working through standard multiple-testing corrections adapted to finance: a newly proposed factor today should be asked for a t-statistic of roughly 3.0, not 2.0. And they note the bar drifts upward through time, because every year the collective number of trials against the same data grows. A t-stat of 2.0 — the bar most of the published literature cleared — is, in their phrase, no longer close to sufficient.

Pause on what "the same data" means, because it's why you inherit the problem even if you personally run one careful test. There is one history of US equity returns. Thousands of researchers have run millions of backtests against it. The anomalies that got published are the champions of that enormous tournament — which is exactly the setting where the best performer's edge is most inflated by selection. When you "confirm" a published factor in your own framework, you are re-measuring the tournament winner on the tournament's own field. This is one of the two deep reasons published effects decay out of sample (the other — the counterparty adapting — was lesson 1.7's subject; McLean and Pontiff's decay estimates bundle both).

Now the crucial refinement: the answer is not "demand t of 3 for everything and move on". A hurdle is a trade-off, not a law of nature. Raise it and you make fewer false discoveries but miss more real, modest edges — and as Harvey and Liu develop carefully (Harvey & Liu 2020), the right balance depends on the costs of each error and on your prior. A strategy with a strong economic mechanism, a named counterparty (lesson 1.3), and corroborating evidence in other asset classes deserves a lower statistical bar than a pattern mined from the same US equity panel as everything else — you're not asking the data to do all the work. This is the Bayesian instinct that runs through the whole guide: the t-stat buys evidence, and evidence needs are set by how plausible the claim was before you looked.

The maths

Two pieces: why the expected best of NN noise strategies grows the way it does, and how the deflated Sharpe ratio turns that into a usable correction.

The expected maximum. Suppose each of NN independent trials of pure noise produces a t-statistic that is a standard normal draw. The expected maximum of NN standard normals grows like:

E[max⁡(Z1,…,ZN)]  ≈  2ln⁡N\mathbb{E}\big[\max(Z_1, \dots, Z_N)\big] \;\approx\; \sqrt{2 \ln N}
N is the number of independent trials; the expected champion of N noise strategies grows with the square root of the log of N — slowly, but relentlessly, and it never stops.

The shape matters more than the constant: because the growth is logarithmic, going from 10 to 100 trials costs about as much extra false-champion as going from 100 to 1,000. You cannot outrun it by being "mostly disciplined" — a hundred quiet variants over a research programme's lifetime is a perfectly ordinary count, and it moves the bar just as surely as a deliberate grid search.

To convert into Sharpe units: a t-statistic on a backtest is approximately the annualised Sharpe times the square root of the sample length in years, t≈SR⋅Tt \approx SR \cdot \sqrt{T}. So the expected best annualised Sharpe among NN noise strategies tested on TT years is roughly 2ln⁡N/T\sqrt{2 \ln N} / \sqrt{T} — numbers in the worked example, and they are uncomfortably large.

The deflated Sharpe ratio. Bailey and López de Prado (Bailey & López de Prado 2014) package this logic into a test you can actually run. Two steps. First, compute the Sharpe your trials should have produced by luck: from the number of effectively independent trials NN and the variance of Sharpe ratios across your trials, derive the expected maximum noise Sharpe, SR0SR_0 (their formula sharpens the 2ln⁡N\sqrt{2\ln N} approximation with extreme-value theory). Second, ask how confident you can be that your champion's true Sharpe exceeds that benchmark, using the probabilistic Sharpe ratio, which also corrects for the fact that fat tails and skew make Sharpe estimates noisier:

DSR  =  Φ ⁣((SR^−SR0) T−11−γ3 SR^+γ4−14 SR^2)\text{DSR} \;=\; \Phi\!\left( \frac{(\widehat{SR} - SR_0)\,\sqrt{T-1}}{\sqrt{1 - \gamma_3\,\widehat{SR} + \tfrac{\gamma_4 - 1}{4}\,\widehat{SR}^2}} \right)

Symbols: SR^\widehat{SR} is the champion's estimated Sharpe (per period), SR0SR_0 the luck benchmark, TT the number of return observations, γ3\gamma_3 the skewness and γ4\gamma_4 the kurtosis of the returns, and Φ\Phi the standard normal CDF. Read the denominator as a penalty box: negative skew (the short-vol shape — steady gains, occasional disaster) inflates measured Sharpe's noise, so the same headline number earns less confidence. A DSR near 1 means the result survives its own selection history; a DSR of 0.6 means your champion is barely better than the best noise you should expect. The honest input is the hard part — NN must count everything you tried, which is why lesson 1.10 has you keep the trial log before you need it.

Worked example

Worked example — what the best of N noise strategies looks like

You test variants on 5 years of daily data (T=5T = 5 years). All of them are, unknown to you, pure noise. What annualised Sharpe should the best one show, just from selection? Using E[max⁡]≈2ln⁡N\mathbb{E}[\max] \approx \sqrt{2\ln N} t-stat units and SR≈t/TSR \approx t/\sqrt{T}:

Trials NNExpected max t-statExpected best Sharpe (5y)Expected best Sharpe (10y)
102.150.960.68
502.801.250.88
1003.031.360.96
1,0003.721.661.18

Read the third column slowly: a hundred noise variants on five years of data are expected to produce a champion with a backtest Sharpe around 1.4. Not "might" — expected. A Sharpe of 1.4 is the kind of number that makes a retail researcher start planning position sizes. And a hundred trials is not a mining operation; it's a normal month of enthusiastic research. The 10-year column shows the partial antidote — more data shrinks the luck champion — which is one honest reason to prefer long histories and cross-asset breadth.

The simulation, if you want to feel it rather than trust the formula:

import numpy as np
rng = np.random.default_rng(0)
T, N = 252 * 5, 100
best = []
for _ in range(2000):
    rets = rng.normal(0, 0.01, size=(T, N))     # pure noise, no edge
    sr = rets.mean(0) / rets.std(0) * np.sqrt(252)
    best.append(sr.max())
print(np.mean(best))   # ≈ 1.3–1.4 — the "discovery" you were about to size

Now the deflation in action. Your champion from those 100 trials shows SR^=1.4\widehat{SR} = 1.4 annualised. The table says the luck benchmark SR0SR_0 for N=100N=100, T=5T=5 is about 1.36. Your evidence that the strategy is better than selected noise is the gap — 0.04 Sharpe units — which the DSR will translate to a probability barely above a coin flip. The same 1.4 Sharpe reported as the first and only test of a mechanism-driven idea (SR0≈0SR_0 \approx 0) would be strong evidence. Identical backtest, opposite conclusions — the difference is the research history behind it, which is why that history has to be recorded.

How you'd use it

  1. Count trials as you go. A one-line log per backtest: date, idea family, variant description. Painless in the moment, impossible to reconstruct honestly later — memory deletes failures. Lesson 1.10 makes this a habit; this lesson is why.
  2. Define the family, deflate within it. When you test an idea, decide in advance what counts as one family (all lookback variants of trend on futures = one family), test the family, and apply the DSR with NN set to the family size. Champion-of-family is the unit of discovery, not each variant.
  3. Set the hurdle by provenance. Mined from the same panel as the literature: demand t ≈ 3 (Harvey, Liu & Zhu 2016). Strong prior mechanism, corroboration across asset classes or countries, few trials: accept less — and say so explicitly in your notes, so future-you knows the bar that was applied.
  4. Spend your tests where the prior is. The deepest response to multiple testing isn't statistical at all — it's the screening funnel from lesson 1.8. If only mechanism-bearing ideas earn backtests, NN stays small and every t-stat you compute means more. Discipline before the data is worth more than correction after it.

What goes wrong

Uncounted trials. The correction only works if NN is honest, and almost everyone's honest NN is larger than they think. The variants you ran and forgot. The idea you abandoned after eyeballing a bad equity curve (that was a test — your eyes performed it). The threshold you nudged because the plot looked better. Andrew Gelman's phrase for the softest version is the garden of forking paths: even without a formal grid search, every data-contingent choice you made was a branch, and the path you ended on was selected by the data. When in doubt, round NN up, hard.

Correlated trials. Twenty lookback variants of the same momentum signal are not twenty independent tests — their returns correlate 0.9. Naive Bonferroni-style corrections over-penalise here (effective NN might be 3, not 20), which tempts people to abandon correction entirely. Don't: estimate effective NN from the correlation structure of your trial returns (cluster them; count clusters), as the DSR framework (Bailey & López de Prado 2014) anticipates. The error bars on this are wide; the difference between N=3N=3 and N=20N=20 is a detail compared with the difference between N=20N=20 and pretending N=1N=1.

Inherited trials. You read about an effect on a blog, reproduce it cleanly in one test, and feel entitled to N=1N=1. But the blog author selected the effect from their trials, from a literature that selected from its trials. Your single test sits at the end of a tournament you didn't see. This is why replication of published results needs its own hurdle-raising — the exact debate of lesson 2.8.

Goodharting the t-stat. Once the t-stat is the target, the creative energy that used to overfit Sharpes starts overfitting t-stats — trimming the sample start date, winsorising "outliers" that were real losses, choosing the frequency that flatters. The number was supposed to measure the process; if the process optimises the number, it measures nothing. The only structural defence is deciding the full evaluation recipe — sample, frequency, costs, hurdle — before seeing results, which is lesson 1.10's pre-registration habit doing its quiet work.

Missing real edges. The failure nobody talks about: at t = 3.0 you will reject genuinely profitable strategies whose edge is real but modest — a true Sharpe 0.4 idea may never produce a 3.0 t-stat in your lifetime's data. Harvey and Liu's false-and-missed-discoveries framing (Harvey & Liu 2020) makes the cost explicit. The resolution for a practitioner is portfolio-level: individually sub-hurdle edges with sound mechanisms and low correlation can clear the bar as a combination — you test the ensemble, which is where this thread reappears in lessons 4.5 and 5.9.

Further reading