Definition

If are mutually exclusive and exhaustive events, then for any event ,

Where is the prior probability of the event , which means this is the unconditional probability before considering additional information.

Note that the denominator in the Baye’s theorem rewrite utilizes the Total Probability Theorem.

And where is the posterior probability of the event , meaning that the event probability has been updated to take into account the information that event has occurred.

  • Adding additional information (conditioning) is called Bayesian Updating.

Ex: Disease Testing False Positives

Assume:

  • A disease affects 2% of the population
  • The false positive rate is 1%
  • The false negative rate is 5%

If you test positive, we want to know:

Given that you tested positive, what is the chance you have the disease?

Let T: Test Positive, D: Have Disease

We are trying to find .

Baye’s rule gives us:

Plugging in the numbers above we finally land at .