Basic Prerequisites: 04 · Confidence Intervals & Testing and 05 · Bias–Variance & Validation.


1. Intuition & Practical Objective

Classical inference needs a pivot - an exact distribution you can write down. Often you cannot: the statistic is a ratio, a median, a quantile, a maximum, or a Sharpe ratio of autocorrelated returns. The bootstrap replaces the algebra you cannot do with a resampling trick you can always run: treat the sample as a stand-in population, resample it with replacement, and read the sampling distribution off the resamples. It is the universal fallback, and in finance it is the workhorse of backtest validation.

This page carries the expert end of the arc: the bootstrap (standard errors, percentile intervals, the .632 error estimator, and the Reality Check for data snooping); the asymptotic theory that justifies both the classical and bootstrap approaches (MLE efficiency, the delta method, Rényi/EDF convergence); and the statistics of backtesting - how to stop the best-of- illusion from masquerading as alpha. Together these are the tools that decide whether a signal is real.

Why the expert needs this. A Sharpe ratio of 2.0 over 3 years from a backtest search over 1,000 parameter sets is not a Sharpe of 2.0 - it is the maximum of 1,000 noisy draws. The bootstrap and the theory of extreme order statistics are the only honest way to say so.


2. Mathematical Ground Truth & Derivations

2.1 The bootstrap principle (ESL §7.11, §8.2)

Given data , draw resamples by sampling with replacement from , compute the statistic , and use the empirical distribution as the sampling distribution.

  • Bootstrap standard error: .
  • Percentile interval: (the -th and -th percentiles of the resamples); the BCa refinement adjusts for bias and skewness.
  • ESL §8.2: the bootstrap distribution approximates a Bayesian posterior (“a poor man’s Bayes”), with the bootstrap mean ≈ posterior mean and the bootstrap SE ≈ posterior SD.

2.2 Bootstrap error estimators (ESL §7.11, eqs 7.55–7.61)

The apparent error on training data is optimistic. The bootstrap corrects it using out-of-bag (OOB) points:

(A bootstrap sample omits a fraction of the points; the .632 weights the optimistic training error by exactly that fraction.) Variants: the leave-one-out bootstrap and the .632+ estimator, which down-weights overfitting models.

2.3 Asymptotics in one place (C&B §7.4; Glasserman §1.1)

  • MLE efficiency: , and the observed information estimates (eq 7.4.1) - the basis for likelihood-based confidence intervals.
  • Delta method: (eq 7.4.5) - propagate uncertainty through transformations (e.g. Sharpe = mean/sd).
  • CLT + Slutsky: plug-in standard errors are consistent, so is an asymptotically valid interval (§9.4.2) even without a pivot.
  • Bootstrap validity: if , the bootstrap law of converges to the same in probability - the theorem that lets you use resampling as a distributional proxy.

2.4 Backtest statistics: the best-of- problem (White 2000; Harvey–Liu–Zhu 2016)

Testing strategies with zero true skill, the maximum -statistic obeys

so a naive threshold “finds alpha” with probability as grows. The White Reality Check bootstraps the joint null distribution of the performance statistics (resampling returns in time, preserving cross-strategy dependence) and compares the observed best against that null. The deflated Sharpe ratio scales the observed Sharpe by the expected maximum under the null, i.e. it subtracts the multiplicity tax.


3. Computational Implementation - bootstrap, .632, and the best-of- null

Standard library only. Four panels: a bootstrap standard error and percentile interval for a median; the empirical coverage of that interval; the .632 error estimator versus apparent and true error; and the best-of- -statistic under the null.

The percentile interval covers the truth 94.3% of the time at a nominal 95% - good but not exact, since the median is not a pivot (BCa would tighten it). The .632 estimator repairs most of the apparent error’s optimism (0.375 0.437, against a true 0.469), while pure training error badly under-states it. Panel (D) is the damning one: with 100 strategies of zero skill, the best -statistic is 2.5 on average and exceeds 1.96 92% of the time; at it is 3.2. Every “significant” backtest from a large search must clear the bar, not 1.96.


4. Failure Modes & First-Principles Breakdowns

  1. Bootstrapping dependent data with an i.i.d. resampler. Resampling individual returns destroys autocorrelation and volatility clustering, producing error bars that are too small. Use the block bootstrap (stationary or moving-block) for time series. This is the single most common bootstrap mistake in finance.
  2. The best-of- illusion. A raw -statistic from a strategy search ignores multiplicity; the expected best-of- spurious . Always compare against a bootstrapped joint null (White Reality Check), never 1.96.
  3. Trusting the percentile interval when the statistic is biased. The percentile method inherits the estimator’s bias; for the median it under-covers. Use BCa, or at least the bias-corrected bootstrap.
  4. Small- noise. With the bootstrap quantiles are themselves noisy; use for intervals, for standard errors (a second-order bootstrap is rarely worth it).
  5. The bootstrap cannot beat a bad estimator. Resampling a biased estimator’s distribution does not remove the bias; it describes it. The bootstrap quantifies uncertainty, it does not create information.
  6. Estimating an extremum by bootstrap. Bootstrapping a tail quantile beyond the sample range (e.g. a 99.9% VaR from 250 points) fails - the resamples cannot exceed the sample maximum. Use extreme-value theory, not the bootstrap, in the far tail.

5. References

  • Efron, B. & Tibshirani, R.: An Introduction to the Bootstrap (1993)
  • Hastie, Tibshirani & Friedman, ESL
  • Casella & Berger, Statistical Inference
  • White, H. (2000), A Reality Check for Data Snooping, Econometrica 68(5)
  • Harvey, C., Liu, Y. & Zhu, H. (2016), “…and the Cross-Section of Expected Returns”

6. Connected Graph Bridges