Skip to content
tezvyn:
Menu

Central Limit Theorem: Why Averages Form a Bell Curve

Source: Wikipedia: Central limit theoremMediumHow cards are made

Central Limit Theorem: Why Averages Form a Bell Curve

The Central Limit Theorem explains why averages of samples tend to form a bell curve, even if the original data doesn't. It's the foundation for A/B testing and quality control. The footgun is assuming it works for small or non-independent samples.

The mental model

If you take many large enough samples from any population and calculate the mean of each sample, the collection of those means will be normally distributed (a bell curve). This is true even if the original population was, say, uniformly distributed like dice rolls. The theorem connects messy, real-world data to the predictable properties of the normal distribution, allowing us to make inferences with a known degree of confidence.

How it works

The power of the theorem comes from averaging. In any given sample, extreme high and low values tend to cancel each other out. When you plot the distribution of thousands of these sample means, they naturally cluster around the true population mean. A sample mean that is far from the true mean is statistically less likely to occur than one that is close. This tendency creates the characteristic bell shape. The resulting distribution of sample means will have a mean equal to the true population mean and a standard deviation that shrinks as your sample size grows.

When to use it

The CLT is the backbone of frequentist hypothesis testing. It's used whenever you need to infer properties of a large population from a smaller sample. Three key applications are: first, A/B testing, to determine if the average conversion rate of a new feature is statistically better than the old one; second, political polling, to estimate the true proportion of voters for a candidate from a sample of a few thousand people; and third, manufacturing quality control, to check if the average weight of a batch of products falls within an acceptable range.

When not to use it

The theorem is not a universal law and has important preconditions. Do not apply it when your samples are very small (a common but not rigid rule of thumb is a sample size below 30). It also fails if the samples are not independent; for example, sampling a stock price every second, where each price is highly correlated with the previous one. Finally, it does not apply to underlying distributions that lack a defined mean or variance, such as the Cauchy distribution, though these are rare in typical engineering problems.

One canonical example

Imagine rolling a single fair six-sided die. The distribution of outcomes is uniform; each number from 1 to 6 has an equal 1/6 chance. Now, instead of one die, roll ten dice and calculate their average. Repeat this process thousands of times. If you plot a histogram of these thousands of averages, you will not see a flat, uniform line. You will see a distinct bell curve centered around 3.5, the true mean of a single die roll. The CLT perfectly predicts this transformation from a uniform to a normal distribution.

Interview question

Which statement best describes the fundamental insight provided by the Central Limit Theorem?

  • a.When taking sufficiently large and independent samples, the distribution of their means will approximate a normal distribution, regardless of the original population's shape.Correct
  • b.The mean of any single sample will always be equal to the true population mean if the sample size is large enough.
  • c.For statistical analysis to be valid, the underlying population must always be normally distributed.
  • d.The distribution of individual data points from any population will eventually become normal with enough observations.
Why?

The Central Limit Theorem specifically states that the distribution of sample means, not individual data points, will approach a normal distribution under certain conditions, even if the original population is not normal. Option D is incorrect because it refers to individual data points, and option B misinterprets the theorem's scope regarding a single sample's mean.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on statistics — each one lists the topics its interview covers.

See open roles