5 - Counting Probability of Event Part2
5 - Counting Probability of Event Part2
Week #4
Counting Probability of event -2
1
Conditional Probability,
Independence, and the Product Rule
• One very important concept in probability theory is
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)
• The symbol P(B|A) is usually read “the probability that B
occurs given that A occurs” or simply “the probability of B,
given A.”
Conditional Probability,
Independence, and the Product Rule
• Consider the event B of getting a perfect square when a die is
tossed. The die is constructed so that the even numbers are
twice as likely to occur as the odd numbers. Based on the
sample space S = {1, 2, 3, 4, 5, 6}, with probabilities of 1/9 and
2/9 assigned, respectively, to the odd and even numbers
• Now suppose that it is known that the toss of the die resulted
in a number greater than 3. We are now dealing with a
reduced sample space A = {4, 5, 6}, which is a subset of S.
• To find the probability that B occurs, relative to the space A,
we use this formula
Conditional Probability,
Independence, and the Product Rule
Conditional Probability,
Independence, and the Product Rule
• Suppose that our sample space S is the population of adults in a small town who
have completed the requirements for a college degree. We shall categorize them
according to gender and employment status. The data are given in Table 2.1.
• Example 2.36: Suppose that we have a fuse box containing 20 fuses, of which 5 are
defective. If 2 fuses are selected at random and removed from the box in succession
without replacing the first, what is the probability that both fuses are defective?
• Solution : We shall let A be the event that the first fuse is defective and B the event
that the second fuse is defective; then we interpret A ∩ B as the event that A occurs
and then B occurs after A has occurred. The probability of first removing a defective
fuse is 1/4; then the probability of removing a second defective fuse from the
remaining 4 is 4/19. Hence,
• P(A ∩ B) =(1/4) (4//19)=1/19
.
Conditional Probability,
Independence, and the Product Rule
• Example 2.37: One bag contains 4 white balls and 3 black
balls, and a second bag contains 3 white balls and 5 black
balls. One ball is drawn from the first bag and placed unseen in
the second bag. What is the probability that a ball now drawn
from the second bag is black?
• Solution : Let B1, B2 , and W represent, respectively, the
2 1
drawing of a black ball from bag 1, a black ball from bag 2, and
a white ball from bag 1. We are interested in the union of the
mutually exclusive events B1∩ B2 and W1 ∩ B2. The various
possibilities and their probabilities are illustrated in Figure 2.8.
Now
Conditional Probability,
Independence, and the Product Rule
Conditional Probability,
Independence, and the Product Rule
• Example 2.38: A small town has one fire engine and one ambulance
available for emergencies. The probability that the fire engine is available
when needed is 0.98, and the probability that the ambulance is available
when called is 0.92. In the event of an injury resulting from a burning
building, find the probability that both the ambulance and the fire engine will
be available, assuming they operate independently.
• Solution : Let A and B represent the respective events that the fire engine
and the ambulance are available. Then
• P(A ∩ B) = P(A)P(B) = (0.98)(0.92) = 0.9016.
Conditional Probability,
Independence, and the Product Rule
• Example 2.40: Three cards are drawn in succession, without replacement, from an ordinary
deck of playing cards. Find the probability that the event A1 ∩ A2 ∩ A3 occurs, where A1 is
the event that the first card is a red ace, A2 is the event that the second card is a 10 or a
jack, and A3 is the event that the third card is greater than 3 but lessthan 7.
• Solution : First we define the events
• A1: the first card is a red ace,
• A2: the second card is a 10 or a jack,
• A3: the third card is greater than 3 but less than 7.
Conditional Probability,
Independence, and the Product Rule
• Example 2.40: Three cards are drawn in succession, without replacement, from an ordinary deck of
playing cards. Find the probability that the event A1 ∩ A2 ∩ A3 occurs, where A1 is the event that
the first card is a red ace, A2 is the event that the second card is a 10 or a jack, and A3 is the event
that the third card is greater than 3 but lessthan 7.
• Solution : First we define the events
• A1: the first card is a red ace,
• A2: the second card is a 10 or a jack,
• A3: the third card is greater than 3 but less than 7.
Exercise (in your practice book)
• A class in advanced physics is composed of 10 juniors, 30 seniors, and
10 graduate students. The final grades show that 3 of the juniors, 10 of
the seniors, and 5 of the graduate students received an A for the
course. If a student is chosen at random from this class and is found to
have earned an A, what is the probability that he or she is a senior?
• A random sample of 200 adults are classified below by sex and their
level of education attained.
If a person is picked at random from this group, find the probability that
• (a) the person is a male, given that the person has a secondary education;
• (b) the person does not have a college degree, given that the person is a
female.
Exercise
• One bag contains 2 bottle of aspirin and 3 bottle of antangin, and a second bag contains 3 bottle
of aspirin, 2 bottle of antangin, and 1 bottle of comix. One ball is drawn from the first bag and
placed unseen in the second bag. What is the probability that:
• The bottle drawn from the first and second bag is antangin?
• The bottle drawn from the first and second bag is not comix?
• The bottle drawn from the first and second bag is different?
• In an experiment to study the relationship of hypertension and smoking habits, the
following data are collected for 180 individuals where H and NH in the table stand for
Hypertension and Non hypertension, respectively. If one of these individuals is
selected at random, find the probability that the person is
(a) experiencing hypertension, given that the person is a heavy smoker;
(b) a nonsmoker, given that the person is experiencing no hypertension.
Exercise
• In USA Today (Sept. 5, 1996), the results of a survey involving the use of sleepwear
while traveling were listed as follows:
2 5 6 10
1 3 7
4 8 11
0,8
0,5 0,7
0,8
Bayes’ Rule-total probability
Bayes’ Rule- Bayes’ Rule-total probability
Bayes’ Rule-total probability
• Referring to the tree diagram of
Figure 2.15, we find that the three
branches give the probabilities
• P(B1)P(A|B1) = (0.3)(0.02) = 0.006,
• P(B2)P(A|B2) = (0.45)(0.03) =
0.0135,
• P(B3)P(A|B3) = (0.25)(0.02) = 0.005,
and hence
• P(A) = 0.006 + 0.0135 + 0.005 =
0.0245.
Bayes’ Rule
• A paint-store chain produces and sells latex and semigloss paint. Based on long-range
sales, the probability that a customer will purchase latex paint is 0.75. Of those that
purchase latex paint, 60% also purchase rollers. But only 30% of semigloss paint buyers
purchase rollers. A randomly selected buyer purchases a roller and a can of paint. What
is the probability that the paint is latex?