Quant Memo
Core

Effective Number of Independent Trials

When a researcher tests many correlated strategy variants, the real number of independent 'chances to get lucky' is smaller than the raw count — estimating that smaller effective number is key to correcting an overfit-looking backtest.

If you flip 20 independent coins and pick the one that came up heads five times in a row, that's mildly interesting. If you test 20 nearly identical trading strategies — same signal, lookback windows of 18, 19, 20, 21, ... 37 days — and pick the one with the best backtest Sharpe ratio, that is a much weaker result than "the best of 20 independent trials," because those 20 variants aren't independent at all. A strategy with an 18-day lookback and one with a 19-day lookback trade almost identically and share most of their backtest returns. The effective number of independent trials asks: given the correlation between all the variants tested, how many genuinely separate chances at a good result did the search actually represent?

Why correlation shrinks the count

The statistical danger of testing many strategies and keeping the best one comes from multiple testing: the more trials, the more likely one looks good by chance alone even with zero real skill. But that danger scales with independent trials specifically. If 100 strategy variants are tested but they're all minor tweaks of the same core idea with 95% correlated returns, the real number of independent looks at the data is much closer to a handful than to 100. Estimating the effective number requires looking at the correlation structure across all the variants tried — highly correlated variants collapse toward one effective trial, while genuinely distinct, low-correlation strategies each count closer to a full trial.

Worked example: 50 lookback variants, but really about 4 trials

A researcher backtests a momentum strategy across 50 lookback windows (10 to 300 days, roughly evenly spaced) and finds the 85-day window gives the best Sharpe, 1.5. Computing pairwise correlations between the 50 variants' return series shows most neighboring windows (say, 80 versus 90 days) are correlated above 0.9, while distant windows (10 days versus 250 days) are correlated closer to 0.2. Using a standard effective-trials estimator on this correlation matrix might yield an effective count of around 4–5, not 50 — the 50 backtests really only represent about four or five meaningfully distinct "looks" at the data. A multiple-testing correction based on the raw count of 50 would over-penalize the result; one based on the effective count of ~4-5 gives a more appropriately calibrated (though still nontrivial) haircut to the reported Sharpe.

short lookbacks long lookbacks 50 variants, ~4 effective clusters
Nearby lookback windows correlate heavily and form clusters; each cluster behaves like roughly one independent trial, so 50 tested variants collapse to only a handful of effective trials.

What this means in practice

Ignoring correlation and treating every backtested variant as an independent trial leads to overconfident multiple-testing corrections in one direction or the other — either wildly overstating how "lucky" a result must be, or, if the correlation is ignored entirely and no correction is applied, wildly understating it. Techniques like the haircut Sharpe ratio and White's Reality Check explicitly build in an estimate of the effective number of trials rather than the raw count, which is why they tend to be more reliable than naive corrections. In practice, researchers estimate this from the empirical correlation matrix of all strategies actually tested during the search, not just the ones reported.

The number of strategy variants tested during a search overstates the real multiple-testing risk if those variants are highly correlated. The effective number of independent trials — estimated from the correlation between tested variants — is what should drive any statistical correction, not the raw count.

Reporting "we only tested 3 strategies" while omitting that each of those 3 was itself chosen as the best of 50 highly correlated internal variants understates the real search that happened. The effective trial count should reflect everything explored, not just the final candidates presented.

Related concepts

Further reading

  • Harvey, Liu and Zhu, 'and the Cross-Section of Expected Returns'
ShareTwitterLinkedIn