loading...
totalprob.JPG
 

 

 
Bayes' Theorem
 

 

 
The figure shows the sample space of a random experiment. E1, E2, E3 and E4 and four MECE events.

Consider the event X, which is formed of some elements from each of E1, E2, E3 and E4.

We can write:

n(X) = n(X∩E1) + n(X∩E2) + n(X∩E3) + n(X∩E4)  


Dividing throughout by n(S), we get:

P(X) = P(X∩E1) + P(X∩E2) + P(X∩E3) + P(X∩E4)  


Generalising, P(X) = ∑ P(X∩Ei) = ∑ P(X Ei)

The above result is called the law of total probability


 

 

 

The Law of Total Probability

 

 

 

Bayes’ Theorem works like this: Starting from P(X/E1), P(X/E2) etc. Bayes’ theorem helps us to calculate P(E1/X).

Here is how:

Using the product rule of probability, we may write:

P(E1 X) = P(E1/X) . P(X) = P(X/E1) x P(E1)

Thus, P(E1/X) . P(X) = P(X/E1) x P(E1)

Hence

P(E1/X) = P(X/E1) x P(E1) / P(X)

              = P(X/E1) x P(E1) / ∑ P(XE1) ...... Bayes' Theorem