Probability
Probability
=
chap 2-22
Example
The sample space contains 5 As and 7 Bs.
What is the probability that a randomly
selected set of 2 will include 1 A and 1 B?
Sol:
53 . 0
66
35
66
7 5
) 1 & 1 (
) 1 & 1 (
12
2
7
1
5
1
= =
=
B A P
C
C C
B A P
chap 2-23
Practice Questions
Q # 1: The sample space contains 6 red and 4 green marbles.
What is the probability that a randomly selected set of 3 will
include 1 Red & 2 Green marbles.
Ans: 36/120
Q # 2: ABC Inc. is hiring managers to till four key positions.
The candidates are five men and three women. Assuming that
every combination of men and women is equally likely to be
chosen, what is the probability that at least one woman will be
selected?
Ans: 13/14
Hint: A: at least one woman is selected
Use complement law
chap 2-24
A conditional probability is the probability of one
event, given that another event has occurred:
P(B)
B) P(A
B) | P(A
=
P(A)
B) P(A
A) | P(B
=
The conditional
probability of A given
that B has occurred
The conditional
probability of B given
that A has occurred
Conditional Probability
chap 2-25
What is the probability that a car has a CD
player, given that it has AC ?
i.e., we want to find P(CD | AC)
Conditional Probability Example
Of the cars on a used car lot, 70% have air
conditioning (AC) and 40% have a CD player
(CD). 20% of the cars have both.
chap 2-26
Conditional Probability Example
No CD CD Total
AC
.2 .5 .7
No AC .2 .1
.3
Total .4 .6 1.0
Of the cars on a used car lot, 70% have air conditioning
(AC) and 40% have a CD player (CD).
20% of the cars have both.
.2857
.7
.2
P(AC)
AC) P(CD
AC) | P(CD = =
=
(continued)
chap 2-27
Conditional Probability Example
No CD CD Total
AC
.2 .5 .7
No AC .2 .1
.3
Total .4 .6 1.0
Given AC, we only consider the top row (70% of the cars). Of these,
20% have a CD player. 20% of 70% is 28.57%.
.2857
.7
.2
P(AC)
AC) P(CD
AC) | P(CD = =
=
(continued)
chap 2-28
Multiplication Rule
Multiplication rule for two events A and B:
also
P(B) B) | P(A B) P(A =
P(A) A) | P(B B) P(A =
Question
chap 2-29
If a card is selected, at random, from a deck of 52
cards, what is the probability that the card is an ace
of red color?
chap 2-30
Multiplication Rule Example
P(Red Ace) = P(Red| Ace)P(Ace)
Black
Color
Type
Red
Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
52
2
52
4
4
2
=
|
.
|
\
|
|
.
|
\
|
=
52
2
cards of number total
ace and red are that cards of number
= =
chap 2-31
Statistical Independence
Two events are statistically independent
if and only if:
Events A and B are independent when the probability of one
event is not affected by the other event
If A and B are independent, then
P(A) B) | P(A =
P(B) P(A) B) P(A =
P(B) A) | P(B =
if P(B)>0
if P(A)>0
chap 2-32
Statistical Independence Example
No CD CD Total
AC
.2 .5 .7
No AC .2 .1
.3
Total .4 .6 1.0
Of the cars on a used car lot, 70% have air conditioning
(AC) and 40% have a CD player (CD).
20% of the cars have both.
Are the events AC and CD statistically independent?
Out of a target audience of 2,000,000, ad A reaches
500,000 viewers, B reaches 300,000 viewers and both
ads reach 100,000 viewers.
What is P(A | B)?
500, 000
( ) .25
2, 000, 000
P A = =
300, 000
( ) .15
2, 000, 000
P B = =
100, 000
( ) .05
2, 000, 000
P A B = =
Statistical Independence
Example: Television Ads
( ) .05
( | ) .30
( ) .15
P A B
P A B
P B
= = =
.3333 or 33%
So, P(ad A) = .25
P(ad B) = .15
P(A B) = .05
P(A | B) = .3333
P(A | B) = .3333 P(A) = .25
P(A)P(B)=(.25)(.15)=.0375 P(A B)=.05
Are events A and B independent?
Independent Events
Example: Television Ads
chap 2-35
Q:1 A single 6-sided die is rolled. What is the probability of
each outcome? What is the probability of rolling an even number?
of rolling an odd number?
Q:2 A single 6-sided die is rolled. What is the probability of
rolling a 2 or a 5?
Q:3 A glass jar contains 6 red, 5 green, 8 blue and 3 yellow
marbles. If a single marble is chosen at random from the jar, what
is the probability of choosing a red marble? a green marble? a
blue marble? a yellow marble?
Q:4 A glass jar contains 1 red, 3 green, 2 blue, and 4 yellow
marbles. If a single marble is chosen at random from the jar, what
is the probability that it is yellow or green?
Practice Questions
chap 2-36
Q:5 On New Year's Eve, the probability of a person having a
car accident is 0.09. The probability of a person driving while
intoxicated is 0.32 and probability of a person having a car
accident while intoxicated is 0.15. What is the probability of a
person driving while intoxicated or having a car accident?
Q:6 A single card is chosen at random from a standard deck of
52 playing cards. What is the probability of choosing a card that
is not a king?
Q:7 A card is chosen at random from a deck of 52 cards. It is
then replaced and a second card is chosen. What is the probability
of choosing a jack and an eight?
Practice Questions
Q # 8: A hamburger chain found that 75% of all customers use
mustard, 80% use ketchup, and 65% use both.
a. What is the probability that a customer will use at least one
of these? (0.90)
b. What is the probability that a ketchup user uses mustard?
(0.8125)
Q # 9: The probability of A is 0.70 and the probability of B is
0.80 and the probability of both is 0.50. What is the conditional
probability of A given B? Are A and B statistically independent?
Practice Questions
chap 2-38
Practice Questions
Q # 10: (a) A fair die is rolled twice. Let A be the event of an odd
total and B the event of an ace on the first die. Verify that P(A/B)
= P(A)
(b) The probability that a man will be alive in 25 years is 3/5 and
that his wife will be alive in 25 years is 2/3. Find the probability
that (i) both will be alive (ii) At least one will be alive.
Q # 11: A music store owner finds that 25% of the
customers entering the store ask as assistant for help and 30% of
the customers make a purchase before leaving. It is also found that
20% of all customers both ask for assistance and make a purchase.
What is the probability that a customer does at least one of these
two things?
Q # 12: The accompanying table shows proportions of
adults categorized to whether they are readers or non-readers
of newspapers and whether or not they voted in the last
election.
Practice Questions
Voted Readers Non-readers
Yes 0.63 0.13
No 0.14 0.10
What is the probability that a randomly chosen adult from this
population who did not read newspaper did not vote?
(0.4348)
chap 2-40
Q # 13: In a certain college, 4% of the men and 1% of
the women are taller than 6 feet. Furthermore 60% of the
students are women. Now, if a student is selected at random
and is taller than 6 feet, what is the probability that the
student is a woman?
Practice Questions