Theorem · Conditional probability
Bayes' theorem
Statement of the theorem with its hypotheses, proof and the exercises in which it is applied. From the chapter Conditional probability, independence, and Bayes’ theorem of Statistics and probability.
Also known as: Bayes' theorem · Bayes' rule
Bayes' theorem
For the three lines, the law of total probability starts from the rejection rates and gives . The opposite question starts from a rejected item and asks which line it came from, that is, it asks for . For the third line the answer is the ratio of its contribution to rejections, , to the total rejection probability, , that is, . Bayes’ theorem writes this ratio in general.
Let be the events of a partition with positive probabilities, and let be an event with . After observing , the probability of group is
The quantity is the group’s prior probability, that is, its probability before the observation. The quantity is its posterior probability, calculated after learning that occurred. The theorem gives the probability of a cause (the line an item came from, a defect) after observing one of its effects (a rejection, a flag from an inspection).
The proof is available to those who have unlocked the subject.
Unlock nowRead it in the chapter Conditional probability, independence, and Bayes’ theorem →
Exercises where this theorem is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →