Bayes' theorem

A blue neon sign, showing the simple statement of Bayes’ theorem

In probability theory and statistics, Bayes’ theorem (alternatively Bayes’ law or Bayes' rule) describes the probability of an event, based on prior knowledge of conditions that might be related to the event. For example, if cancer is related to age, then, using Bayes’ theorem, a person’s age can be used to more accurately assess the probability that they have cancer, compared to the assessment of the probability of cancer made without knowledge of the person's age.

One of the many applications of Bayes' theorem is Bayesian inference, a particular approach to statistical inference. When applied, the probabilities involved in Bayes' theorem may have different probability interpretations. With the Bayesian probability interpretation the theorem expresses how a subjective degree of belief should rationally change to account for availability of related evidence. Bayesian inference is fundamental to Bayesian statistics.

Bayes’ theorem is named after Reverend Thomas Bayes ( z/; 1701–1761), who first provided an equation that allows new evidence to update beliefs in his An Essay towards solving a Problem in the Doctrine of Chances (1763). It was further developed by Pierre-Simon Laplace, who first published the modern formulation in his 1812 " Théorie analytique des probabilités". Sir Harold Jeffreys put Bayes’ algorithm and Laplace's formulation on an axiomatic basis. Jeffreys wrote that Bayes' theorem "is to the theory of probability what the Pythagorean theorem is to geometry". [1]

Statement of theorem

Visualization of Bayes' theorem by superposition of two event tree diagrams.

Bayes' theorem is stated mathematically as the following equation: [2]

where and are events and .

  • is a conditional probability: the likelihood of event occurring given that is true.
  • is also a conditional probability: the likelihood of event occurring given that is true.
  • and are the probabilities of observing and independently of each other; this is known as the marginal probability.
Other Languages
العربية: مبرهنة بايز
aragonés: Teorema de Bayes
asturianu: Teorema de Bayes
беларуская: Тэарэма Баеса
беларуская (тарашкевіца)‎: Тэарэма Баеса
български: Теорема на Бейс
čeština: Bayesova věta
Ελληνικά: Θεώρημα Μπέυζ
فارسی: قضیه بیز
Gaeilge: Teoirim Bayes
한국어: 베이즈 정리
Bahasa Indonesia: Teorema Bayes
íslenska: Formúla Bayes
עברית: חוק בייס
lietuvių: Bajeso teorema
magyar: Bayes-tétel
Nederlands: Theorema van Bayes
Piemontèis: Fórmola ëd Bayes
português: Teorema de Bayes
Simple English: Bayes' theorem
српски / srpski: Бајесова теорема
Basa Sunda: Téoréma Bayes
svenska: Bayes sats
Türkçe: Bayes teoremi
українська: Теорема Баєса
Tiếng Việt: Định lý Bayes