Study Atlas › Mathematics › Probability

Bayes' theorem

P(A|B) = P(B|A)·P(A)/P(B): updating beliefs with new evidence.

Edited by Alex C, EduAlx · Sources cited below

Explanation

Published posthumously from Thomas Bayes' notes by Richard Price (1763) and developed by Laplace. It is the basis of Bayesian statistics, spam filters, medical test interpretation and machine learning.

Example

A test with 99% sensitivity and 95% specificity for a disease with 1% prevalence gives a positive predictive value of only about 17%.

How it works, step by step

  1. Start with prior P(A)
  2. Find likelihood P(B|A)
  3. Compute evidence P(B) by total probability
  4. Combine to get posterior P(A|B)

Open the interactive page with diagrams →

Bayes' theorem in exams

Bayes' theorem is part of Mathematics, which is tested in JEE Main, JEE Advanced, CUET-UG, CAT, SAT, ACT, GRE, GMAT. Practise it in the exam format:

People behind it

References

  1. T. Bayes, R. Price, Philos. Trans. R. Soc. Lond. 1763, 53, 370–418.

Textbooks

Related topics

Random variables and distributionsProbability theoryMarkov chainsNormal distribution and the central limit theoremStatistical hypothesis testingFourier series and transformsPrime numbers and the fundamental theorem of arithmeticDifferential equationsModular arithmetic and Fermat's little theoremLinear algebra: matrices, determinants, eigenvalues