The Central Limit Theorem

This is an interactive demo meant to illustrate the Central Limit Theorem from Probability, or at least the general idea.

Click one of the buttons below the graphs to roll a single die. The result will be recorded in the bar graph.

Now try rolling a single die multiple times. You can either click the "Roll 1 Die" button over and over, or do a bunch of iterations with the other buttons. The graph should update with the total counts. You can always refresh the page to reset the data.

Some questions to consider after rolling a bunch of times:


Instead of just rolling one die, let's roll two at a time. You can use the graph and buttons below to simulate this. The graph will record now the average of the dice roll. So if you roll 3 & 6, the bar for 4.5 will increase.

Roll the dice pairs a bunch of times, then reflect on the following:


Now we have a pack of 25 dice! But before you get rolling them and plotting the average of the roll, let's think about the questions first.

After rolling, check your answers from before. Then think a bit more about these:


OK, here's the real test of what we've seen so far. I've just handed you a pack of 400 dice. First, think out analogues of the above questions (expected shape? average?), then roll them.

Let's refine our intuition:


After you've thought about the above, the main intuition of the Central Limit Theorem should be clearer. The ideas above apply quite generally when measuring the average of some random sample. The sampling distributions drawn above get narrower as the sample size increases because the larger the sample, the more opportunities for opposite extreme values to balance each other towards the center there are. So in every case the distribution of the sample means will be centered around the same "average," but the variance/standard deviation decreases. This leads to the very practical conclusion that as the sample size grows large, we can feel more confident that our sample mean reflects the population mean, because it almost certainly lies in narrow spike centered around the population mean. The Central Limit Theorem quantifies this intuition to give a precise prediction of what the standard deviation of the sample distribution should be.