Central limit theorem Created 2026-09-24 Updated 2026-10-14
Let be real independent and identically distributed random variables with expected value and finite, strictly positive variance . Write and for their sum and sample mean. The central limit theorem states
Precisely, for every real ,
where is the standard normal distribution function. The conclusion is convergence in distribution to the standard normal distribution. If the variance is zero, every observation equals almost surely; the displayed normalization is then undefined and there is no fluctuating error to describe.
The striking feature is that the observations need not have a normal distribution. They may be binary, bounded, or strongly skewed. Their detailed probability distribution disappears from this limit except through the expected value and variance. The subtraction removes predictable growth: . The division implements variance normalization: variance additivity for independent random variables gives , so every has expected value zero and variance one. For nonzero , an uncentered sum drifts; without rescaling its spread grows.
For a concrete example, let each have a Bernoulli distribution with success probability . Then has a binomial distribution, with expected value and variance . Its exact probability mass function and its normalized count are
Here is a binomial coefficient. Individual trials are conspicuously skewed, yet their centered, rescaled counts approach the same standard normal distribution as sums of fair trials.
Figure 1.
Exact standardized binomial distributions approach the standard normal curve
. For independent Bernoulli trials with , each blue bar has width equal to the normalized lattice spacing and area equal to the exact binomial distribution mass at its center. Heights are mass divided by spacing, so they can be compared with the orange probability density function of the standard normal distribution. All four normalized counts have expected value zero and variance one. The rectangles visualize discrete masses; they do not make the discrete probability distributions continuous. Details.
At , has expected value and standard deviation . The exact binomial distribution gives . A normal approximation with the continuity correction uses the interval to :
The small discrepancy is an approximation error, not an equality supplied by the central limit theorem.
The strong law of large numbers and weak law of large numbers locate the average: , respectively by almost sure convergence and convergence in probability. The central limit theorem magnifies that shrinking error and describes its shape. In terms of the sample mean, the resulting normal approximation is , with standard error . This explains why four times as many independent observations halve the standard error. When is known, has approximately coverage for at large , giving a confidence interval. This coverage refers to repeated samples, not a guarantee for an individual interval.
A useful application is the Monte Carlo method: estimate a success probability by the proportion of successful simulated trials. Nicholas Metropolis and S. Ulam's original paper, "The Monte Carlo Method" (1949), illustrates this with games of solitaire and estimation of a region's volume by randomly selected points, and discusses why estimates require probabilistic error control. The strong law of large numbers justifies convergence of such proportions for independent repetitions; the central limit theorem supplies their large-sample error scale when .[ref]
There are three useful limits to this picture:
A historical original-paper reference is J. W. Lindeberg's "Eine neue Herleitung des Exponentialgesetzes in der Wahrscheinlichkeitsrechnung" (1922), published in Mathematische Zeitschrift 15, pp. 211–225. The Lindeberg condition and Lindeberg-Feller central limit theorem below describe a version for sums whose summands need not share a probability distribution.[ref]
A brief proof outline uses the characteristic function of . Its expected value is zero and its variance is one, so the finite second moment gives
The Taylor expansion of the complex exponential, with its remainder controlled by , and the dominated convergence theorem justify this step without a third-moment assumption. Independence then gives the characteristic function of :
The limit is the characteristic function of the standard normal distribution; the Lévy continuity theorem turns this into convergence in distribution.
Discarding zero observations and resolving ties is unnecessary with probability one under the stated independent continuous model. Rank the absolute observations from to , let be the rank of , and form the positive Wilcoxon signed-rank statistic
Reject the null hypothesis for large . Under symmetry about zero, each sign is a fair independent binary variable, independent of all the absolute values. To see this independence, for every measurable positive set , symmetry gives . Independence of observations then gives independence of the whole sign vector from the absolute-value vector. Conditional on those absolute values, relabeling by rank therefore gives
The null distribution is consequently independent of the unknown symmetric shape. Its probability generating function is , so the coefficient of gives the exact probability of . Choose an upper critical value with null tail probability at most the desired level, or randomize at the boundary to obtain that level exactly. The observed upper-tail probability is an exact one-sided p-value. A positive translation raises each Walsh average, as established below, so this upper-tail rule has the correct direction against positive centers for every fixed symmetric shape.
The independent-sign representation proves
The asymptotic null distribution, stated without proof, is
This supplies the usual upper normal distribution critical value when exact calculation is inconvenient; for the discrete upper tail , use in the continuity correction.
For exact equivalence with the proposed statistic, reorder the observations so . Partition the unordered pairs, including diagonals, by the member with larger absolute value. The block belonging to consists of the pairs with an earlier member and its diagonal pair. For an earlier member , the strict inequality means the sign of is the sign of ; the diagonal sum has that same sign. Thus the entire block supplies exactly positive averages when , and none otherwise. Summing the blocks proves
The two tests therefore have exactly the same statistic, critical values and p-values, not merely the same limiting distribution. The Walsh averages are dependent, so their positivity indicators must not instead be treated as an independent binomial sample. For a translation of any null-symmetric sample, every Walsh average increases by ; their positive count is nondecreasing, which also verifies the direction of the one-sided test.
The experimental unit for comparing the treatments is the pot: its two plants form a pair. Let be cross-fertilised minus self-fertilised height in pot , for . The paired Wilcoxon signed-rank test assumes independent differences with a continuous distribution symmetric about a location . Its null is , with the one-sided formulation , against . Under this location model it asks whether cross-fertilisation produces a positive shift within a pot. The location is a median, and also a mean if it exists; a hypothesis merely about a median without symmetry does not justify the signed-rank null distribution.
Test 1 uses this paired test and its exact distribution. Form the fifteen differences, omit any zero differences, rank their absolute values, and sum the statistical ranks belonging to positive differences. That positive-rank sum is the reported . Tied absolute differences receive average statistical ranks. Under the symmetric zero-location null, conditional on their magnitudes, the signs are independent fair signs. The exact upper-tail probability is obtained from all sign allocations to the observed statistical ranks: with fifteen nonzero differences there are equiprobable allocations. For untied absolute differences the rank weights are ; ties would require the corresponding conditional rank weights. The reported probability of a positive-rank sum at least as large as observed is . No normal approximation is used.
Test 2 makes exactly the same paired comparison and has the same null and alternative hypotheses. exact=F replaces the exact distribution by a normal approximation with a continuity correction. Under an untied null the positive-rank sum has
More generally, conditional on the nonzero absolute statistical ranks , its variance is . The upper-tail correction places the boundary half a lattice unit below the observed statistic. Standardizing gives the reported , and its approximate -value is . Thus the slight difference from Test 1 reflects approximation, not a different scientific question.
Test 3 omits paired=T, so it is the unpaired Wilcoxon rank sum test. Its usual distribution-free null is that two independent samples have the same continuous distribution. In a common-shape location model this is a zero location difference, against a positive cross-minus-self shift. More generally “greater” directs the test towards the cross distribution being shifted upwards; it does not turn the test into a general comparison of means or medians for arbitrary unequal shapes.
To form its statistic, pool the thirty heights, rank them together with averaged statistical ranks for ties, and add the cross-group statistical ranks to get . Equivalently use . Under independent untied samples,
If the pooled ties have sizes and , the variance becomes
Subtract the null mean and the upper-tail continuity correction, then divide by this null standard deviation. This procedure gives the reported rank-sum . Its approximate one-sided probability is . This describes how the statistic and probability are obtained without reconstructing the unprinted heights.
For the statistician, use the paired analysis, preferably the exact Test 1 for these fifteen pairs. The independent units are the pots, while the two heights within a pot share growing conditions and cannot be treated as independent samples. Test 2 is a reasonable approximation to the same paired test and agrees closely. Test 3 discards the matching and uses a null variance that assumes independence between the samples, so its smaller -value is not a reason to prefer it. The appropriate paired result gives evidence at , but not at , that cross-fertilised plants have a positive height shift relative to their paired self-fertilised plants, subject to the symmetry assumption for differences.