Bayes Theory

Last Updated:

Although there are many interpretations of Bayes Theorem, let’s start with this one: Bayes Theory gives us a way to update a prediction based on observation of new evidence.

Basic Mathematical Statement

The probability of A given B, is equal to the probability of B given A, times the probability of A, divided by the probability of B.

\[P(A|B) = \frac{P(B|A)P(A)}{P(B)}\]
The Prior Probability
P(A)
I think of this like the original estimate. This is what we are going to be updating, when we take into account new information about how B relates to A.
The Posterior Probability
P(A|B)
This is what we are solving for. In the absence of observed data, we would be solving for P(A). But if we have some observation B, now we can solve for a conditional probability, i.e. the probability of A given B.
The Likelihood
P(B|A)
This term is called the likelihood because it is equal to the likelihood of A given a fixed B.
Bayes Theory | Notes