Quant Terminal
A1-07A1·intro·~20 min

The Law of Large Numbers and the Central Limit Theorem

probabilityllncltsimulationfat-tails

▸ Pretest — guess, even if you don't know

You flip a fair coin 10 times and get 8 heads. What does the Law of Large Numbers say about the next 90 flips?

The Law of Large Numbers

Take NN independent draws — draws where no outcome influences any other — from any distribution with true mean μ\mu. The Law of Large Numbers (LLN) says the sample mean — the plain average of the draws you actually got — converges to the truth:

XˉN=1Ni=1NXi    μas N\bar{X}_N = \frac{1}{N}\sum_{i=1}^{N} X_i \;\longrightarrow\; \mu \quad \text{as } N \to \infty

In words: X-bar-N (the bar over the X marks "average of") is the sum of all N draws, divided by N. The long arrow reads "approaches". The \infty symbol reads "infinity". So: as the number of draws N grows without limit, the running average homes in on the true mean mu.

Concrete example: average 10 rolls of a fair die and you might get 4.1; average 10,000 rolls and you will sit within a whisker of the true mean, 3.5.

This is why casinos are not gambling. On American roulette, a one-dollar bet on red wins with probability 18/38 — 18 winning slots out of 38. The house's expected take is therefore 2/385.32/38 \approx 5.3 cents per dollar (the \approx sign reads "approximately equals"). Any single spin is nearly a coin flip, and any single gambler can walk away rich. Over a million spins, though, the average take per spin locks onto 5.3 cents with almost no wiggle. The casino doesn't need to win each bet; it needs volume.

Trading translation: a strategy's true edge only reveals itself over many independent trades. Ten winning trades tell you almost nothing — that's the gambler walking away rich. A thousand trades start to pin down whether μ>0\mu > 0, i.e. whether the true average profit per trade is actually positive. This is also the honest reading of A2-01's warning that mean returns are hard to estimate. The LLN guarantees convergence, but says nothing about it being fast.

The Central Limit Theorem, stated properly

The LLN says where the sample mean goes. The Central Limit Theorem (CLT) says how it fluctuates on the way. In plain terms:

Take NN independent draws from any distribution with mean μ\mu and finite standard deviation σ\sigma. For large NN, the sample mean XˉN\bar{X}_N is approximately normally distributed, centered at μ\mu, with standard deviation σ/N\sigma / \sqrt{N}.

In words: average enough draws from any source, and the averages themselves pile up in the bell-curve shape (that is what "normally distributed" means). The bell sits on top of the true mean μ\mu. Its width is σ/N\sigma / \sqrt{N}, read "sigma divided by the square root of N" — the original spread, shrunk by root-N. "Finite standard deviation" means the spread is some definite number, not infinite.

Every clause earns its keep:

Paying off two IOUs

Two earlier lessons name-dropped the CLT and promised an explanation. Debts now settled:

What the CLT does not do

The CLT is about averages of many draws. Tomorrow's return is one draw. No averaging happens inside a single day. So the CLT does nothing to tame the fat tails from A1-03 — "fat tails" meaning extreme moves are far more common than the bell curve predicts. A 5-sigma daily move — one landing five standard deviations away from the average — remains vastly more likely than the normal distribution says, and no theorem rescues you from it.

Two further honest caveats:

Rule of thumb: trust CLT-based reasoning for estimates and averages — standard errors (the typical wobble of an estimate) and confidence intervals (ranges likely to contain the true value), both coming in A2-09. Never use it to reason about single-period risk.

See it, don't take my word

The CLT is one of the few theorems you can watch happen. A uniform distribution on [0,1][0, 1] — every number between 0 and 1 equally likely — is flat. Nothing bell-shaped about it. Its mean is 1/21/2, and its variance is 1/121/12. So the CLT predicts that means of NN draws should pile up around 0.50.5 with standard deviation 1/(12N)\sqrt{1/(12N)}.

In words: take the variance, 1/12, divide it by the number of draws N, then take the square root. That works out to about 0.02890.0289 for N=100N=100 and 0.01440.0144 for N=400N=400 — quadruple the draws, halve the spread.

▮ EXERCISE · a1-07-ex1

Simulate the CLT: using the provided seeded generator, draw 10_000 batches of N uniform(0,1) draws, compute each batch's mean, then the standard deviation (ddof=1) of the 10_000 batch means. Do it for N=100 (std_100) and N=400 (std_400). Theory predicts sqrt(1/12/N): about 0.0289 and 0.0144.

While the code runs, also plot a histogram of the batch means in your head: flat input, bell-shaped output. That transformation is the whole theorem.

⧉ Review card
What does the Law of Large Numbers say, and how does it actually work?
The sample mean of N independent draws converges to the true mean as N grows. Mechanism: swamping, not compensating — early deviations persist but get divided by an ever-larger N. Believing in compensation is the gambler's fallacy.
⧉ Review card
State the Central Limit Theorem in plain terms.
The mean of N independent draws from ANY distribution with mean μ and finite std σ is approximately normal for large N: centered at μ, spread σ/√N. Averaging manufactures normality regardless of the input shape.
⧉ Review card
Why does the CLT NOT protect you from fat-tailed daily returns?
The CLT is about averages of many draws; tomorrow's return is a single draw with no averaging inside it. Also, CLT convergence is slowest in the tails — the extremes normalize last.
⧉ Review card
Why do casinos reliably profit despite near-50/50 individual bets?
LLN: the average take per spin converges to the house edge (about 5.3 cents per dollar on American roulette) over millions of spins. Volume converts a small per-bet edge into near-certain aggregate profit — same logic as a strategy with many independent trades.

Draw it

From memory, sketch three histograms side by side: (1) single draws from uniform(0,1), (2) means of 10 draws, (3) means of 100 draws. Label the center of each and annotate the widths so they shrink in the right proportion. Then add one sentence under the sketch: why doesn't panel (3)'s bell shape apply to a single day's stock return?

◈ Calibration check

Could you state both theorems precisely and explain why the CLT applies to Sharpe estimates but not to single-day crash risk?

1 = guessing · 5 = could teach it

⏻ End of lesson

Mark it read to book its 4 review cards into your deck.

Sources & further reading