Loading
Bayes' theorem finds the probability of each possible cause Eᵢ given that an event A happened: multiply each prior by how likely A is under it, then divide by the total probability of A.
Machines M1, M2, M3 make 25%, 35% and 40% of the bolts; 5%, 4% and 2% of their bolts are defective. A bolt is found defective (event A): what is the chance it came from each machine?
The calculator below opens on this example.
Confusing with .
Forgetting the denominator.
Priors that do not add up to 1.
Posteriors that do not add up to 1.
The P(Eᵢ) must add up to 1. Fractions like 1/3 are fine.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.