CH 04 Probability
CH 04 Probability
PROBABILITY
Dr S Muya @ 2024
Opening Example
Dr S Muya @ 2024
KEY TERMS:
EXPERIMENT, OUTCOMES, AND SAMPLE SPACE
Definitions
Dr S Muya @ 2024
Table 4.1 Examples of Statistical Experiments,
Outcomes, and Sample Spaces
Dr S Muya @ 2024
HOW TO ORGANIZE EXPERIMENT
OUTCOMES
Example 4-1
Draw the Venn and tree diagrams for the experiment of tossing a
coin once.
Dr S Muya @ 2024
Figure 4.1 (a) tree diagram and (b)
Venn Diagram for one toss of a coin.
Dr S Muya @ 2024
Example 4-2
Draw the tree diagrams and Venn for the experiment of tossing
a coin twice.
Dr S Muya @ 2024
Figure 4.2 (a) tree diagram and (b) Venn
diagram for two tosses of a coin.
Dr S Muya @ 2024
Example 4-3
Dr S Muya @ 2024
Figure 4.3 (a) Venn diagram and (b) tree
diagram for selecting two workers.
Dr S Muya @ 2024
Simple and Compound Events
Definition
An event is a collection of one or more of the outcomes of an
experiment.
Dr S Muya @ 2024
Simple and Compound Events
Definition
An event that includes one and only one of the (final)
outcomes for an experiment is called a simple event and is
denoted by Ei.
Dr S Muya @ 2024
Example 4-4
Dr S Muya @ 2024
Simple and Compound Events
Definition
A compound event is a collection of more than one outcome
for an experiment.
Dr S Muya @ 2024
Example 4-5
Dr S Muya @ 2024
Figure 4.4 Venn diagram for event A.
Dr S Muya @ 2024
Example 4-6
Dr S Muya @ 2024
Example 4-6: Solution
Let
´ F = a person is in Favour of genetic engineering
´ A = a person is against genetic engineering
´ FF = both persons are in Favour of genetic engineering
´ FA = the first person is in Favour and the second is
against
´ AF = the first is against and the second is in Favour
´ AA = both persons are against genetic engineering
Dr S Muya @ 2024
Figure 4.5 Tree and Venn diagrams.
Dr S Muya @ 2024
Example 4-6: Solution
Dr S Muya @ 2024
CALCULATING PROBABLITY
Definition
Probability is a numerical measure of the likelihood that a
specific event will occur.
Dr S Muya @ 2024
Two Properties of Probability
Dr S Muya @ 2024
Three Conceptual Approaches to
Probability
Classical Probability
Definition
Two or more outcomes (or events) that have the same
probability of occurrence are said to be equally likely
outcomes (or events).
Dr S Muya @ 2024
Classical Probability
1
P ( Ei ) =
Total number of outcomes for the experiment
Dr S Muya @ 2024
Example 4-7
Dr S Muya @ 2024
Example 4-7: Solution
1 1
P(head) = = = .50
Total number of outcomes 2
Similarly,
1
P( tail) = = .50
2
Dr S Muya @ 2024
Example 4-8
Dr S Muya @ 2024
Example 4-8: Solution
Dr S Muya @ 2024
Example 4-9
Dr S Muya @ 2024
Example 4-9: Solution
120
P (selected woman has played golf at least once) = = .24
500
Dr S Muya @ 2024
Three Conceptual Approaches to Probability
f
P( A) =
n
Dr S Muya @ 2024
Example 4-10
Dr S Muya @ 2024
Example 4-10: Solution
Let n denote the total number of cars in the sample and f the
number of lemons in n. Then,
n = 500 and f = 10
Using the relative frequency concept of probability, we obtain
f 10
P(next car is a lemon) = = = .02
n 500
Dr S Muya @ 2024
Table 4.2 Frequency and Relative Frequency
Distributions for the Sample of Cars
Dr S Muya @ 2024
Law of Large Numbers
Definition
Law of Large Numbers
If an experiment is repeated again and again, the probability of
an event obtained from the relative frequency approaches the
actual or theoretical probability.
Dr S Muya @ 2024
Example 4-11
Dr S Muya @ 2024
Example 4-11: Solution
Dr S Muya @ 2024
Three Conceptual Approaches to
Probability
Subjective Probability
Definition
Subjective probability is the probability assigned to an event
based on subjective judgment, experience, information, and
belief.
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Dr S Muya @ 2024
Table 4.3 Two-Way Classification of Employee
Responses
Dr S Muya @ 2024
Table 4.4 Two-Way Classification of Employee
Responses with Totals
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Definition
Marginal probability is the probability of a single event without
consideration of any other event. Marginal probability is also
called simple probability.
Dr S Muya @ 2024
Table 4.5 Listing the Marginal Probabilities
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Definition
Conditional probability is the probability that an event will occur
given that another has already occurred. If A and B are two
events, then the conditional probability A given B is written as
P(A|B)
and read as “the probability of A given that B has already
occurred.”
Dr S Muya @ 2024
Example 4-12
Dr S Muya @ 2024
Example 4-12: Solution
Dr S Muya @ 2024
Figure 4.6 Tree Diagram.
Dr S Muya @ 2024
Example 4-13
Dr S Muya @ 2024
Example 4-13: Solution
Dr S Muya @ 2024
Figure 4.7 Tree diagram.
Dr S Muya @ 2024
Case Study 4-1 Do You Worry About
Your Weight?
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Definition
Events that cannot occur together are said to be mutually
exclusive events.
Dr S Muya @ 2024
Example 4-14
Dr S Muya @ 2024
Example 4-14: Solution
Dr S Muya @ 2024
Example 4-15
Dr S Muya @ 2024
Example 4-15: Solution
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Definition
Two events are said to be independent if the occurrence of one
does not change the probability of the occurrence of the other. In
other words, A and B are independent events if
Dr S Muya @ 2024
Example 4-16
Dr S Muya @ 2024
Example 4-16: Solution
P (F | A) = 4/19 = .2105
Because these two probabilities are not equal, the two events
are dependent.
Dr S Muya @ 2024
Example 4-17
Dr S Muya @ 2024
Example 4-17: Solution
Hence,
P (D) = P (D | A)
Dr S Muya @ 2024
Table 4.6 Two-Way Classification
Table
Dr S Muya @ 2024
MARGINAL PROBABILITY, CONDITIONAL PROBABILITY,
AND RELATED PROBABILITY CONCEPTS
Definition
The complement of event A, denoted by Ā and read as “A bar”
or “A complement,” is the event that includes all the outcomes
for an experiment that are not in A.
Dr S Muya @ 2024
Figure 4.11 Venn diagram of two
complementary events.
Dr S Muya @ 2024
Example 4-18
Dr S Muya @ 2024
Example 4-18: Solution
Dr S Muya @ 2024
Figure 4.12 Venn diagram.
Dr S Muya @ 2024
Example 4-19
Dr S Muya @ 2024
Example 4-19: Solution
Dr S Muya @ 2024
Figure 4.13 Venn diagram.
Dr S Muya @ 2024
INTERSECTION OF EVENTS AND THE
MULTIPLICATION RULE
Intersection of Events
Definition
Let A and B be two events defined in a sample space. The
intersection of A and B represents the collection of all outcomes
that are common to both A and B and is denoted by
A and B
Dr S Muya @ 2024
Figure 4.14 Intersection of events A
and B.
Dr S Muya @ 2024
INTERSECTION OF EVENTS AND THE
MULTIPLICATION RULE
Multiplication Rule
Definition
The probability of the intersection of two events is called their joint
probability. It is written as
P(A and B)
Dr S Muya @ 2024
INTERSECTION OF EVENTS AND THE
MULTIPLICATION RULE
Multiplication Rule to Find Joint Probability
Dr S Muya @ 2024
Example 4-20
Dr S Muya @ 2024
Example 4-20: Solution
Dr S Muya @ 2024
Figure 4.15 Intersection of events F
and G.
Dr S Muya @ 2024
Figure 4.16 Tree diagram for joint
probabilities.
Dr S Muya @ 2024
Example 4-21
Dr S Muya @ 2024
Example 4-21: Solution
Dr S Muya @ 2024
Figure 4.17 Selecting two DVDs.
Dr S Muya @ 2024
INTERSECTION OF EVENTS AND THE
MULTIPLICATION RULE
Dr S Muya @ 2024
Example 4-22
Dr S Muya @ 2024
Example 4-22: Solution
Hence,
P (B | A) = P(A and B) / P(A) = .03 / .20 = .15
Dr S Muya @ 2024
MULTIPLICATION RULE FOR
INDEPENDENT EVENTS
Multiplication Rule to Calculate the Probability of Independent
Events
Dr S Muya @ 2024
Example 4-23
An office building has two fire detectors. The probability is .02 that
any fire detector of this type will fail to go off during a fire. Find
the probability that both of these fire detectors will fail to go off in
case of a fire.
Dr S Muya @ 2024
Example 4-23: Solution
Dr S Muya @ 2024
Example 4-24
a) Find the probability that all three of them are allergic to it.
b) Find the probability that at least one of the them is not
allergic to it.
Dr S Muya @ 2024
Example 4-24: Solution
a) Let A, B, and C denote the events the first, second, and third
patients, respectively, are allergic to penicillin. Hence,
Dr S Muya @ 2024
Example 4-24: Solution
Dr S Muya @ 2024
Figure 4.18 Tree diagram for joint
probabilities.
Dr S Muya @ 2024
MULTIPLICATION RULE FOR
INDEPENDENT EVENTS
Joint Probability of Mutually Exclusive Events
P(A and B) = 0
Dr S Muya @ 2024
Example 4-25
Dr S Muya @ 2024
Example 4-25: Solution
The two events A and R are mutually exclusive. Either the loan
application will be approved or it will be rejected. Hence,
P(A and R) = 0
Dr S Muya @ 2024
UNION OF EVENTS AND THE ADDITION RULE
Definition
Let A and B be two events defined in a sample space. The union
of events A and B is the collection of all outcomes that belong to
either A or B or to both A and B and is denoted by
A or B
Dr S Muya @ 2024
Example 4-26
A senior citizen center has 300 members. Of them, 140 are male,
210 take at least one medicine on a permanent basis, and 95
are male and take at least one medicine on a permanent
basis. Describe the union of the events “male” and “take at
least one medicine on a permanent basis.”
Dr S Muya @ 2024
Example 4-26: Solution
Dr S Muya @ 2024
Table 4.8
Dr S Muya @ 2024
Figure 4.19 Union of events M and A.
Dr S Muya @ 2024
UNION OF EVENTS AND THE ADDITION
RULE
Addition Rule
Dr S Muya @ 2024
Example 4-27
Dr S Muya @ 2024
Table 4.9 Two-Way Classification of
Responses
Dr S Muya @ 2024
Example 4-27: Solution
Dr S Muya @ 2024
Example 4-28
Dr S Muya @ 2024
Example 4-28: Solution
Dr S Muya @ 2024
Table 4.10 Two-Way Classification
Table
Dr S Muya @ 2024
Addition Rule for Mutually Exclusive
Events
Addition Rule to Find the Probability of the Union of Mutually
Exclusive Events
Dr S Muya @ 2024
Example 4-29
Dr S Muya @ 2024
Example 4-29: Solution
Dr S Muya @ 2024
Example 4-29: Solution
Hence,
P(F or N) = P(F) + P(N) = .4500 + .1333 = .5833
Dr S Muya @ 2024
Figure 4.20 Venn diagram of
mutually exclusive events.
Dr S Muya @ 2024
Example 4-30
Dr S Muya @ 2024
Table 4.11 Two Rolls of a Die
Dr S Muya @ 2024
Example 4-30: Solution
P(sum is 5 or 7 or 10)
= P(sum is 5) + P(sum is 7) + P(sum is 10)
= 4/36 + 6/36 + 3/36 = 13/36 = .3611
Dr S Muya @ 2024
Example 4-31
Dr S Muya @ 2024
Example 4-31: Solution
a) Let
F = a person is in Favour of genetic engineering
A = a person is against genetic engineering
Dr S Muya @ 2024
Figure 4.21 Tree diagram.
Dr S Muya @ 2024
Example 4-31: Solution
Dr S Muya @ 2024
COUNTING RULE, FACTORIALS,
COMBINATIONS, AND PERMUTATIONS
Counting Rule to Find Total Outcomes
If an experiment consists of three steps and if the first step can result
in m outcomes, the second step in n outcomes, and the third in k
outcomes, then
Dr S Muya @ 2024
Example 4-32
Dr S Muya @ 2024
Example 4-33
Dr S Muya @ 2024
Example 4-33: Solution
Total outcomes = 2 x 3 = 6
Dr S Muya @ 2024
Example 4-34
Dr S Muya @ 2024
COUNTING RULE, FACTORIALS,
COMBINATIONS, AND PERMUTATIONS
Factorials
Definition
The symbol n!, read as “n factorial,” represents the product of all
the integers from n to 1. In other words,
n! = n(n - 1)(n – 2)(n – 3) · · · 3 · 2 · 1
By definition,
0! = 1
Dr S Muya @ 2024
Example 4-35
Evaluate 7!
7! = 7 · 6 · 5 · 4 · 3 · 2 · 1 = 5040
Dr S Muya @ 2024
Example 4-36
Evaluate 10!
10! = 10 · 9 · 8 · 7 · 6 · 5 · 4 · 3 · 2 · 1
= 3,628,800
Dr S Muya @ 2024
Example 4-37
Evaluate (12-4)!
(12-4)! = 8! = 8 · 7 · 6 · 5 · 4 · 3 · 2 · 1
= 40,320
Dr S Muya @ 2024
Example 4-38
Evaluate (5-5)!
(5-5)! = 0! = 1
Note that 0! is always equal to 1.
Dr S Muya @ 2024
COUNTING RULE, FACTORIALS,
COMBINATIONS, AND PERMUTATIONS
Combinations
Definition
Combinations give the number of ways x elements can be
selected from n elements. The notation used to denote the total
number of combinations is
n Cx
Dr S Muya @ 2024
Combinations
Dr S Muya @ 2024
Combinations
Number of Combinations
The number of combinations for selecting x from n distinct
elements is given by the formula
n!
n Cx =
x!(n - x)!
Dr S Muya @ 2024
Example 4-39
An ice cream parlor has six flavors of ice cream. Kristen wants to
buy two flavors of ice cream. If she randomly selects two flavors
out of six, how many combinations are there?
Dr S Muya @ 2024
Example 4-39: Solution
6! 6! 6 × 5 × 4 × 3 × 2 ×1
6 C2 = = = = 15
2!(6 - 2)! 2!4! 2 ×1× 4 × 3 × 2 ×1
Thus, there are 15 ways for Kristen to select two ice cream
flavors out of six.
Dr S Muya @ 2024
Example 4-40
Dr S Muya @ 2024
Example 4-40: Solution
n = 5 and x = 3
5! 5! 5 × 4 × 3 × 2 × 1 120
5 C3 = = = = = 10
3!(5 - 3)! 3!2! 3 × 2 × 1× 2 × 1 6 × 2
Dr S Muya @ 2024
Example 4-41
Dr S Muya @ 2024
Example 4-41: Solution
n = 10 and x = 3
Dr S Muya @ 2024
Case Study 4-2 Probability of Winning
a Mega Millions Lottery Jackpot
Dr S Muya @ 2024
Permutations
Permutations Notation
Permutations give the total selections of x element from n
(different) elements in such a way that the order of selections is
important. The notation used to denote the permutations is
n Px
Dr S Muya @ 2024
Permutations
Permutations Formula
n!
n Px =
(n - x )!
Dr S Muya @ 2024
Example 4-42
Dr S Muya @ 2024
Example 4-42: Solution
Dr S Muya @ 2024
Excel
Dr S Muya @ 2024
Excel
Dr S Muya @ 2024
Excel
Dr S Muya @ 2024