Math paradoxes

Glossary / Sampling bias

Glossary · sampling bias

How did 2.4 million ballots pick the wrong winner?

In 1936 the American magazine Literary Digest mailed about 10 million ballots and got 2.4 million back. Its forecast: Alf Landon would take 57% and become president. In fact Franklin Roosevelt won 60.8% of the vote and carried 46 of the 48 states. George Gallup asked about 50,000 people, almost 50 times fewer, and named the right winner. It wasn't about how many answers there were, but whose answers they were.

In plain wordspictures, analogies, small numbers

“In plain words” is hidden on all puzzles.

The paradox of the big survey

A town has launched a new tram route. Four teams want to find out whether people like it. The first asks random passers-by. The second phones home numbers during the day. The third reads the reviews on the council's page. The fourth shares a form in a tram fans' club, and whoever wants fills it in. Collect answers and watch where the lines creep.

Random passers-by–
Daytime calls–
Reviews–
Volunteers–

In fact 40% of the townspeople like the route. The answers axis is logarithmic: each mark is ten times further than the previous one.

  • More answers don't fix who was askedThe more answers, the more firmly a line sticks to its number. But each team sticks to its own, and only the first one to the truth.
  • First ask: who answered?At home during the day it is mostly pensioners. Reviews are written by people something annoyed. The fan club's form is filled in by fans. Each such "who" shifts the answer.
Rigoroustables, charts, formulas

“Rigorous” is hidden on all puzzles.

What sampling bias is

A sample is biased when the way it is chosen gives some people a better chance of getting in than others, and those chances are linked to what we are measuring. If everyone has the same chance, the sample is random, and on average it isn't wrong.

A small example. 40% of people like the route. Those who like it answer twice as eagerly. For every 100 townspeople we get 40 · 2 = 80 "votes" for and 60 against. The survey will show:

80 / (80 + 60) = 80 / 140 ≈ 57% instead of 40%

And it will be so for any number of answers: the doubled enthusiasm doesn't depend on how many people we asked.

What happened to the Literary Digest

The magazine took its addresses from its own subscriber lists, telephone books and car registrations. In the depths of the Great Depression, telephones and cars belonged mostly to better-off families, and they voted against Roosevelt more often. That is the first trap: who can be reached at all. The second turned out to be even bigger: only a quarter of those mailed sent the ballot back. A later analysis (Peverill Squire, 1988) showed that Roosevelt's opponents were keener to reply, and this did the most damage to the forecast.

Four ways to bias a sample

  • Who can be reachedThe 1936 phone books, an online poll unseen by people without internet, daytime calls while workers are at work. Those missing from the list will never be heard, however many calls you make.
  • Who repliesRestaurant reviews are written mostly by the delighted and the furious. The quietly satisfied majority says nothing, so the rating shows not the "average guest" but those who had something to say.
  • Who survived"They used to build things to last": we see the old houses that have stood for a hundred years, while the ones that fell apart were pulled down long ago. Success stories are told by those who succeeded; those who tried and failed don't speak at conferences.
  • Who volunteered"I quit smoking with this method and feel great" is written by those it worked for. Those who relapsed a week later leave no reviews. An online vote on a website gathers those who care about the topic most.

Small and random against big and biased

The same town. We run 200 surveys of each kind: 100 random passers-by, or 10,000 answers to daytime calls, a hundred times more. Each survey is one tick on the chart.

Average error: 100 random–
Average error: 10,000 calls–

When to trust a survey

  • Ask how people were chosen"We asked 100,000 readers" says nothing about accuracy. "We asked random people from a list of all voters" says a lot.
  • Ask who didn't answerIf only a quarter replied, it matters a great deal how that quarter differs from the rest.
  • Don't look at size on its ownA large size only shrinks the random scatter. It doesn't protect from bias at all, and it adds confidence. That is the most dangerous combination.
  • Check against what is known for sureIf the sample has twice as many pensioners as the town does, something went wrong, and the result can't be taken at face value.
Deepergeneralisations, theory, history

“Deeper” is hidden on all puzzles.

Error = bias + noise

p̂ − p = (E[p̂] − p) + (p̂ − E[p̂]),   E[(p̂ − p)²] = bias² + q(1 − q) / n

Here p is the true share, p̂ the share in the sample, and q = E[p̂] the share among those who actually get into the sample. The first term is the bias q − p, the second is noise. Noise shrinks like 1/√n: a sample four times bigger scatters half as much. The bias does not depend on n at all. For the calls in our town q = 60% and p = 40%:

AnswersNoise (standard deviation)Bias
1004.9 points20 points
10,0000.49 points20 points
1,000,0000.049 points20 points

A million answers give a very precise estimate of the wrong number. That is exactly what the 2.4 million ballots of 1936 were.

Weighting: a patch that needs to know who is missing

p̂w = Σg Ng/N · p̂g

In our town a quarter of the people are pensioners. Among them 76% like the route, among the rest 28%: together 0.25 · 76% + 0.75 · 28% = 40%. If the sample has too many pensioners, you can compute the share separately in each group g and add them up with the weights the groups have in the town. Pollsters do this with age, sex and region. Here is what weighting by age does to the answers collected at the top:

SurveyPensioners in the sampleAs isWeighted by age

Weighting rescues the calls almost completely: there, only who was at home is distorted, and pensioners who picked up think the same as all pensioners. It barely fixes the reviews and the fans' form: there people are selected by their opinion of the route itself, and within every age group it is the unhappy ones or the fans who write. Weighting works only when we know which feature makes people drop out and know its true distribution. If dropping out depends on the very thing we measure, no formula knows any more how much is missing.

If the table shows dashes, collect at least a few dozen answers at the top.

Where it shows up

Other terms