Bayes' Theorem & Updating Lab
Adjust a disease's prevalence and a test's sensitivity and specificity, then watch a population of 500 people split into true positives, false positives, true negatives, and false negatives. Compare the algebra to the natural-frequency count, chain repeated positive tests to see the posterior update, and try the base-rate neglect challenge.
CHOOSE A SCENARIO
2.0%
95.0%
90.0%
Population of 500
True positive (has it, tests +)
False negative (has it, tests −)
True negative (clear, tests −)
False positive (clear, tests +)
Algebra vs. natural frequency
—
P(Condition | Positive)
Posterior after each test
Try "Run another positive test" a few times on the Rare Disease Challenge — watch how
fast the posterior climbs once a second independent test agrees with the first.