Concept

Resampling Tests

Resampling Tests, also known as bootstrap, permutation, are Statistics concepts. The Library holds 2 implementations, each one a working definition you can pull into Quant.

Top Resampling Tests indicators

2 total

What are Resampling Tests?

Resampling tests estimate uncertainty by redrawing from the data you already have instead of assuming a theoretical distribution. The two workhorses are the bootstrap (Efron, 1979), which samples observations with replacement to approximate the sampling distribution of a statistic, and the permutation test, which reshuffles the order or labels of the data to build a null distribution in which any structure carried by ordering or labels has been destroyed. If the statistic computed on the real, ordered data sits far in the tail of the shuffled distribution, the structure is unlikely to be luck alone.

On charts the idea usually appears as shuffled-return projections: draw returns from a lookback window, chain them into many forward paths, and plot percentile bands of the outcomes, the same machinery behind Monte Carlo price paths and one common way of building probability cones. One caveat is structural: independent redraws erase autocorrelation and volatility clustering, so plain shuffles understate how losses and turbulence bunch together. Block bootstrapping (resampling contiguous chunks) preserves some of that memory, and no resampling scheme can represent regimes absent from the sampled window.

How traders use it

  • Projection envelopes: resample a window of past returns and compound them forward to draw percentile cones around price, read as scenario ranges consistent with recent behavior rather than forecasts.
  • Backtest significance: permute entry signals (or shuffle returns) and re-run the strategy many times; an edge that random orderings reproduce easily is statistically indistinguishable from luck, a check that pairs naturally with an in-sample / out-of-sample split.
  • Confidence intervals: bootstrap trade-level results to put empirical error bars on win rate, expectancy, or Sharpe ratio instead of quoting a single point estimate.

Related concepts · Simulation

Concept family

Statistics

45 concepts mapped · 37 in the Library

Resampling Tests FAQ

What is the difference between a bootstrap and a permutation test?

The bootstrap resamples the data with replacement to estimate how variable a statistic is, giving confidence intervals around it. A permutation test resamples without replacement, reshuffling order or labels, to ask whether the observed statistic could plausibly arise when ordering or labels carry no information. Roughly: bootstrap quantifies uncertainty, permutation tests significance. In trading, both are applied to returns or trade sequences.

Do shuffled-return projections predict future prices?

No. They redraw past returns, so the cones describe outcomes consistent with the sampled window's distribution under the assumption that ordering carries no information. Shuffling erases trends, autocorrelation, and volatility clustering, and the window may not contain the next regime at all. Treat the bands as scenario envelopes for stress-testing position size and expectations, not as forecasts.

Build Resampling Tests your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.