QTQuant 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 from any distribution with true mean μ\mu. The Law of Large Numbers (LLN) says the sample mean 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

This is why casinos are not gambling. On American roulette, a 1betonredwinswithprobability18/38,sothehousesexpectedtakeis1 bet on red wins with probability 18/38, so the house's expected take is 2/38 \approx 5.3$ cents per dollar — but 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 (the gambler walking away rich); a thousand trades start to pin down whether μ>0\mu > 0. 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}.

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 — a 5-sigma daily move 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, confidence intervals — 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] 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)}: about 0.02890.0289 for N=100N=100 and 0.01440.0144 for N=400N=400.

▮ 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