Probability

How fast the bell arrives

The limit theorem says a standardised sum approaches the bell curve and says nothing about when. The rate is one over the square root of the number of terms, the constant in front is made of the third moment, and both are visible.
17 min read 6 figures Order out of noiseSmall cases lie

Worth reading first: The shape that averaging leaves alone · A bell curve assembled out of coin flips.

A theorem that says a sequence converges is only half an answer. The other half is how fast, and for the limit theorem the answer is unwelcome: the error falls like one over the square root of the number of terms, which is the slowest rate that anybody calls convergence.

How fast a sum becomes a bell curveThe largest gap between the distribution of a standardised sum and the bell curve, against the number of terms, on logarithmic axes. Both summands fall along a line of slope about minus a half.2481632641280.030.10.3number of termslargest gap to the bell curvea fair coin, ±1 — slope −0.470 nine times in ten, 10 otherwise — slope −0.46the largest gap between the exact distribution of a standardised sum and the bell curve, computed byconvolution at n = 2, 4, 8, 16, 32, 64, 128a fair coin, ±1: skewness 0.00, slope −0.474 · 0 nine times in ten, 10 otherwise: skewness 2.67, slope−0.461 — both lines have slope about −1/2, and the lopsided one sits above the symmetric onethroughout
Fig. 1 The largest gap between the exact distribution of a standardised sum and the bell curve, against the number of terms, on logarithmic axes. Both summands give a line of slope about minus a half, and the lopsided one sits above the symmetric one at every count.

Both quantities in that picture are computed rather than sampled: the distribution of the sum is built by convolving the one-step distribution with itself, and the gap is the largest difference between its cumulative distribution and the bell curve’s. The straight lines on logarithmic axes are what a power law looks like, and their slope is the exponent.

The rate, stated

The theorem is Berry’s and Esseen’s, from 1941 and 1942 independently. For independent copies of a quantity with mean zero, standard deviation σ\sigma and third absolute moment ρ\rho,

supxFn(x)Φ(x)Cρσ3n,\sup_x \left| F_n(x) - \Phi(x) \right| \le \frac{C \rho}{\sigma^3 \sqrt{n}},

where FnF_n is the cumulative distribution of the standardised sum, Φ\Phi is the bell curve’s, and CC is an absolute constant — currently known to be below 0.47480.4748 and known to be at least 0.40970.4097.

Three features of that statement are worth pulling out.

The rate is n1/2n^{-1/2} and no better in general. Quadrupling the number of terms halves the error. To get two more decimal places, multiply the terms by ten thousand.

The constant carries the third moment. The quantity ρ/σ3\rho/\sigma^3 is essentially the skewness — how lopsided the summand is — and it is the only feature of the summand that appears. A symmetric summand has a smaller one; a badly lopsided one has a large one, and its sums are correspondingly further from the bell at every nn.

The bound is uniform in xx. It controls the worst point of the whole distribution at once, which is what makes it usable and also what makes it pessimistic: the worst point is not where most of the mass is.

Where the square root comes from

The rate is not an artefact of the proof. It comes from the first correction term to the limit, and that term can be written down.

Expanding the distribution of a standardised sum in powers of 1/n1/\sqrt{n} — the Edgeworth expansion — gives

Fn(x)=Φ(x)γ6n(x21)ϕ(x)+O ⁣(1n),F_n(x) = \Phi(x) - \frac{\gamma}{6\sqrt{n}}\left(x^2 - 1\right)\phi(x) + O\!\left(\frac{1}{n}\right),

where γ\gamma is the skewness and ϕ\phi the bell curve’s density. The leading error is exactly the skewness divided by 6n6\sqrt{n}, multiplied by a fixed shape.

That formula explains the whole of the first figure. The slope is 1/2-1/2 because the leading term carries n1/2n^{-1/2}. The lopsided summand sits above the symmetric one because γ\gamma is larger. And the shape (x21)ϕ(x)(x^2-1)\phi(x) vanishes at x=±1x = \pm 1 and peaks near the shoulders, so the error is concentrated where the distribution is bending rather than at its peak or in its tails.

A lopsided distribution added to itself, and the shape that returnsOn the left, the exact distribution of a sum of copies of one lopsided distribution, standardised, for several counts: the shapes converge. On the right, the bell curve convolved with itself, which is the bell curve again.-3-2-101230.00.20.40.6standardised valuen = 2n = 4n = 16n = 64the sums, standardised-4-20240.00.10.20.30.4valuethe bell, convolved with itselfone bell curvewidened by √2the convolution, computed0 nine times in ten, 10 otherwise, added to itself 4, 16, 64 times and standardised each time: the largest gapto the bell curve falls 0.491 → 0.404 → 0.206 → 0.105on the right, the bell curve convolved with itself on a grid, against the bell curve widened by √2 — the twoagree to 6.1e-16, which is what being the fixed point of the operation means
Fig. 2 The convergence the rate is about, drawn as shapes: a lopsided summand’s sums, standardised, closing on the bell curve. The gaps quoted under it are the quantity the first figure plots.

What a symmetric summand buys, and what it does not

If the summand is symmetric, the skewness is zero and the leading term vanishes — so the error should fall like 1/n1/n rather than 1/n1/\sqrt{n}. The first figure shows a symmetric summand, a fair coin, converging at n1/2n^{-1/2} all the same. The discrepancy is instructive.

A Galton board after 600 balls600 balls fall through 8 rows of pegs, each bouncing left or right at random, and pile up in a bell-shaped heap.2206012518012271191left or right, 8 times, 600 times over
Fig. 3 Eight rows of a board: nine bins, and the distribution of the sum lives on nine points rather than on a continuum. The gap between a staircase and a smooth curve is at least half a step, and the steps here are of size one over the square root of the row count.

The reason is lattice spacing. A sum of nn coin flips lives on a lattice of spacing 22, and after dividing by n\sqrt{n} the spacing is 2/n2/\sqrt{n}. Its cumulative distribution is a staircase with steps of that height, and no smooth curve can be closer to a staircase than half a step. So the discreteness alone forces a gap of order n1/2n^{-1/2}, whatever the skewness does.

This is a real effect and not a technicality: the improvement from symmetry is available for summands with a density and unavailable for lattice ones. For a lattice summand there is a correction — a continuity adjustment, which shifts the comparison by half a step — and with it the error does fall like 1/n1/n for symmetric cases. Without it, the rate is what the picture shows.

The general lesson is that a rate can be limited by something entirely unrelated to the mechanism it is supposed to measure. Here the mechanism is smoothing by convolution and the limit is set by arithmetic — the sum of whole numbers is a whole number, and no amount of averaging changes that.

The middle and the tails converge at different speeds

The Berry–Esseen bound is uniform, and uniformity conceals the most important practical fact about the approximation: it is far better in the middle than at the edges.

Consider a sum of a hundred independent draws and ask for the chance of exceeding four standard deviations. The bell curve says about 3×1053 \times 10^{-5}. The true answer depends heavily on the summand and can easily be a factor of two or ten away, in either direction — while the Berry–Esseen bound at n=100n = 100 is about 0.050.05, which is a thousand times larger than the quantity being estimated and therefore says nothing at all.

The bound is not weak; it is answering a different question. It controls the absolute error uniformly, and in the tail the absolute error being small is compatible with the relative error being enormous. Getting the tail right needs a different theory altogether, in which the error is multiplicative and the rate depends on how far out the question is asked.

How fast a sum becomes a bell curveThe largest gap between the distribution of a standardised sum and the bell curve, against the number of terms, on logarithmic axes. Both summands fall along a line of slope about minus a half.2481632640.010.030.10.3number of termslargest gap to the bell curvea fair die — slope −0.500 nine times in ten, 10 otherwise — slope −0.45the largest gap between the exact distribution of a standardised sum and the bell curve, computed byconvolution at n = 2, 4, 8, 16, 32, 64a fair die: skewness 0.00, slope −0.503 · 0 nine times in ten, 10 otherwise: skewness 2.67, slope−0.451 — both lines have slope about −1/2, and the lopsided one sits above the symmetric onethroughout
Fig. 4 Two more summands, a fair die and a badly lopsided pair of values, over a shorter range. The slopes are the same and the vertical offset between the two lines is the ratio of their skewnesses — which is what the constant in the bound is made of.

That distinction — absolute error uniform, relative error unbounded in the tail — is the single most useful thing to carry away from this rung, because the bell curve is used most often precisely where it is worst: to estimate the chance of something rare. The same trap in another subject is a ratio tending to one while the difference grows without bound.

The extremal case, and where the constant comes from

A bound with a constant in it invites the question of what makes the constant what it is, and here the answer is a specific distribution.

The distribution that meets the bound at 2.5 standard deviationsA three-valued distribution whose mass beyond k standard deviations is exactly the bound. It shows the inequality cannot be improved without assuming more than a variance.−2.5σ0.0800the mean0.8400+2.5σ0.0800three values, at −2.5, 0 and 2.5 standard deviations, with weights 0.0800, 0.8400, 0.0800the mass at 2.5 standard deviations or beyond is 0.1600, which is exactly 1/2.5² — so no bound ofthis kind can be lower, whatever else is assumed about the shape
Fig. 5 The distribution that meets Chebyshev’s bound exactly at two and a half standard deviations: mass at three points and nothing in between. The extremal cases for the rate above are of the same character — two points rather than three, and chosen so that the sum’s staircase is as far from a smooth curve as the moment constraint permits.

The lower bound of 0.40970.4097 on the constant comes from a two-point summand taking one value with a small probability and another with a large one, and it is a lattice distribution — so the mechanism forcing the constant up is the same staircase effect that stops a symmetric coin from converging faster. The worst case for the rate is not a badly skewed continuous distribution but a discrete one, whose sums can never be smooth at all.

Shevtsova brought the upper constant down to 0.47480.4748 in 2011, from Esseen’s original value of about 7.597.59, and the gap between the two numbers has been the state of the subject for over a decade. That gap is worth noticing: the theorem is eighty years old, the constant is known to within about fifteen per cent, and closing the remaining gap has resisted everybody who has tried.

The exact answer, when it is available

For sums of independent copies of a known discrete quantity, none of this machinery is needed, and it is worth saying plainly because it is often forgotten.

One walk at three magnifications, and the shape it is heading forThe same random walk over three windows, each ten times longer than the last and scaled vertically by the square root of ten, so all three look alike. Beside them, the exact distribution of the position after a few step counts, standardised, closing on the bell curve.200 steps±√t drawn dashed2,000 steps±√t drawn dashed20,000 steps±√t drawn dashed-3-2-101230.00.10.20.30.4position ÷ √nn = 4, gap 0.187n = 16, gap 0.098n = 64, gap 0.050n = 256, gap 0.025the position, standardisedone walk of 20,000 steps, seen over its first 200, 2,000 and 20,000 steps, with the vertical scale shrunk by the square root of the horizontal one each timeon the right, the exact distribution of the position after 4, 16, 64, 256 steps, standardised: the largest gap to the bell curve falls 0.187 → 0.098 → 0.050 → 0.025
Fig. 6 The exact distribution of a walk’s position after 4, 16, 64 and 256 steps, standardised, against the bell curve — with the largest gap printed for each. Every one of those numbers was computed by convolution rather than by simulation or by a bound.

Convolving a distribution with itself nn times is a finite computation whose cost grows with the size of the support, and for the sums drawn in this rung it takes a fraction of a second. The result is not an approximation at all: it is the distribution, and every probability the sum has can be read off it directly.

The approximation earns its place in three situations, and only in those. When the summands have different distributions, so there is nothing to convolve repeatedly. When the summands are not known individually and only their moments are available. And when the number of terms is large enough that convolution is impractical — which, for a summand on a lattice, means very large indeed.

The habit worth having is to check whether the exact computation is available before reaching for the limit. In this collection it usually is, which is why every figure in this ladder is exact and the theorem is discussed rather than used.

How the theorem grew a hypothesis, and then lost one

The rate arrived late in a long process of finding out what the limit theorem actually requires.

De Moivre had the coin-flipping case in 1733 and Laplace generalised it in 1812, both for sums of identically distributed terms. The question of what happens when the terms differ took another century. Lyapunov gave a workable condition in 1901 — a bound on a moment slightly higher than the second — and it is his method, the characteristic function, that every subsequent proof uses.

Lindeberg replaced it in 1922 with a condition that turned out to be the right one: no single term may contribute a significant share of the total variance. Feller showed in 1935 that, in the presence of a mild extra requirement, Lindeberg’s condition is not merely sufficient but necessary, so the question of when sums are asymptotically normal was closed.

Berry and Esseen then asked the quantitative version and found that a bound needs slightly more than Lindeberg’s condition: a third moment, which the condition does not require. That is the shape of the whole story — the qualitative theorem needs less than anybody expected and the quantitative one needs more, and the extra moment is exactly the price of a number instead of a limit.

How many terms are enough

The practical question has a practical answer, and it depends on what is being asked for rather than on a number of terms.

For the centre of the distribution — the chance of being within one or two standard deviations — a handful of terms is often enough, and the folklore figure of thirty comes from that. For the shoulders the requirement is larger. For a tail probability of one in a thousand, no plausible number of terms makes the bell curve reliable if the summand is lopsided, because the relative error there is governed by the tail of the summand, which never disappears.

The honest procedure is the one this rung’s figures use: for a sum of independent copies of a known discrete quantity, the exact distribution is computable by convolution, and the approximation is unnecessary. The limit theorem earns its place where the summands are not identically distributed, are not known individually, or are too numerous to convolve — and in exactly those cases the rate is the only thing available.

What the rate is not

Two readings of the bound are common and both are wrong.

It is not a statement that the sum is nearly normal after enough terms in every sense. It bounds one particular distance — the largest vertical gap between two cumulative distributions — and a small value of that distance is compatible with the two densities looking quite different, since a density is a derivative and derivatives are not controlled by a bound on the functions.

It is also not a statement about a particular sum. Everything here concerns distributions, and a single realised sum is a number; asking whether that number is close to normal is not a question. The same confusion between a sample and a distribution is what makes the convergence of a rescaled walk hard to state, and it is worth guarding against wherever a limit theorem is quoted about data rather than about a law.

What the bound does say is exactly what it says: at nn terms, no probability computed from the bell curve is wrong by more than a stated amount. That is a modest claim and a genuinely useful one, and it is the strongest thing available without knowing more about the summand than its first three moments — which is the same trade that Chebyshev’s inequality makes at the level of two.

What the picture cannot show

The plot stops at a hundred and twenty-eight terms, and the interesting range for the tail question is unreachable: the quantity that misbehaves is a probability of order 10510^{-5}, and a plot of the gap in absolute terms cannot show a relative error in something that small.

The lines are also computed for one summand each. The Berry–Esseen bound is over all summands with a given third moment, and the worst case is not the die or the coin — it is a two-point distribution chosen to be as lopsided as the constraint allows, and the constant 0.40970.4097 mentioned above comes from a family of exactly such examples.

And the whole picture is about sums of independent, identically distributed quantities. Both hypotheses can be relaxed and the rate survives in a modified form, but a figure of this kind would have to choose a particular way of relaxing them, and the choice would carry more of the answer than the drawing would.

The ladder from here

Below: the bell curve from coin flips, the two scalings and the fixed point that identifies the limit. Sideways: the average that never settles, where the third moment is infinite and the rate is not merely slow but absent, and Chebyshev’s inequality, which gives a bound with no convergence at all and needs only two moments. Above: large deviations, where the tail is measured multiplicatively and the answer is an exponential rate rather than a power.

A theorem, and the question it does not answer

The lasting point is that an existence statement and a rate are different results with different proofs, and that the first is nearly useless without the second.

The sums converge to the bell curve is compatible with the approximation being worthless at every sample size anybody will ever have. What makes it usable is a bound with a number in it, and the bound turns out to depend on the summand through exactly one quantity — its skewness — which is a stronger and more surprising statement than the convergence itself.

Asking how fast is the standard follow-up to any limit in this collection, and it is nearly always harder than the limit. The count of primes converges to its estimate and the rate is the deepest open problem in the subject; an iteration converges to its fixed point and the rate is what decides whether the iteration is worth running.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

ApproximationConvergence rateCounterexampleExpectationHeavy tailsNormal distributionScalingVariance