Professional Documents
Culture Documents
P ( B ) P ( B | A ) P ( A ) P ( B | A ) P ( A ).
Note:
1. P(A B) P( B | A)P(A) .
2. P( A B C) P(C | A B) P(B | A)P(A)
Chain rule.
34
Bayes' Theorem
Let A and B be two events such that 0<P(A)<1 and P(B)>0.
Then
P ( B | A )P ( A ) P ( B | A)P ( A)
P ( A | B) .
P ( B | A )P ( A ) P ( B | A )P ( A ) P ( B)
35
Test:
A: test result indicates individual has disease,
A: test result indicates individual does not have disease
P(B|A) = ?
36
Interpretation
Test is not good enough unless p is much higher that q.
P(B|A) =?
What if P(B) = 0.05? What about 0.5?
Conclusion: better to look at at risk population only
37
Independence
Two events A and B are called independent, if
P(A B) P(A)P(B)
Idea comes from the fact that A and B are independent means
P(A | B) P(A)
and
P(B | A) P(B)
39
Examples
Randomly drawing from a pack of cards, getting a king is
independent of getting a spade.
Note
Mutually exclusive (non-null) events are never independent.
(Non-null) Sub-events are never independent of the
corresponding super-events, and vice-versa