1,220 bytes added
, 22:35, July 26, 2007
'''Bayes' Theorem''', also known as Bayes' Rule, is used in [[statistics]] and [[probability]] theory to relate marginal probabilities and conditional probabilities. In the context of [[Bayesian probability theory]], it is used to update degrees of belief (probabilities) given new information.
== Theorem ==
Bayes' theorem is stated mathematically as
<math> P(X|Y,I)=\frac{P(Y|X,I)P(X|I)}{P(Y|I)} </math>,
where X and Y are independent statements, I is available background information, and
<math>P(X|Y,I)</math> is the [[posterior probability]] for ''X'' given ''Y'' and ''I'',
<math>P(Y|X,I)</math> is the [[likelihood]] for ''Y'' given ''X'' and ''I'',
<math>P(X|I)</math> is the [[prior probability]] for ''X'' given only ''I'', and
<math>P(Y|I)</math> is sometimes called the [[evidence]] or probability for ''Y'' given only ''I''.
In a scientific context, ''X'' may be a hypothesis, and ''Y'' may be experimental data. The theorem can then be used to determine the degree of belief in the hypothesis by using the experimental data.
== Applications and Examples ==
One popular example of the use of Bayes' theorem is the [[Monty Hall problem]], inspired by the television show ''Let's Make a Deal''.