Sample versus Population
- Category
- Quantitative Finance
- Level
- Professional
Simple definition
The gap between the data you actually have and the much larger set of outcomes you wanted to learn about. Every statistic you compute lives on the near side of that gap.
Professional definition
The distinction between a population parameter, which is fixed and unknown, and a sample statistic, which is observed and varies from sample to sample. All inference is an attempt to bound how far the second can sit from the first, and the standard error is the basic measure of that distance.
Technical definition
Estimation treats the observed data as one draw from a process. The parameter is a property of the process; the statistic is a property of the draw. Sampling error shrinks only with the square root of the sample size, and it shrinks at all only if the sample is representative — a condition that selection, survivorship and non-stationarity each break, and which no larger sample can repair.
Academic definition
The distinction between the fixed, unobserved parameters of a data-generating process and the realised statistics of a finite draw from it, which together define the problem of statistical inference.
Mechanism
A backtest is one realised history, not the population of histories that could have occurred. The crises it contains happened once, in one order, at one set of valuations. Any statistic read off it inherits that single path, so its apparent precision is a property of the draw and not of the process that produced it.
In practice
- Who uses it
- Strategy researchers, backtest reviewers, risk modellers calibrating from history, and anyone quoting a win rate or Sharpe ratio from a track record.
- Why it matters
- It sets how much weight a measured result can carry. Without it, a strategy's historical numbers get read as its properties rather than as estimates with error bars.
- Limitations
- Larger samples reduce random error but not bias. A long history that excludes delisted instruments or failed venues is unrepresentative at any length.
Common mistakes
- Reading backtest statistics as the strategy's true parameters.
- Assuming more history always means more reliable estimates.
- Confusing a longer sample with an independent one when returns are autocorrelated.
Examples
With 1.0% daily standard deviation, the standard error of the mean is 0.063% at 250 observations, 0.032% at 1,000 and 0.016% at 4,000. Halving the uncertainty costs four times the data, every time.
- population standard deviation estimated at s = 1.0% per day
- standard error of the mean = s / sqrt(n)
- n = 250: 1.0 / sqrt(250) = 0.063246%
- n = 1000: 1.0 / sqrt(1000) = 0.031623%
- n = 4000: 1.0 / sqrt(4000) = 0.015811%
Verified numerically. The square-root law holds only for independent observations. With autocorrelated returns the effective sample size is smaller than n, so the true standard error is larger than this formula gives.
A ten-year backtest covering one tightening cycle has seen that regime once. Its drawdown statistic estimates how the strategy behaves in that realised path, not across the distribution of cycles it might meet next.
Mathematical foundation
Variables
| \mu, \sigma | Population parameters: fixed, unknown properties of the generating process | same unit as the data |
| \bar{x}, s | Sample statistics: observed, and different in every sample | same unit as the data |
| \mathrm{SE}(\bar{x}) | Standard error: the standard deviation of the sample mean across samples | same unit as the data |
| n | Sample size, counted in genuinely independent observations | count |
Procedure
Say explicitly what population the sample is meant to represent and what process generated it. Compute the statistic, then compute its standard error. Report the two together, so the estimate always arrives with its uncertainty. Then ask separately whether the sample is representative at all, because the standard error does not measure bias and no sample size removes it.
Worked example
- s = 1.0% per day
- three sample sizes: 250, 1000, 4000 independent observations
- SE(250) = 1.0/sqrt(250) = 0.063246%
- SE(1000) = 1.0/sqrt(1000) = 0.031623%
- SE(4000) = 1.0/sqrt(4000) = 0.015811%
Interpretation
Every number from a backtest is a sample statistic. The population it is meant to describe — the distribution of histories the strategy could face — was never observed and never will be. That gap is why out-of-sample testing, walk-forward evaluation and simulation exist: they are attempts to probe the population using the one sample available.
Assumptions
- The square-root law assumes independent observations. Autocorrelation and volatility clustering reduce the effective sample size, so the true standard error exceeds the formula's value.
- The sample must be drawn from the same process as the population of interest; a regime change inside or after the window invalidates the whole exercise regardless of n.
- The standard error quantifies random sampling noise only. Selection bias, survivorship bias and lookahead contamination are not sampling noise and are not reduced by more data.
- A single realised history cannot reveal how often its crises would recur, so tail parameters estimated from it are the least reliable part of the estimate.
- Reusing the same sample to search for a strategy and then to evaluate it destroys the inference entirely, which is the multiple-comparisons problem in its backtest form.
Related terminology
- related
- Hypothesis Testing p-value Confidence Interval Variance Standard Deviation Law of Large Numbers Central Limit Theorem Backtesting Monte Carlo Simulation Survivorship Bias In-Sample versus Out-of-Sample Data Snooping Overfitting Walk-Forward Testing
In-Sample versus Out-of-Sample
Splitting a dataset gives two samples, not a population. Out-of-sample testing reduces the risk of fitting noise but does not close the gap between one history and the set of histories that could occur.
Sources
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
This entry in other languages
نمونه در برابر جامعهٔ آماری · نمونە بەرامبەر کۆمەڵگەی ئاماری
