The Art of Uncertainty

David Spiegelhalter (2024). The key visuals, chapter by chapter.Rahul's Site
1

Uncertainty is personal

One coin, two kinds of uncertainty

WhatA normal coin is flipped and covered. Only the author peeks. Red = your probability of heads. The two navy lines are his two possible answers, one if it landed heads and one if tails. Only he knows which is true.

So whatUncertainty belongs to the person. The same coin gets different, equally sensible numbers from people who know different things.

Phil Ivey's £7.7M edge-sorting win

WhatA poker pro spotted tiny flaws on the card backs and won £7.7M at a London casino in under a day. Inset: his edge per bet went from -1% to +6%.

So whatThe cards stayed random. A small gap in knowledge between two sides of a bet was worth millions. The UK Supreme Court later called it cheating.

Sometimes we would rather not know

WhatAbout 1,000 adults in Germany were asked whether they would want to know each of these in advance.

So whatMost people chose not to know, even about something pleasant like a present. Getting rid of uncertainty is not always what we want.

2

Putting uncertainty into numbers

What the words mean (IPCC)

WhatThe UN climate panel (IPCC) fixes a probability range for each word it uses.

So whatWords like "likely" only work when everyone agrees on the number behind them.

"Likely" means different things

WhatThe range each agency means by "likely", next to what the public thinks it means (grey bar, median 60%).

So whatOne agency means 55-75%, another 66-100%. The public's 60% is outside the IPCC range. Say the number.

Do you know what you don't know?

What10 trivia questions. Pick A or B and how sure you are (5 = no idea, 10 = certain). Points follow the table below.

So whatConfident wrong answers cost far more than confident right answers earn, so the best strategy is to be honest about how sure you are.

3

Taming chance with probability

Roll two dice

WhatRoll two dice and add them. Red bars = your rolls. Navy lines = theory (6 of the 36 combinations make 7).

So whatProbability starts with counting equally likely outcomes. The more you roll, the closer the bars get to the lines.

More flips, tighter split

WhatThe share of heads in 4, 10, 100 or 1,000 coin flips. Red = a split of 60:40 or worse.

So whatMore flips squeeze the result toward 50%. A lopsided split is common in 10 flips and almost impossible in 1,000.

Casanova's lottery always won

WhatParis, 1758: you picked 1, 2 or 3 numbers from 90 and 5 balls were drawn. For each bet: how hard it was to win, the prize next to a fair prize (one that pays back exactly what is staked on average), and where every 100 livres bet ended up.

So whatEvery prize was set below the fair amount, so the state kept 17 to 56 of every 100 livres bet. However lucky one player got, the lottery could not lose over time.

4

Surprises and coincidences

Shared birthdays come fast

WhatThe chance that at least two people in a room share a birthday (exactly, or within 1, 2 or 3 days). Move the slider to see the calculation.

So what23 people give a 50:50 chance. There are so many pairs to compare that "amazing" matches are common.

Plane crashes cluster by chance

WhatEach row is a year. Each dot is one of 91 plane crashes dropped on a random date. Red = 3 crashes within 8 days, as in July 2014. The strip shows the calculation: tiny for one chosen 8-day window, likely across all of them.

So whatClusters that look like a pattern turn up by pure chance in most decades. A cluster alone is not evidence of a cause.

"Too unlikely to be chance" vs a fair calculation

WhatThree cases where someone said "too unlikely to be chance" (red), next to a fair calculation (navy).

So whatThe headline number usually answers the wrong question. The fair number is often thousands of times less surprising. Lucia de Berk was jailed on the first figure and later freed.

5

Luck

How much of a league table is luck?

WhatLight bar = real points range, bottom team to top team. Dark bar = the range you get if every match is a random draw using that league's own home-win, draw and away-win rates. % = dark width ÷ light width.

So whatPremier League: luck alone spreads teams 39-66 points (27), the real table ran 25-89 (64), so 27 ÷ 64 = 42% of the spread is luck. Second-tier leagues are close to two thirds.

Premier League 2022-23 vs a league of equal teams

WhatRed = the real 2022-23 final points by position. Navy = a fake season where 20 identical teams play matches decided by chance. Grey band = where 90% of 400 fake seasons land.

So whatTeams outside the band (City, Arsenal, Southampton) really are better or worse. The middle of the table could be luck. Press the button for a new fake season.

How long to flip 10 heads in a row?

WhatThe chance you are still going after N tries at flipping 10 heads in a row (1 in 1,024 per try).

So whatLong waits and quick wins are both ordinary luck. Brown was a bit unlucky, Grime a bit lucky. TV showed only the success.

6

It's all a bit random

Fake 20 coin flips. Get caught.

WhatMake up 20 flips with the H and T buttons, then see where you land against 10,000 real random sequences.

So whatReal randomness has long streaks (78% of sequences have a run of 4 or more). Fakers switch too often and avoid streaks.

UK Lotto: how "due" numbers catch up

WhatHow often each of the 49 lotto balls is drawn, as a multiple of what you would expect.

So whatEarly on some numbers look "due". Over time the gaps shrink because new draws swamp the old ones. Nothing evens them out on purpose.

Simulated 6/49 draws.

Random is clumpy

What160 grains thrown at random, next to the same number spread evenly.

So whatReal randomness has clumps and gaps. A cluster on a map is not proof of a cause.

7

Being Bayesian

Live facial recognition: most alerts are wrong

WhatA crowd of 10,000 scanned by police cameras. Navy = watchlist people caught. Red = innocent people flagged.

So whatWhen the people you look for are rare, even a 1-in-1,000 error rate makes most alerts wrong. Move the sliders.

Why most Covid deaths were vaccinated

WhatThe share of Covid deaths who were vaccinated, as more of the group gets vaccinated.

So whatThe vaccine cut the risk tenfold, yet when 95% are vaccinated most deaths are still among them. Most people killed in car crashes wore seatbelts too.

10,000 infected older people. Risk of death 2% unvaccinated, 0.2% vaccinated.

Cromwell's rule: keep 1% doubt

WhatPick a bag, draw balls and update your belief after each one (Bayes' rule). Grey = someone certain the bags are as described. Red = someone who keeps 1% doubt. Try the trick bag.

So whatTotal certainty cannot learn from surprises. A little doubt lets you notice you have been fooled.

8

Science and uncertainty

Speed of light: error bars were too small

WhatThe official speed of light from 1929 to 1973, with the error bars scientists claimed. Red line = today's value.

So whatThe error bars were too narrow. In the 1930s and 40s the true value sat far outside them.

Values read from the book's Figure 8.1.

Dexamethasone saves ventilated Covid patients

WhatCovid patients on ventilators were randomly given a cheap steroid or usual care. The curves show the likely death rate in each group.

So whatThe curves barely overlap, so the drug works: about 1 death prevented for every 8 patients treated. It saved an estimated 1 million lives.

RECOVERY trial, 28-day deaths. Bayesian posteriors, flat prior.

12 models, one R, many non-overlapping intervals

What12 UK modelling teams each estimated R, the number of people each infected person infects. Navy = each team's 90% range. Red = the combined answer.

So whatMany ranges do not overlap, so most were too confident. Combining several models gave a more honest range.

Read from the book's Figure 8.3.

9

How much confidence do we have in our analysis?

Infected blood: hepatitis C, UK 1970-91

WhatEstimates of people infected with hepatitis C from contaminated blood in the UK. Dot = best guess. Bar = 95% range.

So whatEven the best model gives wide ranges, and the team rated its overall confidence only moderate.

Same claim, different confidence

WhatReal claims, sorted by how much confidence experts had in the evidence behind them.

So whatA probability and the confidence behind it are two different things. 50% for a coin you checked is not the same as 50% for a pure guess.

10

What, or who, is to blame?

UK September 2023: a small shift makes extremes common

WhatThe chance of a September as hot as 2023 (15.2°C) in a world without human warming (grey) and in today's world (red).

So whatShifting the average by about 1-2°C made the extreme about 100 times more likely. Drag the slider.

Normal curves matched to the Met Office tail probabilities (0.023% and 2.7%).

Doubling the risk: probability it caused yours

WhatIf an exposure multiplies your risk by X, the chance it caused your case is 1 - 1/X.

So whatCivil courts pay out when the risk more than doubles, since that makes it more likely than not. A smoker's lung cancer passes easily.

Forensic evidence: likelihood ratio in words

WhatHow UK courts must describe forensic evidence: how many times more likely the evidence is if the prosecution is right.

So whatA billion-to-one DNA match is strong evidence, but it is not the chance the suspect is innocent. Mixing the two up is the "prosecutor's fallacy".

11

Predicting the future

Wigan v Portsmouth, 24 May 2009

WhatThe chance of each final score, from each team's average goals (a Poisson model). Darker = more likely.

So whatEven the single most likely score (1-0) had only a 15% chance. It happened.

Bank of England fan chart vs Covid

WhatIn May 2018 the Bank of England drew future GDP growth as a fan. Darker = more likely. Press the button to see 2020.

So whatThe 90% fan never covered a pandemic. The Bank left 10% for "something else", and Covid landed there.

Approximate, read from the book's Figure 11.1. Grey band: 90%.

Warming by 2100 under two futures

WhatExpected warming by 2100 under a low-emission future (navy) and a high-emission one (red), with the likely ranges.

So whatOur choices move the answer more than the models disagree. Both paths reach or pass the 2°C limit.

IPCC AR6, very likely (5-95%) ranges. Approximate, read from the book's Figure 11.3.

12

Risk, failure and disaster

UK National Risk Register 2023

WhatThe UK government's 2023 list of national risks, by impact (bottom to top) and likelihood (left to right). Each column is 5 times more likely than the last.

So whatA pandemic is still the top catastrophic risk. Each box hides the range of ways a risk could play out.

Fat tails: how surprising was a 25% GDP fall?

WhatThe chance of a GDP fall bigger than X, under four assumptions about extremes. The normal curve (grey) says a 25% fall is impossible. The fat-tail curves keep it possible.

So whatThe model you pick for the tails decides whether disasters look impossible or just rare. Covid's 25% fall fits a fat tail.

Tail beyond a 1% fall holds 5%. Pareto scale set so a=1 gives the book's 0.006.

Worst-case plans vs what happened

WhatThe worst case planned for (grey) vs what happened (red).

So whatPlanning figures can miss by 100 times in either direction. Swine flu was far milder, Covid far worse.

13

Deep uncertainty

How to handle not knowing

WhatFour ways to handle risk, depending on whether you can list what might happen and whether you can put numbers on it.

So whatWhen you cannot even list what might happen (C), stop fine-tuning models and build resilience.

After Andy Stirling.

Planned for vs what came

WhatWhat was planned for (grey) vs what actually came (red).

So whatSurprises often come from outside the range anyone considered, so leave a margin.

14

Communicating uncertainty and risk

AstraZeneca vaccine, April 2021

WhatFor every 100,000 people of each age: intensive-care admissions the vaccine prevented (navy) vs serious clots it caused (red).

So whatFor older people benefits far outweigh harms. Under 30 it was close, so the UK stopped offering it to the young, and showing both sides kept trust.

Micromorts: 1-in-a-million chances of death

WhatRisk of death in micromorts. 1 micromort = a one-in-a-million chance of dying.

So whatA shared unit makes risks comparable. A motorbike is 40 times riskier than a car over the same 7,500 miles.

One uncertainty, five pictures

WhatOne estimate (R about 1.4, 95% range 1.28 to 1.52) drawn five ways.

So whatError bars suggest a hard edge. Shading, dots and animation show that values near the middle are most likely.

15

Making decisions and managing risks

160 slices of burnt toast a day

WhatA food chemical (acrylamide) shows low risk in mice at a dose like 160 slices of burnt toast a day. Safety rules then divide that by 10,000.

So whatStacked safety margins turned a tiny risk into a scary campaign. The UK's "don't burn your toast" warning was dropped.

When is a risk of dying at work tolerable?

WhatThe UK safety regulator's rule for the yearly risk of dying at work.

So whatThere are two lines, not one. Above 1 in 1,000 is never acceptable, below 1 in a million is fine, and in between the risk must be cut where reasonably possible.

UK Health and Safety Executive, annual risk.

Known odds or unknown odds?

WhatBag A has a known 50:50 mix. Bag B's mix is random. You win on red.

So whatBoth give 50%, yet most people choose A. We dislike unknown odds, even when they are the same.

16

The future of uncertainty

Probabilities people give for the end of everything

WhatPublished probabilities for the end of humanity or civilisation, on a scale from 1 in a trillion to 100%.

So whatEstimates differ by a trillion times. They express concern more than they measure anything.

From The Art of Uncertainty: How to Navigate Chance, Ignorance, Risk and Luck by David Spiegelhalter (Penguin, 2024). Numbers as reported in the book. Simulations are labelled.