Lecture 16 - Probability
Lecture 16 - Probability
Chapter 16
• Simulation
Steps of Simulation
S
E F
1 5 2 4
3 6
A B
Addition Rule for Disjoint Events
If E and F are disjoint (mutually exclusive) events,
then P(E or F) = P(E) + P(F)
E F
a) a king or a queen
b) a face card or a 2
Example 6
• Suppose you are playing a game of Monopoly and have just
rolled doubles two times in a row. If you roll doubles again, you
will go to jail. You will also go to jail if you roll a total of 3
because you are 3 spaces away from the “Go to Jail” square.
What is the probability that you will go to Jail?
Complement Rule
If E represents any event and Ec represents the complement of
E, then P(Ec) = 1 – P (E)
E
Ec
P(Ec) = 1 – P(E)
Example 7
What is the probability of rolling two dice and getting
something other than a 5?
Equally Likely Outcomes
Examples:
Flipping a coin more than one time
Rolling dice more than once
Drawing cards with replacement (and shuffling)
Not Independent:
Drawing cards without replacement
Multiplication Rules
for Independent Events
If A and B are independent events,
then P(A and B) = P(A) · P(B)
0 1, 2, 3, ….
Example 10
E F
E and F
f) a female or a rat
a) a Dem b) a female
Matthew
Deborah Promoted Not Promoted Total
Promoted 0.3 0.4 0.7
Not Promoted 0.2 0.1 0.3
Total 0.5 0.5 1
General Multiplication Rule
a) P(A and B)
b) P(A or B)
c) P(A|B)
Example 16
Given P(A | B) = 0.55 and P(A or B) = 0.64 and P(B) = 0.3. Find
P(A).
Example 17
If 60% of a department store’s customers are female and 75%
of the female customers have a store charge card, what is the
probability that a customer selected at random is female and
had a store charge card?
Example 18
Suppose 5% of a box of 100 light blubs are defective. If a store
owner tests two light bulbs from the shipment and will accept
the shipment only if both work. What is the probability that
the owner rejects the shipment?