The Backtest Trap: When a Winning Strategy Is Just Luck

Imagine a fund manager who tests dozens of trading ideas and presents you with a beautiful chart of the winner. The chart may be entirely accurate. The uncomfortable question is what happened to all the other charts. A backtest measures how a trading rule would have performed on past data, but searching through enough rules can make ordinary luck look remarkably like talent. Below, you can conduct your own simulated search, choose a promising rule and see how it performs on a fresh set of results. The committee wants a convincing story. Can you resist the temptation to mistake the best-looking result for a reliable discovery?

Behavioral Edge / Research desk

Strategy discovery challenge

Your research team needs a credible strategy.

Compare the backtests and select one to take to independent validation.

Loading research results…

All trading results are simulated; no actual strategy, price data, costs, or investment recommendation. Your choices are not stored or submitted.

Optional: technical illustration of repeated testing

DECISION LAB / RESEARCH LITERACY

How many chances does noise get?

The trading challenge illustrates the temptation to select a winner. This separate technical illustration uses a general false-alarm threshold instead of the game's discrete win counts. Imagine testing ideas that are all ineffective, using independent tests that each have a 5% chance of mistakenly declaring a discovery. Move the number of tests between one and one hundred and watch the chance of at least one false alarm climb. The second slider changes how strict each test is.

At least one false positive64.15%
Expected number of false positives1.00
With a stricter threshold (Bonferroni)4.88%

Compare the probability of at least one false positive

Unadjusted
Bonferroni-adjusted

At 20 tests, the Bonferroni per-test threshold is 0.25%.

Run a set of tests

Press Generate a new set to run an imaginary batch of tests. Pink squares show ideas that would be declared discoveries even though none works. The stricter threshold divides the original false-alarm allowance among all the tests. The count below shows how many false discoveries survive that adjustment.

No sample generated yet.

The probabilities above are exact for the stated model. The generated set is only an illustration; actual research tests may be dependent or violate model assumptions. Bonferroni controls the probability of at least one false rejection at or below the chosen family-level threshold for valid tests, including dependent tests, but can reduce power. No responses or results are collected by this exercise.

The calculation behind the experiment

If each of n independent tests has a false-positive probability α, the probability of no false positives is (1 − α)ⁿ. Subtract that from one to obtain the probability of at least one false positive. The expected count is n × α, which is a different quantity.

Exact probabilities under independent true null hypotheses
TestsAt least one false positive at 5% per testAt least one with Bonferroni correction
15.00%5.00%
522.62%4.90%
1040.13%4.89%
2064.15%4.88%
5092.31%4.88%
10099.41%4.88%

For the adjusted comparison, the Bonferroni method uses α/n as each test’s threshold. Under independence the exact familywise probability is 1 − (1 − α/n)ⁿ; for valid tests in general the union bound makes it at most α. Neither calculation tells you the probability that an observed significant result is false.

Why this matters beyond the lab

The desire to find a winner can subtly change the way we look for one. In Ziva Kunda's 1990 review of motivated reasoning, she describes how motivation can shape the way people construct and evaluate beliefs. In a research team, the desire to find a successful strategy is not proof of dishonesty. But it creates a reason to record all the ideas tested, separate exploratory work from fresh tests and make it possible for evidence to change the conclusion.

Read Simmons, Nelson and Simonsohn (2011), False-Positive Psychology, for a study of undisclosed analytical flexibility, and the American Statistical Association statement on p-values for interpretation. Explore our research-reading guide, selective reporting model and Expected Value Lab.