An election is coming. Two parties, the Kites and the Owls, are close. This week six polls came out. One says the Kites lead by seven points; another says the Owls are ahead. The newspapers each lead with whichever poll suits them.
You want one answer: who is actually ahead, and how sure can we be? This is precisely the kind of question Bayes was made for, and it's how serious poll trackers work.
The parties, pollsters and numbers are made up.
Big polls count for more, but not as much as you'd think
Each poll measures the Kites' lead with some sampling error: it asked a thousand people, not the whole country. That error shrinks with the square root of the sample size, so a poll of 3,000 is about twice as precise as one of 800, not four times.
When Bayes combines several measurements of the same thing, it weights each by its precision (one over its variance). Precise polls count for more. But polls also have errors that no sample size can fix:
Each pollster's own quirks ("house effects"): how they find people, how they weight them, how they pick likely voters. These differ between pollsters, so they partly cancel out when you combine polls.
Errors every pollster shares: the kind of people who never answer polls, or a late swing. These don't cancel at all. When polls collectively miss an election, this is usually why.
Switch polls on and off, add your own, and move the two error sliders.
Three things to try. Switch off the big Meridian poll and watch the combined estimate barely move; then switch off the small Daily Pulse poll with its eye-catching seven-point lead and watch it barely move either. That's precision weighting doing its job: no single poll can drag the answer far.
Next, push "each pollster's own quirks" up. The weights even out, because once every poll carries a few points of its own error, being huge stops helping much. Finally, push "errors every pollster shares" up and watch the 90% range widen no matter how many polls you add. Ten polls with the same blind spot are still blind in the same place.
A lead is not a win
A combined lead of just over two points sounds fairly safe. Turned into a probability, it's less so: with the default settings the Kites are ahead today with a chance of about 84%, roughly five in six. That's the area of the curve to the right of zero below.
And "today" isn't polling day. Leads drift as campaigns go on. Say a lead typically moves by about 0.7 points a week; that's an assumption you'd estimate from past elections. The further out you are, the more the curve spreads, and the closer the chance creeps to a coin toss.
This is why careful forecasters talk in probabilities rather than calling races. A 75% favourite loses one time in four, and that's not the model failing; it's the model telling you, in advance, how often to expect a surprise. If something with a 25% chance never happened, the forecasts were too timid.
The machinery here is the simplest one in the series: every source of uncertainty is a normal curve, and normal curves combine by adding up precisions and variances. Real poll trackers add more layers: house effects estimated from each pollster's history, trends over time, and links between regions or states. But each of those layers is just another piece of this chapter.
Key findings
- To combine estimates of the same thing, weight each by its precision (one over its variance). No single poll can drag the answer far.
- Sample size only fixes sampling error. Each pollster's quirks partly cancel out; errors every pollster shares never do.
- A lead becomes a probability once you include all the uncertainty. A few points ahead can still mean a one-in-five chance of losing.
- The further from the event, the more the future adds uncertainty, and the closer every forecast drifts towards 50–50.
Appendix — the maths
Each poll i reports a lead Li (Kites minus Owls, in points) from a sample of ni. With vote shares pK and pO, its sampling variance in points² is roughly:
vi = 100² · (pK + pO − (pK − pO)²) ÷ ni + h²where h is the pollster-quirk error. With a broad prior on the lead (centred on zero, spread 8 points), the combined estimate is a precision-weighted average:
precision = 1/8² + Σ 1/vi lead = Σ (Li / vi) ÷ precisionThe shared error e can't be averaged away, so it's added after combining, along with any drift d per week over w weeks:
total spread = √(1/precision + e² + w · d²) P(Kites ahead) = Φ(lead ÷ total spread)Here pK ≈ 0.38 and pO ≈ 0.35, and Φ is the standard normal cumulative probability.