Mistake Master
Introducing Statistics: What Can We Learn from Data?
The Number You Computed Is Not the Number You Were Asking About
You'll learnto tell the group you measured apart from the group you were asking about — which number is the statistic, which is the parameter, why they differ without anyone making a mistake, and why a bigger sample from the wrong place never closes the gap.
A city has 200 registered voters and a real answer to the question "what share of them support the mayor?" — and nobody can see it. A poll can afford to ask 25. This animation builds that city, draws that sample, counts what comes back, and then cheats once and measures everyone, so you can watch the poll's 52 percent sit eight points away from the city's 44 with nothing done wrong. Then it polls the city forty more times, and finishes on the repair that fails: asking more and more people from one neighbourhood, which converges beautifully on the wrong group's answer. Twelve short steps; press Next for each one.
Read all 12 steps as text
A city, and a question about all of it
Every circle is one registered voter, and every one of them is hollow because nobody has been asked yet — the answer is sitting in that grid right now, unseen.
Twenty-five of them can be asked
Nobody can afford to interview 200 people, so 25 of them are chosen at random, and those 25 are the only voters this study will ever hear from.
Only the ones you asked show a colour
Watch which circles fill in: only the ringed ones, because nothing has been learned about the other 175.
That number belongs to 25 people
The share among the people you actually measured is called a statistic, written \(\hat{p}\), and the matching share among all 200 is a parameter, written \(p\) — same calculation, different group.
What the evening news said that night
Thirteen out of twenty-five really is 52%, so the arithmetic in that sentence is right; what it does wrong is hand a number computed from 25 people to a city of 200.
Cheat once and measure everyone
Measuring all 200 is normally impossible, but here it reveals the parameter the poll was estimating: 88 supporters out of 200, so \(p = 0.44\).
Poll the same city forty more times
Same 200 voters, same \(n = 25\), a fresh random sample each time — one dot per poll, stacked where it lands.
The dots move; the line never does
That spread is sampling variability and it is not a mistake — polling voters does not change how they vote, so \(p\) stays put while \(\hat{p}\) lands somewhere new every time.
Capital N is the whole group, little n the part
\(N\) counts the population and \(n\) counts the sample, capital for the larger scope every time; \(p\) is the population's proportion and the hat on \(\hat{p}\) marks the sample's estimate of it.
A pollster who never leaves one block
The dashed block is a private club — 60 of the 200 voters, all in the bottom three rows — and support inside it runs at 85% against the city's 44%.
More of the wrong people is still wrong
Grow the club survey from 10 to 60 and its estimate never drifts toward 44%; at \(n = 60\) every club member has been measured, so it is exactly 85% — the survey converged, on the club's parameter.
A sample speaks for the group it came from
Those 60 club measurements are a census of the club, so "85% of the club supports her" is a fact — and the identical data behind "85% of the city supports her" is worthless, because only the group named in the conclusion changed.