Lab · c11.s04.L1
Bayes update
A positive test reweights the people who could test positive; the posterior is the share of them who are actually sick.
Question: How do you turn a likelihood into a belief?
Frame 1 of 4: The prior1% of the 1,000 people have the disease: 10. The grid draws them in russet at the top left; every other square is a healthy person. The bar beside the grid shows the belief before any test.
The prior. 1% of the 1,000 people have the disease: 10. The grid draws them in russet at the top left; every other square is a healthy person. The bar beside the grid shows the belief before any test.
Keyboard: Space plays or pauses, Left and Right step, Home goes to the first frame, End goes to the last frame.
Text description of this lab
One thousand people fill a grid of forty by twenty-five small squares. The russet squares at the top left are people who have the disease; the rest are healthy. After one positive test, gold hatched squares mark healthy people who also test positive, and at the default settings they outnumber the sick positives. Two bars show belief before the test, 1%, and after it, 15.4%: the belief is the share of positive tests that come from sick people.
Return to the section that hosts this lab
Caption status: synthetic. Every lab declares one of published, re-simulated, schematic, synthetic or interpolated.