Bayes' Theorem
A fundamental theorem for updating probabilities based on new evidence.
Free theory articleA fundamental theorem for updating probabilities based on new evidence.
Concept & interpretation
A signal can be common in one group without most signals coming from that group. This experiment separates those two questions. Calculate the numbers of marked and unmarked tokens that trigger a toy sensor, then use Riano's three probability sliders to see how the posterior changes. The rates below are assumptions for learning, not measurements of a real sensor.
Reproduce the calculation in the module
Open the Bayes' Theorem experiment. Its sliders describe a prior, sensitivity and false-positive rate. Keep track of which group each rate conditions on.
- Set the prior to 0.10, sensitivity to 0.90 and false-positive rate to 0.10. Check the 18.0% evidence probability and 50.0% posterior.
- Change only the prior to 0.01. There are now 9 marked signals and 99 unmarked signals per 1,000 model tokens: 9/108 is about 8.3%.
- Restore the prior to 0.10 and reduce the false-positive rate to 0.01. The ratio becomes 90/(90 + 9), approximately 90.9%.
The grid represents individual categories using a finite number of squares. Its counts are rounded, while the numeric probabilities come from the formula. At other settings, counting squares can differ slightly from the displayed probability.