Bayes’s Theorem

Home Glossary Item Bayes’s Theorem
« Back to Glossary Index

Bayes’s Theorem is a fundamental concept in probability theory and statistics. It allows us to update our belief about the probability of an event occurring based on new evidence or information. The theorem is named after Thomas Bayes, an 18th-century mathematician, and is widely used in various fields, including machine learning, data science, and decision making under uncertainty.

The essence of Bayes’s Theorem lies in its formula:

P(A|B) = (P(B|A) * P(A)) / P(B)


  • P(A|B) denotes the conditional probability of event A given event B.
  • P(B|A) represents the conditional probability of event B given event A.
  • P(A) and P(B) are the probabilities of events A and B, respectively.

In simpler terms, Bayes’s Theorem allows us to calculate the probability of event A occurring given that event B has occurred. It considers the prior probability of event A (P(A)) and the likelihood of event B given event A (P(B|A)). By comparing this with the overall probability of event B (P(B)), we can update our belief or estimate of the probability of event A occurring.

Bayes’s Theorem is particularly valuable when dealing with uncertain or incomplete information. It helps us make informed decisions by incorporating new evidence and adjusting our beliefs accordingly. The theorem provides a flexible framework for reasoning under uncertainty and is widely used in various applications such as spam detection, medical diagnosis, and predictive modeling.


« Back to Glossary Index