Conditional Probability
Conditional Probability
Conditional Probability
Conditional Probabilities
Total Probabilities
Baye’s Theorem
Conditional Probability
2
Two coins are tossed, what is the conditional probability that two head appear given
that there is at least one head?
Solution:
Sample space for two coin S= {HH,HT,TH,TT}
Let A be an event that 2 head appears
A= {HH}
P(A|B)= ?
Let B be the event at least 1 head appear P 1
( A )
B= {HH,HT,TH} 4
3
P ( B )
4
Probablity Class Lecture
5
P ( A B )
P ( A | B )
P ( B )
A ∩ B= {HH} P ( A B )
1
4
1
4 1
P ( A | B )
3 3
4
NOTE THAT (!)
P ( A | B ) P ( A )
In a certain assembly plant, three machines, B1, B2, and B3, make 30%, 45%, and
25% of the products respectively. It is known from past experience that 2%, 3%,
and 2% of the products made by each machine are defective respectively. Now
suppose that a finished product is randomly selected. What is the probability that
it is defective?
Solution: Consider the following events
A: The product is defective
B1: The product is made by machine B1
B2: The product is made by machine B2
B3: The product is made by machine B3
9
and hence
P(A) = 0.006 + 0.0135 + 0.005 = 0.0245
10
P ( A B 3 ).P ( B 3 )
P (B 3 A)
P(A B 1 ) P(B 1 ) P(A B 2 ) P(B 2 ) ... P(A B k ) P(B k )
0.005
0 . 2040
0 . 0245
In view of the fact that a defective product was selected, this result suggests that it probably was not made by machine B3.