The central limit theorem (Lindeberg–Lévy) says that for independent observations with one distribution of mean $\mu$ and finite variance $\sigma^2$, $P\big((\bar{X}_n - \mu)/(\sigma/\sqrt{n}) \le z\big) \to \Phi(z)$ for every $z$, whatever the population's shape. It concerns the mean, not the data, and names no sample size. This article proves that the skewness of a mean is $\gamma/\sqrt{n}$: bringing it to 0.2 takes 27 NHANES blood pressures ($\gamma = 1.04$) but about 1,557 C-reactive protein values ($\gamma = 7.9$). For exponential means the largest error is about $0.133/\sqrt{n}$, and one-sided tails converge more slowly than two-sided ones. The Berry–Esseen bound, with $C < 0.4748$, guarantees the $1/\sqrt{n}$ rate. It fails under infinite variance (Cauchy means stay Cauchy) or a shared component, and correlation changes the standard error.
C-reactive protein (CRP) is made by the liver, and its level in the blood rises with inflammation of almost any cause, so it detects inflammation readily but does not say where it comes from. A high-sensitivity assay for it is used mainly to assess the risk of cardiovascular disease (National Center for Health Statistics, 2020b). Among the 5,146 adults of the National Health and Nutrition Examination Survey (NHANES) of 2017 to 2018 with a measurement, its distribution is about as far from a bell curve as a medical measurement gets. The median is 1.94 mg/L, the mean 4.17 and the largest value 182.8. The skewness is 7.9, against 1.0 for systolic blood pressure, and the top 1% of adults account for 15.6% of the total. Yet the means of random samples of 400 of these adults have a nearly normal distribution, while the means of samples of 30 are clearly skewed. Why should averaging make such a distribution normal at all, and why does it take so many observations?
The central limit theorem answers the first question and, read carefully, the second too. It says that the mean of many independent observations with finite variance has a distribution close to normal, whatever the shape of the population. It takes so many observations of CRP because the skewness of a mean falls only in proportion to $1/\sqrt{n}$, and CRP starts from 7.9. The Sampling Distribution of the Mean established the center and spread of a sample mean, $\mu$ and $\sigma/\sqrt{n}$, for any population. This article concerns its shape.
First we state the theorem and read it closely, because its popular paraphrase is wrong in several ways. Then we watch it work exactly on exponential means, measure how fast it works on blood pressure and CRP, and bound its error. Next we see where it fails: infinite variance and dependence. Finally we state what is proved about it, with the proofs in Moment Generating Functions and Slutsky's Theorem, and trace its history.
The theorem
The version used throughout an introductory course is the one for independent, identically distributed observations, proved in this generality by Lindeberg (1922) and Lévy (1925). In plain words: standardize the mean so that it has mean 0 and standard deviation 1, and its probabilities approach those of the standard normal curve.
Theorem (Lindeberg–Lévy). Let $X_1, X_2, \ldots$ be independent random variables with a common distribution that has mean $\mu$ and finite variance $\sigma^2 > 0$, and let $\bar{X}_n = \frac{1}{n}\sum_{i=1}^n X_i$. Then for every real number $z$,
$$\lim_{n \to \infty} P\left(\frac{\bar{X}_n - \mu}{\sigma/\sqrt{n}} \le z\right) = \Phi(z),$$
where $\Phi$ is the standard normal distribution function.
Multiplying numerator and denominator by $n$ gives the same statement for the sum $S_n = \sum X_i$, standardized as $(S_n - n\mu)/(\sigma\sqrt{n})$. That is the form in which Grinstead and Snell (1997, Theorems 9.4 and 9.6) state it. In practice it is used as an approximation for a fixed, large $n$. In this site's notation, where the second argument is the standard deviation,
$$\bar{X} \approx N\!\left(\mu,\ \frac{\sigma}{\sqrt{n}}\right), \qquad S_n \approx N\!\left(n\mu,\ \sigma\sqrt{n}\right).$$
The conclusion is a statement about distribution functions, called convergence in distribution: the probability that the standardized mean is at most $z$ approaches the normal probability, for every $z$. The hypotheses are three:
- the observations are independent;
- they have one common distribution;
- that distribution has a finite variance.
Nothing is assumed about its shape. It may be skewed, discrete, bimodal or bounded.
What it says and what it does not
The theorem is often paraphrased as "large samples are normal". That is wrong in several ways at once.
Example (a large sample is not a normal sample). A study collects CRP from 400 adults. A histogram of the 400 values will not be close to a normal curve. A sample of 400 CRP values has the same skewed shape as the population, only more of it. What becomes normal is the distribution of the mean over repeated samples. The theorem says nothing about the data themselves.
Example (a common misstatement). "Sample means follow a normal distribution." They follow it approximately, with an error that the sections below measure. Only for a normal population is the normal distribution of the mean exact, for every $n$.
The other points are subtler.
- It is about the standardized mean. The sample mean itself does not approach a normal distribution. It piles up at $\mu$, since its standard deviation $\sigma/\sqrt{n}$ goes to zero. That is the law of large numbers, stated and proved in Moment Generating Functions and Slutsky's Theorem. The theorem describes the shape of the fluctuations around $\mu$ on the scale of $\sigma/\sqrt{n}$.
- It gives no sample size. A limit says what happens eventually, not when. How large $n$ must be depends on the population, and the next sections measure it.
- It is about distribution functions. The count of successes in $n$ trials, a sum of zeros and ones, never has a density. Its distribution function approaches the normal one, which is why approximating it needs the continuity correction of The Normal Approximation to the Binomial.
- It uses the true $\sigma$. Replacing $\sigma$ by the sample standard deviation $s$ changes the distribution for small samples: that is Student's $t$, in Confidence Intervals for a Mean: z and t. For large samples $s$ is close to $\sigma$ and the limit is the same. That needs a separate argument, Slutsky's theorem, which Moment Generating Functions and Slutsky's Theorem states and, for this case, proves.
- It needs finite variance and independence. Both conditions can fail in practice, and the theorem then fails too, as shown below.
The theorem covers more than means of measurements.
- A binomial count is a sum of independent Bernoulli variables, so it is approximately normal for large $n$: the de Moivre–Laplace theorem.
- A Poisson count with a large mean $\lambda$ is a sum of many independent Poisson counts with small means, so it too is approximately normal, as The Poisson Distribution uses.
- A sample proportion is a sample mean of zeros and ones.
- A smooth function of a mean, such as a log relative risk, is approximately normal too, with a standard error from its derivative: The Delta Method proves this from the theorem and Slutsky's theorem.
- A maximum likelihood estimate from a large sample is approximately normal because the score is a sum of independent terms, to which the theorem applies; Asymptotics of the Maximum Likelihood Estimator gives the proof under regularity conditions.
Example (a common misstatement). "The central limit theorem applies to medians too." The theorem as stated concerns means and sums, and does not cover statistics that are neither. A sample median has a sampling distribution of its own, with a different standard error: 1.11 times that of the mean for samples of 25 blood pressures, as The Sampling Distribution of the Mean shows. The median is also approximately normal in large samples, but by a different theorem, cited there.
Watching it work: exponential means
For one population the distribution of a sample mean can be computed exactly, so we can watch the theorem work without simulation noise. The exponential distribution with mean 1 is the waiting time for an event in a Poisson process with rate 1. It has standard deviation 1 and skewness 2, a strong right skew.
The sum of $n$ independent exponential waiting times is the time to the $n$th event of the Poisson process, which has a gamma density (Grinstead and Snell, 1997, §9.3, Example 9.8). So the mean of $n$ exponential values has a gamma distribution with shape $n$ and scale $1/n$. The probability that the standardized mean is at most $z$ is then a regularized incomplete gamma function, computable exactly for any $n$.
The table compares the exact distribution with the normal in two ways that matter for inference. One is the largest gap between the two distribution functions over all $z$. The other is the probability in each tail beyond $\pm 1.96$, which the normal puts at 0.025.
Example (which tail is too heavy). The exponential is skewed to the right. At $n = 30$ the upper tail beyond $+1.96$ holds more than 2.5% and the lower tail less: 3.4% and 1.4%, as the table shows. A right-skewed population leaves its means with a long right tail and a short left one.
| $n$ | Largest gap $\sup_z \lvert F_n(z) - \Phi(z)\rvert$ | $P(Z > 1.96)$ | $P(Z < -1.96)$ | Both tails |
|---|---|---|---|---|
| 1 | 0.1587 | 0.0518 | 0.0000 | 0.0518 |
| 5 | 0.0596 | 0.0433 | 0.0004 | 0.0438 |
| 10 | 0.0421 | 0.0393 | 0.0058 | 0.0451 |
| 30 | 0.0243 | 0.0340 | 0.0140 | 0.0481 |
| 100 | 0.0133 | 0.0302 | 0.0192 | 0.0494 |
| 1,000 | 0.0042 | 0.0267 | 0.0232 | 0.0499 |
| 10,000 | 0.0013 | 0.0255 | 0.0244 | 0.0500 |
Three things stand out.
- The gap shrinks like $1/\sqrt{n}$. $\sqrt{n}$ times the gap is 0.1587 at $n = 1$ and 0.1330 from $n = 30$ on. That constant has a simple source. Take a continuous population with skewness $\gamma$ and a finite third moment. The Edgeworth expansion (Feller, 1971, ch. XVI) gives the distribution function of the standardized mean as $F_n(z) = \Phi(z) + \gamma(1 - z^2)\varphi(z)/(6\sqrt{n})$ plus terms smaller than $1/\sqrt{n}$. Here $\varphi$ is the standard normal density. The correction term is largest in size at $z = 0$, where it is $\gamma\varphi(0)/(6\sqrt{n})$. With $\gamma = 2$ that is $0.1330/\sqrt{n}$, and the script finds the largest gap ever closer to $z = 0$ as $n$ grows.
- The tails converge more slowly than their sum. At $n = 30$, where the popular rule of thumb would call the approximation good, the upper tail holds 3.4% instead of 2.5% and the lower tail 1.4%.
- The errors in the two tails nearly cancel. So a two-sided probability (4.81% at $n = 30$) is accurate long before either one-sided probability is.
So a two-sided 95% interval for the mean of a moderately skewed population can have nearly the right coverage while its misses fall mostly on one side. One-sided bounds for such data deserve more caution (One-Sided Confidence Bounds and Sample Size). For strongly skewed data even the two-sided coverage suffers: Confidence Intervals for a Mean: z and t finds this for lognormal data, with nearly all the misses on one side.
How fast: skewness falls as one over root n
The slow convergence of the tails comes from skewness, and the skewness of a sample mean can be computed exactly. Write $\gamma = E[(X - \mu)^3]/\sigma^3$ for the skewness of the population. Here is the idea: in the cube of a sum of independent centered terms, only the cubes of single terms have nonzero expectation. There are $n$ of them, against a variance of $n\sigma^2$, so the skewness falls like $n/n^{3/2}$.
Proposition. If $X_1, \ldots, X_n$ are independent with common mean $\mu$, variance $\sigma^2$ and skewness $\gamma$, then the skewness of $\bar{X}$ is $\gamma/\sqrt{n}$.
Proof. Let $Y_i = X_i - \mu$, so that $E[Y_i] = 0$, $E[Y_i^2] = \sigma^2$ and $E[Y_i^3] = \gamma\sigma^3$. The skewness of $\bar{X}$ is that of $\sum Y_i$, since shifting by a constant and multiplying by the positive constant $1/n$ leave skewness unchanged. Expanding the cube,
$$E\Big[\Big(\sum_{i=1}^n Y_i\Big)^3\Big] = \sum_{i=1}^n \sum_{j=1}^n \sum_{k=1}^n E[Y_i Y_j Y_k].$$
In any term whose three indices are not all equal, some index occurs exactly once (if $i = j \ne k$, it is $k$; if all three differ, it is each of them). That variable is independent of the product of the others, so the expectation factors and contains $E[Y_k] = 0$ as a factor. Only the $n$ terms with $i = j = k$ survive, and the sum is $n\gamma\sigma^3$. The variance of the sum is $n\sigma^2$, so its skewness is
$$\frac{n\gamma\sigma^3}{(n\sigma^2)^{3/2}} = \frac{\gamma}{\sqrt{n}}. \qquad \square$$
The skewness falls, but slowly, and its starting value matters as much as $n$. To bring the skewness of the mean down to 0.2 takes $n = (\gamma/0.2)^2$ observations. Systolic blood pressure, with $\gamma = 1.04$, needs 27. The exponential, with $\gamma = 2$, needs 100. Moment Generating and Characteristic Functions derives the same rule from cumulants, for populations with a moment generating function finite near 0, together with the matching rule for kurtosis: the excess kurtosis of the mean is the population's divided by $n$.
Example (the sample size CRP needs). CRP has skewness 7.89. Bringing the skewness of its mean down to 0.2 takes about 1,557 observations: $(\gamma/0.2)^2$ with $\gamma = 7.892$. That is nearly sixty times the 27 that blood pressure needs.
Example (a common misstatement). "A sample of 30 is large enough for the central limit theorem." Guidelines of this kind, such as $n \ge 15$ for roughly symmetric populations, $n \ge 30$ for moderately skewed ones and $n \ge 50$ for highly skewed ones, are reasonable for blood pressure, but no fixed number covers strongly skewed data. The skewness of a mean is $\gamma/\sqrt{n}$, so CRP, with skewness 7.9, has means of 30 more skewed than individual blood pressures. The rule of thumb of 30, which Grinstead and Snell (1997, §9.3) also give for sums, is a starting point. It should be compared with the skewness of the data and with the tail that matters, since one-sided probabilities converge more slowly than two-sided ones.
The script checked the proposition on the two NHANES populations (National Center for Health Statistics, 2020a, 2020b). It drew 10,000 samples with replacement for each of 30 seeds, and recorded the skewness of the 10,000 means and the shares of standardized means beyond $\pm 1.96$ (with the true $\sigma$). Medians over the seeds:
| Population | $n$ | Skewness of means | $\gamma/\sqrt{n}$ | Above $+1.96$ | Below $-1.96$ |
|---|---|---|---|---|---|
| Blood pressure | 5 | 0.460 | 0.464 | 0.0367 | 0.0114 |
| Blood pressure | 30 | 0.188 | 0.189 | 0.0300 | 0.0194 |
| Blood pressure | 100 | 0.106 | 0.104 | 0.0278 | 0.0215 |
| Blood pressure | 400 | 0.049 | 0.052 | 0.0265 | 0.0232 |
| CRP | 5 | 3.521 | 3.530 | 0.0460 | 0.0000 |
| CRP | 30 | 1.440 | 1.441 | 0.0481 | 0.0000 |
| CRP | 100 | 0.772 | 0.789 | 0.0430 | 0.0033 |
| CRP | 400 | 0.389 | 0.395 | 0.0340 | 0.0133 |
| CRP | 1,000 | 0.249 | 0.250 | 0.0317 | 0.0180 |
The measured skewness matches $\gamma/\sqrt{n}$ throughout. For blood pressure, means of 30 are close to normal, with tails of 3.0% and 1.9%. For CRP, means of 30 are more skewed than the blood pressures of individual adults. In the median seed none of the 10,000 means fell below the lower cutoff, and all of the 4.8% in the two tails was in the upper one. Means of 1,000 still put 3.2% above and 1.8% below.
What makes CRP slow is that a few adults with very high values supply much of its variance: 8.1% of the adults are above 10 mg/L, and the top 1% hold 15.6% of the total. A sample of 30 usually contains none of the top 1%, so its mean is a little below $\mu$. Occasionally it contains one, which pulls the mean far above. The normal approximation becomes good only when a typical sample contains many of the rare large values. A practical sign of trouble, before any theory, is a sample in which one or two observations make up a large share of the total; The Plug-In Principle and Why the Bootstrap Works tests the bootstrap on samples of 30 from this population.
Some of those high values may not describe a person's usual level. CRP is an acute-phase protein whose level may rise within six hours of an inflammatory stimulus (National Center for Health Statistics, 2020b), so a high value may reflect an inflammation at the time of the blood draw. And not every CRP result is a measured value. Results below the assay's detection limit, 0.15 mg/L, are stored by NHANES as the limit divided by $\sqrt{2}$, 0.11 mg/L (National Center for Health Statistics, 2020b). Twelve of the 5,146 adults have such a value. They affect only the far left of the population distribution and none of the conclusions here.
The Berry–Esseen bound
The skewness explains the shape of the error. How large can the error be, for a population we have not simulated? Andrew Berry (1941) and Carl-Gustav Esseen (1942) showed independently that it shrinks like $1/\sqrt{n}$, with a constant set by how far the population is from normal. Precisely, for independent identically distributed observations with a finite third absolute central moment $\rho = E\big[\lvert X - \mu\rvert^3\big]$,
$$\sup_z \left|P\left(\frac{\bar{X}_n - \mu}{\sigma/\sqrt{n}} \le z\right) - \Phi(z)\right| \le \frac{C\rho}{\sigma^3\sqrt{n}}$$
for a universal constant $C$, the same for every distribution. The theorem is cited, not proved here. The ratio $\rho/\sigma^3$ is at least 1 and grows with skewness and heavy tails. That it is at least 1 follows from the Cauchy–Schwarz inequality, $(E[UV])^2 \le E[U^2]\,E[V^2]$. The inequality has a one-line proof: for every real $t$, $E[(U - tV)^2] = E[U^2] - 2tE[UV] + t^2E[V^2] \ge 0$, a quadratic in $t$ that is never negative, so its discriminant $4(E[UV])^2 - 4E[U^2]E[V^2]$ is at most 0. (If $E[V^2] = 0$ the expression is not a quadratic, but then $V$ is 0 with probability 1 and both sides of the inequality are 0.) For the standardized variable $Y = (X - \mu)/\sigma$, taking $U = \lvert Y\rvert$ and $V = 1$ gives $(E\lvert Y\rvert)^2 \le E[Y^2] = 1$, and taking $U = \lvert Y\rvert^{1/2}$ and $V = \lvert Y\rvert^{3/2}$ gives $1 = (E[Y^2])^2 \le E\lvert Y\rvert \cdot E\lvert Y\rvert^3 \le E\lvert Y\rvert^3 = \rho/\sigma^3$. For the two NHANES populations the ratio is 1.868 for blood pressure and 7.960 for CRP. So the worst error in any probability computed from the normal approximation shrinks like $1/\sqrt{n}$, faster for populations close to normal. The best value of $C$ has been narrowed over decades. Shevtsova (2011) proved $C < 0.4748$, and Esseen (1956) showed that no constant below $(\sqrt{10} + 3)/(6\sqrt{2\pi}) = 0.4097$ can work for every distribution.
For the exponential population, $\sigma = 1$ and
$$\rho = \int_0^\infty \lvert x - 1\rvert^3 e^{-x}\,dx = \int_0^1 (1 - x)^3 e^{-x}\,dx + \int_1^\infty (x - 1)^3 e^{-x}\,dx = \Big(\frac{6}{e} - 2\Big) + \frac{6}{e} = \frac{12}{e} - 2 = 2.4146.$$
The second integral is $e^{-1}\int_0^\infty u^3 e^{-u}\,du = 6/e$ after substituting $u = x - 1$, since $\int_0^\infty u^3 e^{-u}\,du = 3! = 6$. For the first, substitute $u = 1 - x$, which turns it into $e^{-1}\int_0^1 u^3 e^{u}\,du$. Integrating by parts three times gives the antiderivative $e^u(u^3 - 3u^2 + 6u - 6)$, as differentiating it confirms: the derivative is $e^u(u^3 - 3u^2 + 6u - 6) + e^u(3u^2 - 6u + 6) = u^3e^u$. So
$$\int_0^1 (1 - x)^3 e^{-x}\,dx = e^{-1}\Big[e^u(u^3 - 3u^2 + 6u - 6)\Big]_0^1 = e^{-1}\big(-2e + 6\big) = \frac{6}{e} - 2.$$
Example (a common misstatement). "The Berry–Esseen bound is $C\rho/(\sigma^3\sqrt{n})$ with $\rho$ the third absolute moment." The precise statement has $\rho$ the third absolute central moment, $E[\lvert X - \mu\rvert^3]$, and bounds the largest difference between the two distribution functions over all $z$. For the exponential the uncentered moment $E[X^3] = 6$ would put 6 where the bound has 2.4146.
The bound $0.4748 \times 2.4146/\sqrt{n}$ is 0.2093 at $n = 30$ and 0.1146 at $n = 100$, against exact gaps of 0.0243 and 0.0133.
The bound is a guarantee, not an estimate. For this population it overstates the error by a factor of about 8.6 at every $n$ from 2 on, while getting the rate exactly right. Its value is that it holds for every population with the stated moments, with no simulation. It makes precise the informal statement that skewed and heavy-tailed populations need larger samples. It also shows that the guarantee can be weak where it matters. An error of 0.01 in a distribution function is small for a probability near one half and large for a tail probability of 0.025. For bounded observations a different kind of guarantee bounds the tail probability itself, with no normal approximation at all: the Hoeffding and Bernstein inequalities of Concentration Inequalities: Hoeffding and Bernstein, which hold at every sample size.
Every result so far assumed the theorem's hypotheses. The next section shows what happens when they do not hold.
Where it fails
Infinite variance
The theorem assumes a finite variance, and the assumption is not a technicality. The Cauchy distribution, with density $1/(\pi(1 + x^2))$, is symmetric about 0 but so heavy-tailed that it has no mean at all: the integral $\int_0^\infty x/(\pi(1 + x^2))\,dx = \big[\ln(1 + x^2)/(2\pi)\big]_0^\infty$ is infinite. (Expectation, Variance and Covariance gives the general definition of a finite mean and works this example.)
Example (averaging Cauchy observations). The mean of 1,000 Cauchy observations locates the center, 0, no better than a single observation does. The average of $n$ independent Cauchy variables has exactly the same Cauchy distribution as a single one, for every $n$. That fact is cited (Grinstead and Snell, 1997, §10.3, prove it with characteristic functions). Averaging does not help at all.
Between the two extremes are distributions with a finite mean and infinite variance. The Pareto distribution with shape 1.5 and minimum 1 has density $1.5\,x^{-2.5}$ for $x \ge 1$. Its mean is $\int_1^\infty x \cdot 1.5\,x^{-2.5}\,dx = 1.5\big[-2x^{-1/2}\big]_1^\infty = 3$, and its second moment $\int_1^\infty 1.5\,x^{-1/2}\,dx$ is infinite. The law of large numbers holds, in the version that needs only a finite mean (cited in Moment Generating Functions and Slutsky's Theorem and proved in The Laws of Large Numbers), and sample means do settle at 3. But the variance is infinite, and the sample means fluctuate around 3 on a scale that shrinks only like $n^{-1/3}$, not $n^{-1/2}$. Their limiting distribution is skewed and not normal: one of the stable distributions of the generalized central limit theorem. The rate and the limit are cited, not derived here (Gnedenko and Kolmogorov, 1954).
The script measured the interquartile range of the sample mean, which exists even when the variance does not, for 2,000 samples of each size and 30 seeds:
| $n$ | Exponential | Pareto, shape 1.5 | Cauchy |
|---|---|---|---|
| 1 | 1.100 | 1.308 | 1.998 |
| 10 | 0.424 | 1.163 | 2.009 |
| 100 | 0.135 | 0.688 | 2.005 |
| 1,000 | 0.043 | 0.358 | 1.991 |
- For the exponential, the range falls by 3.15 and 3.16 per tenfold increase in $n$ beyond $n = 10$: the $\sqrt{10} = 3.162$ the theorem predicts.
- For the Pareto, it falls by 1.69 and then 1.92, approaching the $10^{1/3} = 2.154$ of its stable limit only slowly.
- For the Cauchy, it stays at 2, the distance between the quartiles $-1$ and $1$ of the standard Cauchy distribution. (Its distribution function is $\tfrac12 + \arctan(x)/\pi$, which is $\tfrac34$ at $x = 1$.) Half of all sample means lie beyond $\pm 1$ whatever $n$ is.
Data with infinite variance are not only a mathematical curiosity. Vilfredo Pareto proposed his distribution to describe incomes. Quantities with a few enormous values, such as costs and insurance claims, are sometimes modeled with tails this heavy, and a moderate sample cannot check the shape of such a tail. Any variable measured in a finite population has a finite variance, CRP included, so the theorem does apply to it in the end. But a variance dominated by a handful of values behaves, for samples of ordinary size, much like an infinite one.
Dependence
The theorem's other condition is independence. Dependence need not destroy approximate normality: central limit theorems exist for sequences whose dependence dies away with distance (Billingsley, 1995, proves one in its section on the central limit theorem, and Autocorrelation and Stationarity proves one, its Theorem 6, for stationary sequences whose terms are independent beyond a fixed distance). But the standard error is no longer $\sigma/\sqrt{n}$.
Take a sequence in which each observation is correlated 0.5 with the one before it: a first-order autoregressive process, with correlation $r^k$ between observations $k$ apart, where $r = 0.5$. For observations with standard deviation 1, the script found the standard deviation of the mean of 25 to be 0.3364 (exact value 0.3370). The exact value comes from the formula for the variance of a sum with its covariances (Random Variables, Expectation and Variance). Each observation has variance 1, observations $k$ apart have covariance $r^k$, and there are $2(n - k)$ ordered pairs of positions $k$ apart, so
$$\operatorname{Var}(\bar{X}) = \frac{1}{n^2}\Big[n + 2\sum_{k=1}^{n-1}(n - k)\,r^k\Big].$$
For $n = 25$ and $r = 0.5$ the bracket is 71.0000, the variance $71/625 = 0.1136$ and its square root 0.3370. The independent formula gives $1/\sqrt{25} = 0.2$, so the true value is 1.685 times larger. For $n = 100$ the ratio is 1.720, approaching the large-sample value $\sqrt{(1 + 0.5)/(1 - 0.5)} = \sqrt{3} = 1.732$. That limit follows from the formula: $n\operatorname{Var}(\bar{X}) = 1 + 2\sum_{k=1}^{n-1}(1 - k/n)\,r^k$, and as $n$ grows the sum tends to the geometric series $\sum_{k \ge 1} r^k = r/(1 - r)$, because $\sum_{k=1}^{n-1}(1 - k/n)\,r^k$ differs from $\sum_{k \ge 1} r^k$ by the tail $\sum_{k \ge n} r^k = r^n/(1 - r)$ plus $\frac{1}{n}\sum_{k=1}^{n-1} k\,r^k \le \frac{1}{n}\cdot\frac{r}{(1 - r)^2}$, and both tend to 0 (for $0 \le r < 1$). Hence $n\operatorname{Var}(\bar{X}) \to 1 + 2r/(1 - r) = (1 + r)/(1 - r)$, which is 3 for $r = 0.5$. An interval built with $\sigma/\sqrt{n}$ would be far too narrow. Linear Regression Assumptions measures the same failure for correlated regression errors.
Dependence can also stop the theorem altogether. Suppose every observation in a sample shares one common component: $X_i = W + E_i$. Here $W$ is a single exponential variable (minus its mean of 1) shared by the whole sample, and the $E_i$ are independent standard normal errors. This is the situation when every measurement in a study is made with one miscalibrated instrument whose offset is itself random. Then $\bar{X} = W + \bar{E}$, and however large $n$ is, the shared $W$ never averages out.
- The variance of the mean is $1 + 1/n$, which tends to 1, not 0. It is the sum of the variance 1 of $W$ and the variance $1/n$ of $\bar{E}$, since the two are independent.
- Its skewness, $2/(1 + 1/n)^{3/2}$, rises toward the skewness 2 of $W$ instead of falling to 0. The third central moment of a sum of two independent variables is the sum of their third central moments, by the cube expansion in the proof of the proposition above. That of $W$ is $2 \times 1^3 = 2$, and that of $\bar{E}$ is 0, since a mean of normal variables is normal and so symmetric. Dividing 2 by the variance to the power $3/2$ gives the formula. The script found 0.691, 1.700, 1.948 and 1.982 for $n$ = 1, 10, 100 and 1,000, against theoretical values 0.707, 1.734, 1.970 and 1.997.
Clustered data are the realistic middle ground. There, correlation within clusters inflates the standard error by the design effect of The Binomial Distribution.
Unequal distributions
The identical-distribution assumption, by contrast, can be relaxed a great deal. Lindeberg (1922) gave a condition under which sums of independent variables with different distributions are still asymptotically normal. Feller showed that the condition is also necessary when no single term is a large share of the total variance (Grinstead and Snell, 1997, §9.2). Roughly, the theorem holds as long as no single observation dominates the sum. That is why it applies to sums of contributions of different sizes, such as a patient's total exposure from many sources, provided none of them is overwhelming.
Why it is true, and what happens with s
We have seen what the theorem claims, how fast it works and where it fails. The proofs are in Moment Generating Functions and Slutsky's Theorem, which establishes three results. The weak law of large numbers: $P(\lvert\bar{X}_n - \mu\rvert \ge \varepsilon) \le \sigma^2/(n\varepsilon^2) \to 0$ for every $\varepsilon > 0$. The theorem of this article, proved in full for every population whose moment generating function is finite near 0, which covers sampling with replacement from any finite population; for a population with only a finite variance the theorem is cited. And the same limit with the sample standard deviation in place of $\sigma$, $P\big((\bar{X}_n - \mu)/(s_n/\sqrt{n}) \le z\big) \to \Phi(z)$, by the case of Slutsky's theorem proved there. With $s$, means of 30 blood pressures fall outside $\pm 1.96$ in 6.57% of samples and means of 400 in 5.07%. The library article Convergence in Distribution and the Proof of the Central Limit Theorem proves the theorem, and the limit with $s$, for every population with a finite variance; it cites two theorems on characteristic functions.
A short history
The theorem grew out of the binomial distribution, and its conditions were sharpened over two centuries.
- Abraham de Moivre approximated binomial probabilities by the normal curve in the 1730s, using what is now called Stirling's formula for factorials (Grinstead and Snell, 1997, §9.1; O'Connor and Robertson, 2004, for the date, 1733).
- Pierre-Simon Laplace extended the approximation to other probabilities of success and to sums of other kinds of errors in the early nineteenth century (Fischer, 2011).
- Aleksandr Lyapunov proved the theorem for independent variables with different distributions under a condition on their third moments, using characteristic functions (Fischer, 2011).
- Jarl Waldemar Lindeberg (1922) found the weaker condition that bears his name, which covers the identically distributed case with finite variance.
- Paul Lévy (1925) developed the characteristic function method into the form used in modern proofs, and the identically distributed theorem is named after both men.
- William Feller showed that Lindeberg's condition cannot be weakened when no term dominates (Fischer, 2011; Grinstead and Snell, 1997, §9.2).
The name is George Pólya's. His 1920 paper called it the "central" limit theorem, for its central place in probability theory (Pólya, 1920).
Worked problems
The first problem is an exercise from the course text's chapter on the sampling distribution of the mean (Pagano, Gauvreau and Mattie, 2022), restated in our own words with its data. The other three are posed on this article's exponential population, on CRP and on the autoregressive sequence. The script named under "In Python" checks every number.
Problem 1 (mean albumin levels in samples of 20). Among adults in the United States, the concentration of the protein albumin in cerebrospinal fluid is roughly symmetric, with mean 29.5 mg/100 ml and standard deviation 9.25 mg/100 ml. Samples of 20 are drawn repeatedly and the mean of each is computed. (a) Find the mean of the sample means. (b) Find their standard deviation, and its other name. (c) Compare it with the standard deviation of the albumin levels. (d) Describe the shape of the distribution of the sample means. (e) Find the proportion of sample means greater than 33 mg/100 ml. (f) Find the proportion less than 28 mg/100 ml. (g) Find the proportion between 29 and 31 mg/100 ml.
Solution. (a) The sample mean is unbiased, so the sample means average $\mu = 29.5$ mg/100 ml.
(b) Their standard deviation is $\sigma/\sqrt{n} = 9.25/\sqrt{20} = 2.0684$ mg/100 ml. It is called the standard error of the mean.
(c) It is smaller than the standard deviation of individual levels by the factor $\sqrt{20} = 4.472$: means of 20 vary less than a quarter as much as single measurements.
(d) Approximately normal, by the central limit theorem. The problem does not say that albumin levels are normal, so the normal shape is an approximation and not exact. The approximation should be good at $n = 20$ because the population is described as roughly symmetric: its skewness $\gamma$ is near 0, so the skewness of the mean, $\gamma/\sqrt{20}$, is nearer still. The problem gives no third moment, so the error cannot be bounded with the Berry–Esseen inequality, and the answers to (e) to (g) carry that unquantified approximation.
(e) The z-score of 33 is $(33 - 29.5)/2.0684 = 1.692$, and $P(\bar{X} > 33) \approx 1 - \Phi(1.692) = 0.0453$.
(f) The z-score of 28 is $(28 - 29.5)/2.0684 = -0.725$, and $P(\bar{X} < 28) \approx \Phi(-0.725) = 0.2342$.
(g) The z-scores of 29 and 31 are $-0.242$ and $0.725$, and
$$P(29 < \bar{X} < 31) \approx \Phi(0.725) - \Phi(-0.242) = 0.7658 - 0.4045 = 0.3613.$$
So about 4.5% of the sample means exceed 33, about 23.4% fall below 28, and about 36.1% lie between 29 and 31.
Problem 2 (an exponential mean, exactly and approximately). For the exponential population with mean 1, find the probability that the mean of 10 observations exceeds 1.5: exactly, by the normal approximation, and with the first Edgeworth correction.
Solution. Exactly. The mean exceeds 1.5 when the sum of the 10 observations exceeds 15. The sum is the time of the 10th event of a Poisson process with rate 1, and that time is later than 15 exactly when at most 9 events have occurred by time 15. The number of events by time 15 is Poisson with mean 15, so
$$P(\bar{X} > 1.5) = \sum_{k=0}^{9} \frac{e^{-15}\,15^k}{k!} = 0.0699.$$
Normal approximation. The standard error is $1/\sqrt{10}$, so $z = (1.5 - 1)\sqrt{10} = 1.581$ and $1 - \Phi(1.581) = 0.0569$. The approximation is too small by nearly a fifth, on the side the right skew predicts.
With the Edgeworth correction. The expansion quoted above adds $\gamma(1 - z^2)\varphi(z)/(6\sqrt{n})$ to $\Phi(z)$. With $\gamma = 2$, $z = 1.581$ and $\varphi(1.581) = 0.1143$, the term is
$$\frac{2\,(1 - 2.5)(0.1143)}{6\sqrt{10}} = -0.0181,$$
so the distribution function is lowered by 0.0181 and the upper tail raised to $0.0569 + 0.0181 = 0.0750$. The correction has the right sign and overshoots the exact 0.0699: at $n = 10$ the terms of the expansion beyond the first still matter.
Problem 3 (skewness and the Berry–Esseen bound). (a) Find the smallest sample size at which the mean of CRP values has skewness at most 0.5. (b) For the exponential population, compute the Berry–Esseen bound at $n = 400$ and compare it with the exact largest gap.
Solution. (a) The skewness of the mean is $\gamma/\sqrt{n}$ with $\gamma = 7.8924$ to four decimals. It is at most 0.5 when $n \ge (7.8924/0.5)^2 = 249.2$, so the smallest sample size is 250: the skewness is 0.5002 at $n = 249$ and 0.4992 at $n = 250$.
(b) The bound is $C\rho/(\sigma^3\sqrt{n}) = 0.4748 \times 2.4146/\sqrt{400} = 0.0573$. The script computes the exact gap from the gamma distribution of the sum: 0.0066. The first Edgeworth term predicts $0.1330/\sqrt{400} = 0.0066$ as well. The bound is 8.62 times the true gap, the same factor as at the other sample sizes in the table: it guarantees an error below 0.0573 in every probability, where the true worst error is 0.0066.
Problem 4 (the mean of four correlated observations). Four observations with variance 1 come from the autoregressive sequence of this article, with correlation $0.5^k$ between observations $k$ apart. Find the standard deviation of their mean, and compare it with the value for independent observations and with the large-sample ratio.
Solution. Use the formula for the variance of the mean with $n = 4$ and $r = 0.5$. There are $2(4 - k)$ ordered pairs of positions $k$ apart: 6 pairs one apart, 4 pairs two apart and 2 pairs three apart. So
$$\operatorname{Var}(\bar{X}) = \frac{1}{16}\Big[4 + 2\big(3(0.5) + 2(0.25) + 1(0.125)\big)\Big] = \frac{4 + 2(2.125)}{16} = \frac{8.25}{16} = 0.515625.$$
The standard deviation is $\sqrt{0.515625} = 0.7181$. Independent observations would give $1/\sqrt{4} = 0.5$, so the correlation inflates the standard error by the factor 1.436. The factor grows with $n$: it is 1.685 at $n = 25$, 1.720 at $n = 100$, and tends to $\sqrt{3} = 1.732$. It is smaller for small $n$ because the weights $1 - k/n$ that multiply $r^k$ in $n\operatorname{Var}(\bar{X}) = 1 + 2\sum_k (1 - k/n)\,r^k$ are smaller: each observation has fewer neighbors to be correlated with.
Summary
| Result | Statement |
|---|---|
| Lindeberg–Lévy | independent, identical, finite $\sigma^2$: $P\big(\frac{\bar{X} - \mu}{\sigma/\sqrt{n}} \le z\big) \to \Phi(z)$ |
| Working form | $\bar{X} \approx N(\mu, \sigma/\sqrt{n})$, $S_n \approx N(n\mu, \sigma\sqrt{n})$ |
| Skewness of the mean | $\gamma/\sqrt{n}$; $n = (\gamma/0.2)^2$ brings it to 0.2 |
| Berry–Esseen | $\sup_z \lvert F_n(z) - \Phi(z)\rvert \le C\rho/(\sigma^3\sqrt{n})$, $\rho = E\lvert X - \mu\rvert^3$, $0.4097 \le C < 0.4748$ |
| Fails | infinite variance (Cauchy: mean of $n$ is Cauchy); a shared component; dependence changes the standard error |
What we have learned
The central limit theorem makes the standardized mean of independent observations with finite variance approximately normal, whatever the population looks like. It says nothing about the data themselves and gives no sample size. Speed depends on skewness, which falls only as $\gamma/\sqrt{n}$: means of 30 blood pressures are close to normal, and means of 30 CRP values are not. One-sided tail probabilities converge more slowly than two-sided ones. With infinite variance or a shared component, the theorem fails outright, and ordinary correlation changes the standard error. The theorem is proved, for every population with a moment generating function, in Moment Generating Functions and Slutsky's Theorem, and cited in general; the limit is unchanged when $\sigma$ is replaced by $s$.
With the sampling distribution of the mean in hand, the course can turn it around. If a sample mean lands within about two standard errors of $\mu$ in 95% of samples, then $\mu$ lies within two standard errors of the sample mean in those samples. That observation is the confidence interval, and the next unit begins with it in Confidence Intervals and Coverage.
In Python
The exact distribution of an exponential mean, and a simulation for any population:
import numpy as np
from scipy import stats
n = 30
# exponential with mean 1: the sum of n values is gamma(n); P(Z > 1.96) exactly
print(stats.gamma.sf(n + 1.96 * np.sqrt(n), a=n)) # about 0.0340
print(stats.gamma.cdf(n - 1.96 * np.sqrt(n), a=n)) # about 0.0140
# simulation from a finite population pop (any array of values)
rng = np.random.default_rng(0)
pop = rng.lognormal(size=5000)
means = rng.choice(pop, (10_000, n)).mean(axis=1)
z = (means - pop.mean()) / (pop.std() / np.sqrt(n))
print((z > 1.96).mean(), (z < -1.96).mean(), stats.skew(means))
Every number in this article is computed by tools/experiments/applied-statistics/central-limit-theorem.py in the site's repository, which downloads the NHANES files from the CDC and checks their checksums; the figures are drawn by tools/figures/central-limit-theorem.py.
References
- Berry, A. C. (1941). The accuracy of the Gaussian approximation to the sum of independent variates. Transactions of the American Mathematical Society, 49(1), 122–136. record
- Billingsley, P. (1995). Probability and Measure (3rd ed.). Wiley. The section on the central limit theorem (the Lindeberg–Lévy theorem, and a central limit theorem for dependent variables). record · 11 pages
- Esseen, C.-G. (1942). On the Liapounoff limit of error in the theory of probability. Arkiv för Matematik, Astronomi och Fysik, 28A(9), 1–19. record
- Esseen, C.-G. (1956). A moment inequality with an application to the central limit theorem. Skandinavisk Aktuarietidskrift, 39, 160–170. record
- Feller, W. (1971). An Introduction to Probability Theory and Its Applications, Vol. II (2nd ed.). Wiley. Chapter XVI (Edgeworth expansions). record
- Fischer, H. (2011). A History of the Central Limit Theorem: From Classical to Modern Probability Theory. Springer. record
- Gnedenko, B. V., and Kolmogorov, A. N. (1954). Limit Distributions for Sums of Independent Random Variables. Addison-Wesley. record
- Grinstead, C. M., and Snell, J. L. (1997). Introduction to Probability (2nd rev. ed.). American Mathematical Society. §9.1–9.3 (the central limit theorem and its history) and §10.3 (the Cauchy average). record · 22 pages
- Lévy, P. (1925). Calcul des probabilités. Gauthier-Villars, Paris. record
- Lindeberg, J. W. (1922). Eine neue Herleitung des Exponentialgesetzes in der Wahrscheinlichkeitsrechnung. Mathematische Zeitschrift, 15, 211–225. record
- National Center for Health Statistics (2020a). National Health and Nutrition Examination Survey 2017–2018: Demographic Variables and Sample Weights (DEMO_J) and Blood Pressure (BPX_J) data files. Centers for Disease Control and Prevention. https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2017 record · 109 pages
- National Center for Health Statistics (2020b). National Health and Nutrition Examination Survey 2017–2018 Data Documentation: High-Sensitivity C-Reactive Protein (HSCRP_J). Centers for Disease Control and Prevention. https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/2017/DataFiles/HSCRP_J.htm record · 5 pages
- O'Connor, J. J., and Robertson, E. F. (2004). Abraham de Moivre. MacTutor History of Mathematics Archive, University of St Andrews. https://mathshistory.st-andrews.ac.uk/Biographies/De_Moivre/ record · 2 pages
- Pagano, M., Gauvreau, K., and Mattie, H. (2022). Principles of Biostatistics (3rd ed.). CRC Press. The course text. record · 48 pages
- Pólya, G. (1920). Über den zentralen Grenzwertsatz der Wahrscheinlichkeitsrechnung und das Momentenproblem. Mathematische Zeitschrift, 8, 171–181. record
- Shevtsova, I. (2011). On the absolute constants in the Berry–Esseen type inequalities for identically distributed summands. arXiv:1111.6554. record
Reviewed: verified, 16 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 23 Nov 2026 · 13 revisions