Kolton Ndoj

Averages calm down

The more fair coin flips you average, the closer the average hugs the true value, but only like one over the square root of n.

typical error of an average≈σn\text{typical error of an average}\approx\frac{\sigma}{\sqrt n}

What the symbols mean

nn
number of trials you average
σ\sigma
how spread out a single trial is
n\sqrt n
why you need four times the data to halve the error

Why it works — the picture

Each flip's wobble partly cancels the others. Random errors add like the sides of a right triangle, not in a straight line, so n errors add up to about sqrt n, not n. Divide by n to get the average, and the wobble shrinks as 1 over sqrt n. For coin flips sigma is 0.5: after 100 flips the proportion of heads is typically within 0.05 of 0.5. It is a statement about typical size, not a promise, and it never means that a streak must be paid back.

Graph for Averages calm down 11000.60
Typical size of the error as the number of trials t grows. It falls fast at first and then very slowly: going from 25 to 100 trials only halves it. (drawn with the default slider values — move the sliders live)

Try it yourself

Where it’s used in real life

Insurance companies, polls, casinos and scientific measurements all rely on averaging.

The story behind it

Jacob Bernoulli proved the first version in his book published in 1713.

Related

Play with it live →

Math · Probability · Intermediate