Lecture-5 Conditional Probability and Bayes Rule
Lecture-5 Conditional Probability and Bayes Rule
Learning Objectives
• Conditional Probability
• Total Probability Theorem
• Bayes Rule
Conditional Probability
the probability of an event B under the condition that an event A
occurs. This probability is called the conditional probability of B given A
and is denoted by P(BIA).
𝑃 𝐴∩𝐵
𝑃 𝐵/𝐴 =
𝑃 𝐴
Suppose that we are now given the additional information that 36 of those employed and 12 of those
unemployed are members of the Rotary Club. We wish to find the probability of the event A that the
individual selected is a member of the Rotary Club.
Theorem of total Probability or the rule of Elimination
A person has undertaken a mining job. The probabilities of completion of job on time with and
without rain are 0.42 and 0.90 respectively. If the probability that it will rain is 0.45, then
determine the probability that the mining job will be completed on time.
Bayes rule
Theorem 2.14: (Bayes’ Rule) If the events B1,B2, . . . , Bk constitute a partition of the sample space S
such that P(Bi) = 0 for i = 1, 2, . . . , k, then for any event A in S such that P(A) = 0,
𝑃 𝐵𝑟 ∩ 𝐴 𝑃 𝐵𝑟 𝑃 𝐴 𝐵𝑟
𝑃 𝐵𝑟 𝐴 = 𝑛 = 𝑛
σ𝑖=1 𝑃 𝐵𝑖 ∩ 𝐴 σ𝑖=1 𝑃 𝐵𝑖 𝑃 𝐴 𝐵𝑖
for 𝑟 = 1, 2, . . . , 𝑘.
Practice Problems
Practice Problems
A certain form of cancer is known to be found in women over 60 with probability 0.07. A blood
test exists for the detection of the disease, but the test is not infallible. In fact, it is known that
10% of the time the test gives a false negative (i.e., the test incorrectly gives a negative result) and
5% of the time the test gives a false positive (i.e., incorrectly gives a positive result). If a woman
over 60 is known to have taken the test and received a favorable (i.e., negative) result, what is the
probability that she has the disease?
2.96-Police plan to enforce speed limits by using radar traps at 4 different
locations within the city limits. The radar traps at each of the
locations 𝐿1 , 𝐿2 , 𝐿3 , 𝑎𝑛𝑑 𝐿4 , are operated 40%, 30%, 20%, and 30% of the time,
and if a person who is speeding on his way to work has probabilities of 0.2, 0.1,
0.5, and 0.2, respectively, of passing through these locations, what is the
probability that he will receive a speeding ticket?
2.99-Suppose that the four inspectors at a film factory are supposed to stamp the
expiration date on each package of film at the end of the assembly line. John, who
stamps 20% of the packages, fails to stamp the expiration date once in every 200
packages: Tom, who stamps 60% of the packages, fails to stamp the expiration date
once in every 100 packages; Jeff, who stamps 15% of the packages, fails to stamp the
expiration date once in every 90 packages; and Pat, who stamps 5% of the packages,
fails to stamp the expiration date once in every 200 packages. If a customer complains
that her package of film does not show the expiration date, what is the probability that it
was inspected by John?