3B - LTP and Bayes Rule
3B - LTP and Bayes Rule
3B - LTP and Bayes Rule
Professor K. H. Wong
1/8
Learning Outcomes
2/8
Law of Total Probability
Given two events, we’ve learned that their conditional probability defined as
P(A ∩ B)
P(A|B) = , where P(B) > 0
P(B)
Can be rearranged to:
P(A ∩ B) = P(A|B) · P(B)
Suppose now we have a sample space consisting only of events
A, B1 , B2 , ....Bk
where the Bi0 s partitions the sample space. That is, the Bi0 s are disjoint
and ki=1 Bi = Ω. From axiom 3, we can show that:
S
4/8
Bayes’ Rule
5/8
Bayes’ Rule Examples
6/8
Bayes’ Rule Examples
Healthy(0.9999) HIV(0.0001)
6/8
Bayes’ Rule Examples
Let H denote the event that the patient is healthy. Let (T) denote the
event that the patient tests positive.
7/8
Bayes’ Rule Examples
Example 2 A ball is drawn at random from an urn containing one red and
one white ball. If the white ball is drawn, it is put back into the urn. If the
red ball is drawn, it is returned to the urn together with two more red
balls. Then a second draw is made. What is the probability a red ball was
drawn on both the first and the second draws?
8/8