Bayes’ Theorem Calculator
Inputs
| Prior probability P(A) | 1 % |
|---|---|
| True-positive rate P(B|A) | 90 % |
| False-positive rate P(B|¬A) | 5 % |
Bayes’ Theorem Calculator
Inputs
%
0 – 100 %
%
0 – 100 %
%
0 – 100 %
Results
Enter a value to see results.
%
Details
%
\begin{aligned} P(A|B) &= \dfrac{P(B|A)\,P(A)}{P(B|A)\,P(A) + P(B|\lnot A)\,P(\lnot A)} \\ &= \dfrac{(90)(1)}{(90)(1) + (5)(1 - 1)} \\ &= ? \end{aligned}
\begin{aligned} P(B) &= P(B|A)\,P(A) + P(B|\lnot A)\,P(\lnot A) \\ &= (90)(1) + (5)(1 - 1) \\ &= ? \end{aligned}
Recommended Next
Conditional Probability and Bayes' Theorem Calculator
Calculate P(A|B) with Bayes' theorem from a prior probability, likelihood, and false-positive rate. Understand the base rate fallacy with a worked medical example.
Odds Ratio Calculator
Calculate the odds ratio from a 2×2 contingency table with a 95% confidence interval using Woolf’s log method. Enter the four cell counts for exposure and outcome.