Prepared By: Engr. Muhammad Amin Qureshi: Probability & Statistics Week 10
Prepared By: Engr. Muhammad Amin Qureshi: Probability & Statistics Week 10
Week 10
Conditional Probability
and
Bayes’ Theorem
Prepared by:
Engr. Muhammad Amin Qureshi
Week 10
Lecture Plan:
Conditional Probability
Probability for “At least”
Bayes’ Theorem
Presentation Credits
The content in this presentation is made with the help from:
Probability & Statistics for Engineers and Scientists, Ronald E. Walpole (et. al.),
9th Edition
Elementary Statistics: A Step by Step Approach, Alan G. Bluman, 10th Edition
Conditional Probability
The probability of an event B occurring when it is
known that some event A has occurred is called a
conditional probability and is denoted by P(B|A).
𝑃(𝐵∨𝐴)=¿¿
M: a man is chosen,
E: the one chosen is employed.
𝑃 ( 𝑀| 𝐸 ) =¿ ¿
Conditional Probability - Example
The probability that a regularly scheduled flight departs on time is P(D) = 0.83; the probability that it arrives on
time is P(A) = 0.82; and the probability that it departs and arrives on time is P(D ∩ A) = 0.78. Find the probability
that a plane
(a) arrives on time, given that it departed on time, and
(b) departed on time, given that it has arrived on time.
Solution :
(a) The probability that a plane arrives on time, given that it departed on time,
Example: A single die is rolled 4 times. Find the probability of getting at least one 6.
Solution: It is easier to find the probability of the complement of the event, which is no 6s. Then subtract
this probability from 1 in order to find the probability of getting at least one 6.
4 trials … > P(getting at least one 6) = P (one 6 or two 6s or three 6s or four 6s) =
You subtract the P of that event not occurring from 1 to find the P of at least.
1) 1 to 5 …> P(6’) = P(not getting a 6) = 1 – P (getting a 6 ) = 1 - 1/6 = 5/6
2) 1 to 5 …> P(6’) = P(not getting a 6) = 1 – P (getting a 6 ) = 1 - 1/6 = 5/6
3) 1 to 5 …> P(6’) = P(not getting a 6) = 1 – P (getting a 6 ) = 1 - 1/6 = 5/6
4) 1 to 5 …> P(6’) = P(not getting a 6) = 1 – P (getting a 6 ) = 1 - 1/6 = 5/6
In all the four trials -> P(not getting 6 in four trials) = (5/6)4
..
.
.
P(6’6’6’6’) =
Rule of Total Probability
¿
Some Examples with
Cases
Some Examples with Cases
A box 'A' contains 2 white and 4 black balls. Another box 'B' contains 5
white and 7 black balls. A ball is transferred from box 'A' to box 'B' and a
ball is drawn at random from box 'B'. What is the probability that it will
be black (B2)? (Ans: 23/39)
P(B2)=?
if the first ball was black B1
P(B2 and B1)
If the first ball was white W1
P(B2 and W1)