Sums of almost anything
The central limit theorem is the reason one distribution turns up everywhere, and it deserves its reputation. Add up enough independent draws from almost any distribution, standardise the total, and the result approaches the same bell — regardless of what was being added up.
Starting from something that is not a bell
The demonstration is only interesting if the source is genuinely unlike the answer. The exponential distribution is a good choice: it lives entirely on the positive half line, it has its mode at zero, and its skewness is 2 — pronounced, and in a fixed direction.
Sum n of them, subtract the mean, divide by the standard deviation, and plot. At n = 1 the picture is the exponential itself, which looks nothing like a bell. By n = 8 it is close. By n = 30 the difference is hard to see.
That much is the standard demonstration. What makes it a measurement rather than an illustration is the number beside it.
Predicting the rate before drawing it
The skewness of a standardised sum of n independent copies of a distribution with skewness γ is exactly γ/√n. For the exponential, γ = 2, so the standardised sum of n draws should have skewness
That is a prediction with no free parameters. At n = 8 it says 0.707; at n = 30 it says 0.365.
The figure computes the skew from the forty thousand simulated sums and prints both numbers. They agree. Every drag position is a fresh test of the same prediction, and the assertion behind the figure requires the agreement — so a frame in which the theory and the measurement disagreed would fail the build rather than being drawn.
This is what separates a demonstration from an argument. Anyone can show a histogram approaching a curve. Showing that the rate of approach is what the theory says is a claim the figure could fail.
What the theorem requires
The theorem is often stated loosely enough to sound universal, and it is not. Three conditions, each of which fails somewhere in practice.
Finite variance. A Cauchy distribution has none, and sums of Cauchy draws are Cauchy however many are added — the standardised sum does not converge to anything. This is not a pathological curiosity: heavy-tailed distributions with infinite or barely finite variance turn up in finance, in network traffic and in city sizes.
Independence. Correlated draws sum differently, and the effective sample size is smaller than the count. This is the commonest failure in real data, and it usually shows up as an interval that is far too narrow.
Identical distribution, or a condition weak enough to replace it. Sums of things with wildly different scales are dominated by the largest, and the sum inherits its shape rather than the limit’s.
Each of those is a reason a real dataset might not behave as the theorem promises, and none of them is visible in a picture of a converging histogram.
The part that gets over-read
The theorem says the distribution of the sum approaches normality. It says nothing about the distribution of the individual observations, and the inference in the other direction is not available.
Heights being roughly normal is not a consequence of the central limit theorem unless height is a sum of many small independent contributions of comparable size — which is an empirical claim about biology, not a mathematical one. Plenty of quantities that are sums are not usefully normal at any realistic n, and plenty of quantities that are roughly normal are not sums of anything.
The theorem licenses a statement about a sampling distribution. It is used, constantly, to license a statement about a population, and those are different claims.
Where the demonstration stops being enough
The convergence shown here is of the shape, judged by eye and by one summary number. That is the right thing to show first and it is not the thing that decides whether an approximation is usable.
Convergence in the tail is far slower than convergence in the middle, and the tail is where a p-value or a control limit is read. The histogram above has converged to the eye at n = 8 and is still substantially wrong three standard deviations out at n = 1280.
So the honest summary of this essay is: the theorem is true, its rate in the middle is predictable and confirmed here, and neither of those facts establishes that the approximation is safe for the use it is about to be put to.
The rate, and the constant in front of it
The skew check confirms one moment. The general statement about how fast the whole distribution converges is the Berry–Esseen theorem, and it is worth knowing because it puts a bound on the error rather than describing a tendency.
For independent identically distributed draws with finite third moment, the maximum difference between the standardised sum’s distribution function and the normal’s is at most
where ρ is the third absolute moment and C is a universal constant, known to be below 0.47.
Two things follow. The convergence is 1/√n, which is slow: halving the error needs four times the data. And the constant involves the source distribution’s third moment, so a badly skewed source converges from further away — which is what the exponential demonstration is showing when the skew at n = 1 is 2 and at n = 30 is 0.365.
The bound is on the largest difference anywhere in the distribution. It says nothing about the relative error in the tail, which is a different quantity behaving much worse.
Sums of unequal things
The identical-distribution requirement can be weakened, and the weakened version is more useful because real sums are rarely of identical things.
Lindeberg’s condition is the standard replacement, and informally it says: no single term may dominate. If the variance of the sum is not concentrated in a few of its components, convergence still holds even when the components have different distributions.
That is the condition to check in practice, and it fails more often than the independence one is usually suspected of failing. A total that is mostly one large contribution plus many small ones inherits the shape of the large contribution, however many small ones there are. Income, city sizes, insurance losses and file sizes all have that character.
The failure is easy to test for and rarely tested: compute each component’s share of the total variance and look at the largest.
What breaks with dependence
Independence is the assumption most often violated and the least often noticed, so it is worth being concrete about the damage.
Positively correlated draws sum with a larger variance than n times the individual variance. The standardised sum still converges to a normal under conditions, but the standardisation constant is wrong if computed as though independent — so the practical failure is not a wrong shape, it is a wrong scale.
That produces intervals and tests that are too narrow, by a factor that depends on the correlation and can be large. Repeated measures on the same subject, observations close in time, and anything clustered by site or school or household all have it.
There is no correction that works without modelling the dependence, which is why the design of the study rather than the analysis is where this is usually decided.
Why the theorem gets misapplied
Two habits worth naming, since both are common.
Using it to justify treating the data as normal. The theorem is about the sampling distribution of a sum or mean, not about the population. Nothing in it says a single observation is normal, and procedures that depend on the observations rather than on their mean get no protection from it.
Treating n = 30 as sufficient. The number is folklore. How large n needs to be depends entirely on the source’s skew and on where the distribution is being read — the Berry–Esseen constant contains the third moment for exactly this reason. For a badly skewed source read in the tail, n = 30 is nowhere near enough, and the measurement of that gap is the next essay.
Why this is the most over-quoted theorem in the subject
A closing observation about how the theorem is used, since it is invoked far more often than it applies.
It is correct, it is remarkable, and it licenses one specific thing: treating the sampling distribution of a sum or a mean as approximately normal, at a sample size large enough for the source’s skew, when the draws are independent and no one of them dominates.
It is routinely used instead to license: treating the data as normal, treating a median or a variance or a ratio as normal, ignoring dependence, and reading a tail. None of those follows.
The mismatch matters because the theorem carries enormous authority — it is the one result everyone remembers — and that authority gets transferred to claims it does not support.
The defence is the same as everywhere here. Ask what the normality is needed for, ask at what sample size, and ask where in the distribution the answer will be read. The theorem answers one of those three, and the other two are measurements.
The other limit theorems
The central limit theorem is one of a family, and knowing the neighbours makes clearer what it does and does not say.
The law of large numbers says the sample mean converges to the true mean. That is about the location settling; the central limit theorem is about the shape of the remaining error. They are different statements and the second is much stronger.
The stable laws generalise it. When the variance is infinite, standardised sums still converge — not to a normal, but to another stable distribution with heavier tails. The normal is the special case where the variance is finite, and the family explains what happens when it is not.
Extreme value theory does for maxima what the central limit theorem does for sums: the standardised maximum of many draws converges to one of three distributions. That is the theorem to reach for when the quantity of interest is the largest value rather than the total — and it is why the bootstrap fails for a maximum while working for a mean. Different limit, different machinery.
Knowing which theorem applies to the statistic in hand is most of the work. Applying the central limit theorem to a maximum is a category error that produces a confident wrong answer.
Where the demonstration is honest about itself
A note on the figure’s own limits, since the site’s discipline applies to its own figures.
It shows forty thousand sums at each n, so the histogram is a good estimate of the density — but only where the density is appreciable. In the far tails of the plot there are few observations and the histogram is noisy, which is invisible at the scale drawn.
That is the same asymmetry the essay is about, appearing in the instrument rather than the subject: the body of the picture is well estimated and the tail is not, and no reasonable number of simulations changes that.
Which is why the tail comparison on this site is done against the exact binomial rather than against a simulation. A simulation cannot resolve a probability of 1e-5 without hundreds of millions of draws, and the exact answer is a loop.