Chap4 Probability
Chap4 Probability
Introduction to Probability
Experiments, Counting Rules,
and Assigning Probabilities
Events and Their Probability
Some Basic Relationships
of Probability
Conditional Probability
Bayes’ Theorem
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 1
or duplicated, or posted to a publicly accessible website, in whole or in part.
Uncertainties
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 2
or duplicated, or posted to a publicly accessible website, in whole or in part.
Probability
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 3
or duplicated, or posted to a publicly accessible website, in whole or in part.
Probability as a Numerical Measure
of the Likelihood of Occurrence
0 .5 1
Probability:
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 4
or duplicated, or posted to a publicly accessible website, in whole or in part.
Statistical Experiments
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 6
or duplicated, or posted to a publicly accessible website, in whole or in part.
An Experiment and Its Sample Space
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 7
or duplicated, or posted to a publicly accessible website, in whole or in part.
An Experiment and Its Sample Space
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 8
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Counting Rule for
Multiple-Step Experiments
If an experiment consists of a sequence of k steps
in which there are n1 possible results for the first step,
n2 possible results for the second step, and so on,
then the total number of experimental outcomes is
given by (n1)(n2) . . . (nk).
A helpful graphical representation of a multiple-step
experiment is a tree diagram.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 9
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Counting Rule for
Multiple-Step Experiments
Example: Bradley Investments
Bradley Investments can be viewed as a two-step
experiment. It involves two stocks, each with a set of
experimental outcomes.
Markley Oil: n1 = 4
Collins Mining: n2 = 2
Total Number of
Experimental Outcomes: n1n2 = (4)(2) = 8
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 10
or duplicated, or posted to a publicly accessible website, in whole or in part.
Tree Diagram
N N!
CnN
n n !(N - n )!
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 12
or duplicated, or posted to a publicly accessible website, in whole or in part.
Counting Rule for Permutations
N N!
PnN n !
n (N - n )!
where:
Ei is the ith experimental outcome
and P(Ei) is its probability
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 14
or duplicated, or posted to a publicly accessible website, in whole or in part.
Assigning Probabilities
where:
n is the number of experimental outcomes
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 15
or duplicated, or posted to a publicly accessible website, in whole or in part.
Assigning Probabilities
Classical Method
Assigning probabilities based on the assumption
of equally likely outcomes
Subjective Method
Assigning probabilities based on judgment
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 16
or duplicated, or posted to a publicly accessible website, in whole or in part.
Classical Method
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 17
or duplicated, or posted to a publicly accessible website, in whole or in part.
Relative Frequency Method
Number of Number
Polishers Rented of Days Probability
0 4 .10
1 6 .15
2 18 .45 4/40
3 10 .25
4 2 .05
40 1.00
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 19
or duplicated, or posted to a publicly accessible website, in whole or in part.
Subjective Method
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 20
or duplicated, or posted to a publicly accessible website, in whole or in part.
Subjective Method
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 21
or duplicated, or posted to a publicly accessible website, in whole or in part.
Events and Their Probabilities
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 22
or duplicated, or posted to a publicly accessible website, in whole or in part.
Events and Their Probabilities
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 23
or duplicated, or posted to a publicly accessible website, in whole or in part.
Events and Their Probabilities
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 24
or duplicated, or posted to a publicly accessible website, in whole or in part.
Some Basic Relationships of Probability
Complement of an Event
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 25
or duplicated, or posted to a publicly accessible website, in whole or in part.
Complement of an Event
Sample
Event A Ac Space S
Venn
Diagram
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 26
or duplicated, or posted to a publicly accessible website, in whole or in part.
Union of Two Events
Sample
Event A Event B Space S
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 27
or duplicated, or posted to a publicly accessible website, in whole or in part.
Union of Two Events
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 28
or duplicated, or posted to a publicly accessible website, in whole or in part.
Intersection of Two Events
Sample
Event A Event B Space S
Intersection of A and B
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 29
or duplicated, or posted to a publicly accessible website, in whole or in part.
Intersection of Two Events
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 30
or duplicated, or posted to a publicly accessible website, in whole or in part.
Addition Law
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 31
or duplicated, or posted to a publicly accessible website, in whole or in part.
Addition Law
Sample
Event A Event B Space S
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 33
or duplicated, or posted to a publicly accessible website, in whole or in part.
Mutually Exclusive Events
There is no need to
include “- P(A B”
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 34
or duplicated, or posted to a publicly accessible website, in whole or in part.
Conditional Probability
P( A B)
P( A|B)
P( B)
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 35
or duplicated, or posted to a publicly accessible website, in whole or in part.
Conditional Probability
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 36
or duplicated, or posted to a publicly accessible website, in whole or in part.
Multiplication Law
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 37
or duplicated, or posted to a publicly accessible website, in whole or in part.
Multiplication Law
Collins Mining
Markley Oil Profitable (C) Not Profitable (Cc) Total
Joint Probabilities
(appear in the body
Marginal Probabilities
of the table)
(appear in the margins
of the table)
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 39
or duplicated, or posted to a publicly accessible website, in whole or in part.
Independent Events
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 40
or duplicated, or posted to a publicly accessible website, in whole or in part.
Multiplication Law
for Independent Events
The multiplication law also can be used as a test to see
if two events are independent.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 41
or duplicated, or posted to a publicly accessible website, in whole or in part.
Multiplication Law
for Independent Events
Example: Bradley Investments
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 42
or duplicated, or posted to a publicly accessible website, in whole or in part.
Mutual Exclusiveness and Independence
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 44
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem
Example: L. S. Clothiers
A proposed shopping center will provide strong
competition for downtown businesses like L. S.
Clothiers. If the shopping center is built, the owner
of L. S. Clothiers feels it would be best to relocate to
the shopping center.
The shopping center cannot be built unless a
zoning change is approved by the town council.
The planning board must first make a
recommendation, for or against the zoning change,
to the council.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 45
or duplicated, or posted to a publicly accessible website, in whole or in part.
Prior Probabilities
Example: L. S. Clothiers
Let:
A1 = town council approves the zoning change
A2 = town council disapproves the change
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 46
or duplicated, or posted to a publicly accessible website, in whole or in part.
New Information
Example: L. S. Clothiers
The planning board has recommended against
the zoning change. Let B denote the event of a
negative recommendation by the planning board.
Given that B has occurred, should L. S. Clothiers
revise the probabilities that the town council will
approve or disapprove the zoning change?
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 47
or duplicated, or posted to a publicly accessible website, in whole or in part.
Conditional Probabilities
Example: L. S. Clothiers
Past history with the planning board and the town
council indicates the following:
P(B|A1) = .2 P(B|A2) = .9
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 48
or duplicated, or posted to a publicly accessible website, in whole or in part.
Tree Diagram
Example: L. S. Clothiers
P(B|A1) = .2
P(A1 B) = .14
P(A1) = .7
c
P(B |A1) = .8 P(A1 Bc) = .56
P(B|A2) = .9
P(A2 B) = .27
P(A2) = .3
c
P(B |A2) = .1 P(A2 Bc) = .03
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 49
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem
P( Ai )P( B| Ai )
P( Ai |B)
P( A1 )P( B| A1 ) P( A2 )P( B| A2 ) ... P( An )P( B| An )
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 50
or duplicated, or posted to a publicly accessible website, in whole or in part.
Posterior Probabilities
Example: L. S. Clothiers
Given the planning board’s recommendation not
to approve the zoning change, we revise the prior
probabilities as follows:
P( A1 )P( B| A1 )
P( A1 |B)
P( A1 )P( B| A1 ) P( A2 )P( B| A2 )
(. 7 )(. 2 )
(. 7 )(. 2 ) (. 3)(. 9)
= .34
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 51
or duplicated, or posted to a publicly accessible website, in whole or in part.
Posterior Probabilities
Example: L. S. Clothiers
The planning board’s recommendation is good
news for L. S. Clothiers. The posterior probability of
the town council approving the zoning change is .34
compared to a prior probability of .70.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 52
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 1
Prepare the following three columns:
Column 1 - The mutually exclusive events for
which posterior probabilities are desired.
Column 2 - The prior probabilities for the events.
Column 3 - The conditional probabilities of the
new information given each event.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 53
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 1
(1) (2) (3) (4) (5)
Prior Conditional
Events Probabilities Probabilities
Ai P(Ai) P(B|Ai)
A1 .7 .2
A2 .3 .9
1.0
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 54
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 2
Prepare the fourth column:
Column 4
Compute the joint probabilities for each event and
the new information B by using the multiplication
law.
Multiply the prior probabilities in column 2 by
the corresponding conditional probabilities in
column 3. That is, P(Ai IB) = P(Ai) P(B|Ai).
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 55
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 2
(1) (2) (3) (4) (5)
Prior Conditional Joint
Events Probabilities Probabilities Probabilities
Ai P(Ai) P(B|Ai) P(Ai I B)
A1 .7 .2 .14
A2 .3 .9 .27
.7 x .2
1.0
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 56
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 2 (continued)
We see that there is a .14 probability of the town
council approving the zoning change and a
negative recommendation by the planning board.
There is a .27 probability of the town council
disapproving the zoning change and a negative
recommendation by the planning board.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 57
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 3
Sum the joint probabilities in Column 4. The
sum is the probability of the new information,
P(B). The sum .14 + .27 shows an overall
probability of .41 of a negative recommendation
by the planning board.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 58
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 3
(1) (2) (3) (4) (5)
Prior Conditional Joint
Events Probabilities Probabilities Probabilities
Ai P(Ai) P(B|Ai) P(Ai I B)
A1 .7 .2 .14
A2 .3 .9 .27
1.0 P(B) = .41
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 59
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 4
Prepare the fifth column:
Column 5
Compute the posterior probabilities using the
basic relationship of conditional probability.
P( Ai B)
P( Ai | B)
P( B)
The joint probabilities P(Ai I B) are in column 4
and the probability P(B) is the sum of column 4.
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 60
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bayes’ Theorem: Tabular Approach
Example: L. S. Clothiers
• Step 4
(1) (2) (3) (4) (5)
Prior Conditional Joint Posterior
Events Probabilities Probabilities Probabilities Probabilities
Ai P(Ai) P(B|Ai) P(Ai I B) P(Ai |B)
A1 .7 .2 .14 .3415
A2 .3 .9 .27 .6585
1.0 P(B) = .41 1.0000
.14/.41
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 61
or duplicated, or posted to a publicly accessible website, in whole or in part.
Example: Incidence of a rare disease
Only 1 in 1000 adults is afflicted with a rare
disease for which a diagnostic test has been
developed. The test is such that when an
individual actually has a disease, a positive
result will occur 99% of the time, whereas an
individual without the disease will show a
positive test result only 2% of the time. If a
randomly selected individual is tested and the
result is positive, what is the probability that the
individual has the disease?
© 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied
62 Slide 62
or duplicated, or posted to a publicly accessible website, in whole or in part.