Fachwissen

Fachartikel zu Quantitative Finance, Trading, Backtesting, Machine Learning, Assetmanagement und QuantConnect. Die Beiträge vertiefen zentrale Methoden der Fachbücher und verbinden wissenschaftliche Grundlagen mit praktischer Anwendung.

Nach Thema lesen: Quant Engineering · Backtesting · Machine Learning · Portfolio und Risiko · Quantamentale Analyse · QuantConnect · Quantitative Finance · Trading und Systementwicklung

Statistical Power in Trading Research: When Does a Backtest Provide Enough Evidence?

Abstract

A backtest can wrongly identify a strategy as superior, but it can also fail to detect a genuine yet weak effect. Overfitting and multiple testing focus largely on false discoveries. Statistical power addresses the probability of detecting an effect that actually exists under a specified set of assumptions. This second perspective matters in quantitative research because financial observations are noisy, outcomes often depend on their recent history, and economic advantages after costs may be small. This article combines effect size, sample-size planning, standard errors, confidence intervals, serial dependence and minimum economic requirements into an auditable research design.

1. Statistical significance is not economic relevance

A statistical test begins with a null hypothesis, for instance H0:μ≤0H_0:\mu\leq 0 for a strategy’s expected net excess return relative to an appropriate benchmark, against the alternative H1:μ>0H_1:\mu>0. Under the test assumptions, a small p-value indicates that the observed data would be unusual under the null. It does not give the probability that the strategy will be profitable in the future, or the probability that the null hypothesis is false.

Two decisions must therefore be separated. First, can the effect be distinguished statistically from zero? Second, is it large enough to justify trading costs, capital allocation, operational risks and model uncertainty? A tiny effect can be statistically noticeable in a very large sample yet economically worthless after transaction costs. Conversely, a large point estimate based on very few observations may have substantial uncertainty.

2. Define the effect size before analysing the data

The outcome variable should be specified in advance. Possibilities include mean daily net excess return over a benchmark, expected net profit per trade, or a risk-adjusted return difference calculated using a pre-specified method. For illustration, let dd denote the smallest economically interesting difference in means and σ\sigma the assumed standard deviation of individual observations.

The standardised effect size is d/σd/\sigma. Suppose the aim is to detect a mean daily improvement of 0.10 percentage points, while the standard deviation of daily return differences is 1.00 percentage point. The effect amounts to 0.10.1 standard deviations: small relative to daily noise.

Important: A 0.10-percentage-point daily return advantage would be economically substantial. These figures are selected exclusively to illustrate the calculation; they are not realistic estimates of an attainable strategy edge.

3. Minimum sample size under simplified assumptions

For independent, identically distributed observations and a normal approximation, a commonly used planning formula for a two-sided test is:

n≈((z1−α/2+z1−β)σd)2.n \approx \left(\frac{(z_{1-\alpha/2}+z_{1-\beta})\,\sigma}{d}\right)^2.

Here α\alpha is the tolerated Type I error probability, 1−β1-\beta the desired statistical power, and zz the relevant standard-normal quantile. For α=0.05\alpha=0.05, 80% power, σ=1.0\sigma=1.0 percentage point and d=0.1d=0.1 percentage point:

n≈((1.96+0.84)⋅10)2=784.n\approx ((1.96+0.84)\cdot 10)^2 = 784.

In this idealised model, approximately 784 independent observations would be required to detect the specified effect with the planned power. This is not a blanket recommendation to collect 784 trading days or 784 trades. The formula disregards serial dependence, changing volatility, heavy tails, data preparation, multiple testing and the distinction between trading days and independent information events.

A pre-specified and justified one-sided alternative changes the quantiles and therefore the sample-size requirement. The decision to use a one-sided test must not be made after seeing the results.

4. Why a trade count can be misleading

One thousand trades do not necessarily provide one thousand independent observations. A strategy may execute many nearly identical positions during just a few market regimes. Portfolio daily returns can also be dependent because of overlapping holding periods, persistent signals, illiquidity or smoothed valuations. The naïve standard-error formula

SE(r‾)=s/n\operatorname{SE}(\bar r)=s/\sqrt n

is then not automatically appropriate. For a weakly stationary return or return-difference series, the long-run variance of the mean depends on the sum of the autocovariances:

Var(r‾)≈1n(γ0+2∑k=1∞γk).\operatorname{Var}(\bar r)\approx \frac{1}{n}\left(\gamma_0+2\sum_{k=1}^{\infty}\gamma_k\right).

Positive autocorrelation often increases uncertainty relative to an independence-based calculation, while negative autocorrelation may have the opposite effect. Heteroskedasticity- and autocorrelation-consistent (HAC) estimators, such as Newey–West, account for some forms of dependence under specific assumptions. They are not guarantees: bandwidth selection, small samples, structural breaks and strong nonstationarity remain problematic.

5. Confidence intervals rather than a p-value in isolation

Suppose a strategy’s estimated daily net excess return is 0.06 percentage points and its appropriately estimated standard error is 0.05 percentage points. An approximate 95% confidence interval is:

0.06%±1.96⋅0.05%=[−0.038%,0.158%].0.06\%\ \pm 1.96\cdot 0.05\% = [-0.038\%,\ 0.158\%].

Both negative values and economically interesting positive values remain consistent with the observations. This is not the same as saying that the strategy has no effect. Rather, the estimate is too imprecise for a confident decision. The interval itself depends on the statistical assumptions and the standard-error estimation method.

A professional research report should show the point estimate, interval, sample size, observation frequency, net-cost assumptions and uncertainty-estimation method together.

6. Power and research decisions

Three situations require different interpretations:

  • Small estimate, narrow interval: a large economically meaningful effect is unlikely under the specified model. This may be an informative negative finding.
  • Small estimate, wide interval: the data are largely inconclusive; they neither establish nor convincingly rule out the approach.
  • Large estimate, wide interval: an interesting candidate, but not yet robust evidence. Truly independent new observations matter more than further parameter tuning.

This is why the smallest economically meaningful effect must be defined before conducting the test. Deciding that a result is ‘relevant’ only after examining it risks shifting the research objective retrospectively.

7. Multiple tests change the conclusion

Power for a single pre-specified hypothesis must not be confused with an unrestricted search over parameters. Testing 500 signal combinations and reporting only the most attractive result increases the risk of a seemingly positive but spurious discovery. Multiple-testing adjustments, the Deflated Sharpe Ratio and the probability of backtest overfitting address different aspects of this selection bias. None replaces planning an informative sample around an economically relevant effect.

An experiment log should therefore include both successful and rejected trials. If a new hypothesis is developed after inspecting a test window, that window has effectively become part of the development process. Independent confirmation requires another, genuinely unused evaluation sample.

8. Step-by-step experimental design

  1. Hypothesis: specify the economic mechanism and an appropriate null strategy.
  2. Primary outcome: predefine, for example, the net return difference after realistic fees and execution costs.
  3. Minimum benefit: choose the smallest acceptable economic effect dd.
  4. Noise assumptions: estimate plausible volatility and dependence ranges using development data.
  5. Sample-size planning: evaluate power and required independent time periods under multiple scenarios.
  6. Test protocol: freeze data splits, rebalancing rules, costs and treatment of missing observations.
  7. Analysis: report intervals, effect sizes, power assumptions and negative findings without selective omission.
  8. External validation: where possible, test on later untouched periods or separate families of instruments.

Planning assumptions can themselves be wrong. A sound protocol should consider at least optimistic, central and conservative noise scenarios. High power estimates based on unusually favourable pilot results do not prove that a sample is long enough.

9. Limitations: market regimes and historical time are finite

Even a large dataset may contain little information about a changing financial system if the trading conditions of interest prevailed only briefly. Twenty years of observations may become less relevant after a structural market break than a shorter, more representative period. Conversely, a small recent sample may lack the power to distinguish weak effects from noise.

Statistical uncertainty also covers only part of the problem. Model risk, future market changes, broker access, execution risk and cost uncertainty remain. Thus the real research question is not merely ‘Is the p-value below 0.05?’ but Which effect sizes remain compatible with the data and with realistic implementation conditions?

10. Conclusion

Statistical power is an often overlooked counterpart to protection against overfitting. Without power planning, even a carefully executed backtest may be inconclusive. Credible quantitative research must consider minimum economic benefit, sample length, temporal dependence, confidence intervals and the total number of hypotheses investigated together. The objective is not to manufacture more statistically significant outcomes, but to develop evidence strong enough to inform a decision—including a well-supported decision to discontinue an idea.

References and verifiable sources

Related material: English-language overview · German-language backtesting category · German-language article on robust validation.

Educational research article; not investment advice. All numerical examples are hypothetical, not empirically measured trading results.

Information icon

Wir benötigen Ihre Zustimmung zum Laden der Übersetzungen

Wir nutzen einen Drittanbieter-Service, um den Inhalt der Website zu übersetzen, der möglicherweise Daten über Ihre Aktivitäten sammelt. Bitte überprüfen Sie die Details in der Datenschutzerklärung und akzeptieren Sie den Dienst, um die Übersetzungen zu sehen.