What the central limit theorem does — and what it does not

The previous lesson showed that, for independent observations with a common finite variance, the sample mean has standard deviation $\sigma/\sqrt{n}$. The central limit theorem asks a different question: what happens to the shape of the standardized sample mean. It does not claim that the original observations become normal, and it does not apply when a mean and a variance do not exist.

What you will be able to explain

State the classical conclusion for

$$Z_n=\sqrt{n}\frac{\bar{X}_n-\mu}{\sigma}$$

when the observations are independent and identically distributed, with a finite, nonzero variance. Explain why a histogram of the raw observations can stay skewed while the histogram of $Z_n$ looks closer to a standard normal curve as $n$ increases. Give a case where this standardization is not defined, and say why a finite simulation is not a proof of the theorem.

This experiment uses dimensionless values. Read first: Why averaging reduces noise — and when it does not. You will need the difference between the sample size $n$ in one average and the number of repeated means, and the fact that a shared offset is not removed by averaging. In the formula above, $\bar{X}_n$ is the sample mean of $n$ observations, $\mu$ is the population mean, and $\sigma$ is the population standard deviation. The standard normal density used for comparison is

$$\varphi(z)=\frac{1}{\sqrt{2\pi}}e^{-z^2/2}.$$

Predict

Independent waiting times follow an exponential distribution: the observations are right-skewed, with a known mean and a finite, nonzero variance. You form many standardized sample means $Z_n$. As $n$ goes from 1 to 64, which statement is correct?

The original observations become approximately normal, and so do the standardized means. The original observations stay skewed; the histogram of standardized means can look closer to a standard normal curve. At $n=64$ the histogram of standardized means is exactly standard normal, which proves the theorem.

Predict before running the experiment. You can skip the question and come back later; nothing is locked.

Manipulate and observe

Start with the exponential model. Fix the seed and compare $n=1$, $4$, $16$, and $64$. The left histogram is the first observation from each repetition; that distribution does not depend on $n$. The right histogram is $Z_n$, on a fixed horizontal scale, with a standard normal curve drawn for comparison. Notice which chart changes shape.

The number of repetitions affects how clearly a histogram shows a distribution. Repetitions are not the sample size in $Z_n$. Increasing repetitions from 200 to 1000 can make the picture cleaner. It does not prove a limit theorem, and it does not change the theoretical distribution of $Z_n$ at a fixed $n$.

Then try a fair Bernoulli model. Individual observations take only the values 0 and 1. The standardized means lie on a lattice, but the outline can look more bell-shaped at $n=64$ than at $n=1$. Finally choose the standard Cauchy model. There is no population mean and no finite variance, so $Z_n$ is not defined. The right chart then shows the sample means, not a standardized statistic. Compare their tails with the observations, and with the finite-variance cases. The charts report how many values lie outside the displayed range; those values stay in the numerical summaries.

What the central limit theorem does

Explain

Under the classical (Lindeberg–Lévy) conditions — independent, identically distributed observations with a finite, nonzero variance — $Z_n$ converges in distribution to a standard normal random variable. That is a statement about the standardized sample mean, not about the sample of observations. An exponential observation remains exponential at any $n$. What can change is the distribution of $Z_n$.

The theorem is a limit statement. It does not say that $Z_n$ is exactly standard normal at $n=16$ or $n=64$, and there is no universal sample size at which the approximation suddenly becomes exact. A more skewed distribution can need a larger $n$ before the histogram of $Z_n$ looks close to the curve. A finite simulation with a fixed seed can illustrate a consequence of the assumptions; it cannot prove the theorem.

The same independence and finite-variance conditions needed for $\sigma/\sqrt{n}$ are needed here, because $Z_n$ is the sample mean after centering at $\mu$ and scaling by that standard error. Duplicating a recorded reading does not create independent data. If every observation has a shared offset and you still center at the un-offset $\mu$, $Z_n$ is not centered at 0; the shift grows with $\sqrt{n}$. Averaging does not calibrate the instrument, and standardizing with the wrong center does not hide the offset.

A fair Bernoulli sequence has a mean and a finite variance, so the classical conditions apply. At $n=1$, $Z_n$ takes only two values. At larger $n$ the standardized mean still lives on a grid of spacing $2/\sqrt{n}$. The histogram can look more like a bell curve without becoming a continuous normal distribution.

The standard Cauchy distribution has no population mean and no finite variance. The formula for $Z_n$ is then undefined, and the $\sigma/\sqrt{n}$ scaling does not apply. In the ideal model, the mean of independent standard Cauchy variables is again standard Cauchy: the shape does not tighten, and it does not tend to a normal law. A finite simulation uses pseudorandom numbers with finite precision. It can show heavy tails, but it cannot reproduce an infinite tail or prove a limit theorem.

Practice and transfer

A colleague draws 16 independent exponential waiting times, plots those 16 observations, and says the central limit theorem means the waiting times are now approximately normal. What is wrong with that claim? Use the experiment to compare the left chart with the histogram of $Z_n$ at $n=16$. Feedback stays in this browser tab; the experiment does not store or transmit answers or learning analytics.

The same distinction appears in a measurement setting. Averaging independent sensor readings can make the mean more stable, as in the earlier lesson. That is not the same as claiming that the raw readings have become normal, or that a single short record of 16 values is a draw from a normal distribution.

Assumptions and reproducibility

Each repetition uses a fresh block of 64 pseudorandom values. The first $n$ numbers are used to form one mean, and then $Z_n$ when the model has a mean and a finite, nonzero variance. Using the same seed and changing $n$ keeps the nested samples, so comparisons across $n$ are convenient, but those runs are not independent of one another. Within a single $n$, each repetition uses a different block.

The generator is Mulberry32, with a 32-bit seed set by the user. The default seed is 20261201. The values of $n$ are 1, 4, 16, and 64, and the number of repetitions is at most 3000. Uniform, fair Bernoulli, and unit-scale exponential models have known means, variances, and skewness. For those models the theoretical mean, standard deviation, and moment skewness of $Z_n$ are $0$, $1$, and $\gamma_1/\sqrt{n}$, where $\gamma_1$ is the skewness of one observation. The table also reports the share of $Z_n$ values inside $[-1.96,1.96]$, compared with the standard normal value of that probability. Empirical summaries describe this finite simulation. The displayed skewness uses $1/n$ central moments; it is not an unbiased estimator. Standard Cauchy has no mean and no variance, so $Z_n$ is not computed. Resetting restores the exponential model, $n=1$, seed 20261201, and 200 initial repetitions, with a target of 1000.

Related ideas

This lesson continues the sample-mean experiment on averaging and noise. The Math topic page collects other mathematical experiments on the site. For measurement context, see the electrical topic page. These links extend the idea; they are not extra prerequisites.

References

StatLect, Central Limit Theorem: https://www.statlect.com/asymptotic-theory/central-limit-theorem

Penn State STAT 414, Mean and Variance of Sample Mean: https://online.stat.psu.edu/stat414/book/export/html/780

NIST/SEMATECH, Normal Distribution: https://www.itl.nist.gov/div898/handbook/eda/section3/eda3661.htm

NIST/SEMATECH, Cauchy Distribution: https://www.itl.nist.gov/div898/handbook/eda/section3/eda3663.htm

Concept connections

Sampling models
A description of how observations are generated. In this experiment the chosen distribution, independence, and sample size define that model.
Central limit theorem
A limit statement about the distribution of the standardized sample mean under conditions such as independent, identically distributed observations with a finite, nonzero variance. It is not a claim that the original observations become normal.

Continue with the averaging and noise lesson if you have not read it yet. These links extend the idea; the averaging lesson is the intended prerequisite.

Leave a Comment