1. Definition
Bayes' theorem: P(A|B)=P(B|A)P(A)/P(B), with the denominator from total probability.
2. Formula & Notation
| Prior, likelihood | Posterior |
3. Properties & Laws
- From effect to cause;
- Denominator total probability;
- Typical testing and diagnosis;
- P(B)>0.
4. Steps
- Enter three probabilities;
- Click "Calculate";
- Or click "Load Example".
5. Worked Examples
Example: prevalence 1%, detection 90%, P(positive)=10.8%: ≈0.0833.
6. Common Pitfalls
Denominator is total probability;
Include the prior;
Posterior can be counterintuitive.