Bayes' theorem
1
2
3
4
5
6
7
8
9
How the probability of an event changes with new information?
Let little dashes represent the probabilities of events A and B
A - - -
B - - - -
Only 1 dash is intersecting
If you know A happened, then the probability of B given A becomes
1
P(B|A) = P(A & B) / P(B) = 1/4
similarly
1
P(A|B) = P(A & B) / P(A)
Leading to Bayes’ theorem
1
P(A|B) = P(B|A) P(B) / P(A)