Backtesting guide
Multiple Testing Correction Backtesting
Multiple testing correction backtesting adjusts an inference after many strategy variants, parameters, markets, or samples have been searched. Without an adjustment, the best result is more likely to be a random extreme than a prespecified single test would imply.
Read the practical guideKey Takeaways
- The correction starts with a complete record of the research family.
- The selected winner cannot be evaluated as if it were the only trial.
- Different methods answer different questions about false discovery and selection.
- A correction cannot repair leakage, unrealistic costs, or a changing strategy definition.
Define the family of tests
List every candidate that could have become the reported strategy: parameter sets, indicators, markets, timeframes, start dates, filters, and metrics. Group trials by the decision they informed. A correction based only on the final saved variants understates the search and can make the evidence appear stronger than it is.
- Create a research ledger before running the search.
- Record failed, abandoned, and duplicated variants.
- Keep the primary metric and benchmark stable across the family.
Match the method to the question
Simple family-wise error controls adjust significance thresholds across a declared set of hypotheses. White Reality Check tests whether the best model improves on a benchmark while accounting for data snooping under its bootstrap assumptions. DSR adjusts a selected Sharpe benchmark for multiple trials and non-normal returns. PBO studies how often in-sample selection fails out-of-sample within the candidate set.
- Use an error-rate correction when the task is formal hypothesis testing.
- Use DSR when the selected statistic is Sharpe and trial evidence is available.
- Use PBO when the target is the reliability of the strategy selection process.
Preserve an untouched confirmation
Apply the selected correction to the research stage without consulting the final confirmation period. Freeze the strategy and analysis rule before opening that period. Statistical correction addresses selection under a stated test structure, but it does not cover data leakage, data revisions, cost errors, implementation drift, or future regime change.
- Publish the trial count, dependence assumptions, and chosen method.
- Run sensitivity checks on how candidates are grouped into a family.
- Report corrected evidence together with economic and execution assumptions.
Related Pineify workflow
Retain the full optimization record for an external correction
Pineify Strategy Optimizer can run parameter combinations and preserve comparable trial results. That trial ledger is a required input for many selection-aware analyses.
Run related parameter trials under consistent assumptions and retain their results.
Review strategy trialsBoundary: Strategy Optimizer does not calculate corrected p-values, White Reality Check, DSR, or another multiple-testing adjustment.
Primary sources
- White, A Reality Check for Data SnoopingVerified 2026-08-16
- Bailey and Lopez de Prado, The Deflated Sharpe RatioVerified 2026-08-16
- Bailey, Borwein, Lopez de Prado, and Zhu, The Probability of Backtest OverfittingVerified 2026-08-16
This page is educational and does not provide investment advice. Backtests are hypothetical, depend on their data and assumptions, and do not guarantee future results. Trading can result in substantial loss.