Basic Prerequisites: Elementary algebra and the idea of an average. (No prior probability needed; the sibling Probability from Zero builds the formal base.)


1. Intuition & Practical Objective

This page builds the why of statistics with no prior statistics needed. The objective is one idea: an estimate is not a number - it is a random variable, and the only honest way to report it is with its distribution.

Start with the dumbest question: I computed the average daily return of a strategy from three years of data. Why isn’t that the answer? Because a different three years would have given a different average. Your data is one draw from a random process; the average you computed is a function of a random sample, hence itself random. Statistics is the study of how that randomness behaves - how far the estimate typically lands from the truth, and how that distance shrinks as you collect more data.

Three steps:

  1. An estimator is a random variable; the truth is a fixed (unknown) constant. Write for an estimate and for the parameter it targets. has a sampling distribution - the distribution of values it takes across hypothetical repeated samples. “Confidence” is a property of that distribution, not of any single dataset.

  2. More data makes the estimate concentrate, at rate . The Law of Large Numbers says the estimate converges to ; the Central Limit Theorem says the fluctuation around is approximately normal with standard deviation - the standard error. This single fact is the reason halving your error requires four times the data, and the reason backtests need long histories.

  3. Averages are stable because of cancellation, not because the data is nice. Even from a wildly skewed population (an exponential, say), the sample mean becomes bell-shaped as grows. The individual observations stay skewed; their average does not. That emergence of normality from non-normal data is the CLT, and it is the engine behind nearly every interval and test in this folder.

The one-sentence essence. “Your estimate is a random variable; the CLT tells you its distribution is normal with spread ; everything else - intervals, tests, p-values - is a consequence of that one fact.”


2. Mathematical Ground Truth & Derivations

The sampling distribution, formally. Let be i.i.d. with mean and variance . The sample mean is

So the mean is unbiased with variance falling like - the standard deviation falls like .

Law of Large Numbers (SLLN). almost surely: the estimate concentrates on the truth (Glasserman §1.1).

Central Limit Theorem (Lindeberg–Lévy). Standardising,

so for large , . The standard error is , estimated by with .

Rewriting the sums (why this is linear, not magic). For i.i.d. data is a sum of independent zero-mean pieces each of order ; the sum has spread , and dividing by gives spread . That is the entire derivation: independent errors add in quadrature, then get divided by .

Convergence rate of the distribution (Berry–Esseen). The CLT approximation error obeys , where is the skewness-like third moment. Fat-tailed or highly skewed populations converge more slowly - the seed of every small-sample CLT failure.


3. Computational Implementation - the sampling distribution come alive

Standard library only. We draw from a skewed Exponential(1) population (mean 1, sd 1, skew 2) and watch the sampling distribution of the mean turn into a normal with the predicted spread and a skew that decays like .

Read the two columns: the standard deviation of the mean tracks (0.447, 0.183, 0.071), and the skewness of the sampling distribution decays like the CLT’s too (2.0 → 0.87 → 0.35 → 0.15). At the sampling distribution is essentially normal even though each single draw is maximally skewed. The running mean drifts around but converges to 1 - the LLN, not yet monotone at .


4. Failure Modes & First-Principles Breakdowns

  1. Reporting a point estimate with no error bar. is meaningless without . “8% ± 2%” is a claim; “8%” is a guess. The single most common beginner error in quant reporting.
  2. Reading the sampling distribution as the population. The distribution in the plot above is of the mean, not of daily returns. Daily returns stay skewed and fat-tailed forever; it is only the average that normalises. Confusing the two makes you under-state tail risk.
  3. Forgetting that the CLT needs large and light tails. The Berry–Esseen bound depends on the third moment; a Pareto-tailed population (infinite variance) has no CLT at all in the form, and even finite-variance fat tails need large .
  4. The trap. To double precision you need 4× the data; to get one more significant digit, 100×. Short backtests therefore carry irreducible estimation error no amount of cleverness removes.
  5. Treating as . Many people intuitively expect errors to fall proportionally to sample size. They fall like its square root - the reason estimation is hard.

5. References

  • Casella & Berger, Statistical Inference
  • Glasserman, Monte Carlo Methods in Financial Engineering
  • Hastie, Tibshirani & Friedman, ESL
  • Tsay, Analysis of Financial Time Series

6. Connected Graph Bridges