The Central Limit Theorem

Category: Statistics   Level: 301

average of n dice: center 3.5, spread σ/√(n), shape → normal

Average more dice and the distribution of the average changes from flat to bell-shaped, and it narrows like sigma over root n. These are the exact distributions, not simulations.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Roll one die

One die is flat: each face has chance 1/6. Average 3.5, spread 1.71. No bell in sight.

σ/√(1) = 1.71/1.00 = 1.71

Step 1: Roll one die

Step 2: Average two dice

Averages of two dice pile up in the middle, because many pairs average 3.5 and only one pair averages 1. The shape is a triangle.

σ/√(2) = 1.71/1.41 = 1.21

Step 2: Average two dice

Step 3: Average three dice

With three dice the triangle rounds off. Extreme averages need every die to cooperate, which they rarely do.

σ/√(3) = 1.71/1.73 = 0.99

Step 3: Average three dice

Step 4: Average five dice

Five dice already look like a bell. The center stays at 3.5 while the spread shrinks.

σ/√(5) = 1.71/2.24 = 0.76

Step 4: Average five dice

Step 5: Lay a normal curve on top

A normal curve with mean 3.5 and σ = 0.76 hugs the bars. This is the central limit theorem: averages of many independent values come out close to normal, whatever the shape you started with.

average of 5 dice ≈ Normal(3.5, 0.76)

Step 5: Lay a normal curve on top

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render central-limit-theorem --out /tmp/central-limit-theorem

Source: svgmath/diagrams/statistics.py