Skip to content
Quick navigationFind a place or open a tool
All labs Statistics Lab

All labs ยท ๐Ÿ“Š Statistics Lab

Statistics Lab

Drop thousands of balls through a Galton board and watch the bell curve build itself โ€“ then do statistics for engineers and scientists in Python: describe data, the normal curve and z-scores, the central limit theorem, confidence intervals, t-tests, regression and probability by simulation.

๐Ÿ‘‹ Free demo: try the first 2 lessons and the first tool. Subscribe to unlock everything here and in all the other labs โ€“ USD 10 a month (USD 100 a year), or included with lessons. โœจ SubscribeLog in

Activity workspace

Pick an activity. Its mission, controls and live result stay together.

My saved work

โ–ถ See it working

๐Ÿ“Š Statistics Lab โ€“ Describe data, the normal curve, the central limit theorem, confidence intervals, t-tests, regression and probability by simulation โ€“ in Python.

๐ŸŽฏ Missions

What is happening?

At every peg a ball bounces right with chance p, left otherwise. A ball's bin is how many times it went right โ€“ so after n rows the bins follow the binomial distribution: mean nยทp, standard deviation โˆš(nยทpยท(1โˆ’p)). With many rows it looks like the normal curve (red).

Balls0
Mean bin (pile)โ€“
Mean (theory nยทp)5.00
Spread ฯƒ (pile)โ€“
ฯƒ (theory)1.58