Probability, Bayes' Theorem & Odds
Calculate posterior probability with Bayes' Theorem, Birthday Paradox match chances, permutations nPr, combinations nCr, and lottery expected values.
Bayes' Theorem Posterior Probability Engine
Calculate true posterior probability P(A|B) given prior base rate, test sensitivity, and false positive rate.
- Condition Present: 100 people
- True Positives: 99 people
- False Positives: 495 people
Bayesian Posterior Odds, Combinatorics & Lottery Mathematics
Calculate posterior probabilities using Bayes' Theorem, discover the Birthday Paradox matching probability, compute permutations P(n,r), and evaluate lottery expected values.
Bayes' Theorem updates the prior degree of belief in event A given new empirical evidence B.
- 1Select between Bayes' Theorem, Birthday Paradox, Permutations/Combinations, Coin Tosses, or Lottery EV.
- 2Input parameters such as prevalence, test sensitivity, set sizes, or jackpot values.
- 3Receive real-time posterior probabilities, combination counts, and expected financial returns.
Base rate is 1%, test has 99% sensitivity and 5% false positive rate.
Frequently Asked Questions (FAQ)
Because we compare pairs of people: C(23, 2) = 253 pairwise comparisons, each having a 364/365 chance of not sharing a birthday. (364/365)^253 ≈ 49.3% chance of no match, meaning a 50.7% chance of at least one match.
Permutations nPr count arrangements where order matters (e.g. race finishing positions); combinations nCr count selections where order does not matter (e.g. choosing a committee). nPr is always larger than nCr for the same n and r.
When a condition is rare, even a highly accurate test produces more false positives than true positives in absolute terms, because the large pool of healthy people generates more false alarms than the small pool of actually-sick people generates correct positives — exactly what Bayes' Theorem quantifies.
Expected Value = (Probability of Winning × Prize Amount) − Ticket Cost, summed across all possible prize tiers. A negative expected value means the game favors the house over the long run.