Chap03 Newbold
Chap03 Newbold
Chapter 3
Probability
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-1
Chapter Goals
After completing this chapter, you should be
able to:
Explain basic probability concepts and definitions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-2
3.1
Important Terms
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-3
Important Terms
(continued)
A A∩B B
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-4
Important Terms
(continued)
A B
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-5
Important Terms
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-6
Important Terms
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-7
Examples
Let the Sample Space be the collection of
all possible outcomes of rolling one die:
S = [1, 2, 3, 4, 5, 6]
Complements:
A = [1, 3, 5] B = [1, 2, 3]
Intersections:
A ∩ B = [4, 6] A ∩ B = [5]
Unions:
A ∪ B = [2, 4, 5, 6]
A ∪ A = [1, 2, 3, 4, 5, 6] = S
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-9
True or False
S = [1, 2, 3, 4, 5, 6]
A = [2, 4, 6] , B = [4, 5, 6]
A). True
B). False
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-10
True or False
S = [1, 2, 3, 4, 5, 6]
A = [2, 4, 6] , B = [4, 5, 6], C = [1, 3, 5]
A). True
B). False
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-11
Clicker Question
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-12
Properties of Set Operations
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-13
3.2
Probability
0 Impossible
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-14
Assessing Probability
There are three approaches to assessing the
probability of an uncertain event:
1. classical probability
NA number of outcomes that satisfy the event
probability of event A = =
N total number of outcomes in the sample space
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-15
Counting the Possible Outcomes
n n!
C = k
k! (n − k)!
where
n! = n(n-1)(n-2)…(1)
0! = 1 by definition
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-16
Question
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-17
Assessing Probability
Three approaches (continued)
2. relative frequency probability
nA number of events in the population that satisfy event A
probability of event A = =
n total number of events in the population
3. subjective probability
an individual opinion or belief about the probability of occurrence
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-18
Probability Postulates
(the notation means that the summation is over all the basic outcomes in A)
3. P(S) = 1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-19
3.3
Probability Rules
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-20
A Probability Table
B B
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-21
Addition Rule Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-22
Addition Rule Example
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-23
Question
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-24
Question
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-25
Conditional Probability
A conditional probability is the probability of one
event, given that another event has occurred:
The conditional
P(A ∩ B)
P(A | B) = probability of A
P(B) given that B has
occurred
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-26
Conditional Probability Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-27
Conditional Probability Example
(continued)
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.
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
P(CD ∩ AC) .2
P(CD | AC) = = = .2857
P(AC) .7
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-28
Conditional Probability Example
(continued)
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%.
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
P(CD ∩ AC) .2
P(CD | AC) = = = .2857
P(AC) .7
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-29
Multiplication Rule
also
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-30
Multiplication Rule Example
P(Red ∩ Ace) = P(Red| Ace)P(Ace)
2 4 2
= =
4 52 52
number of cards that are red and ace 2
= =
total number of cards 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-31
Statistical Independence
Two events are statistically independent
if and only if:
P(A ∩ B) = P(A) P(B)
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-32
Statistical Independence 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.
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-33
Statistical Independence Example
(continued)
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
P(AC ∩ CD) = 0.2
P(AC) = 0.7
P(AC)P(CD) = (0.7)(0.4) = 0.28
P(CD) = 0.4
B1 B2 ... Bk
. . . . .
. . . . .
. . . . .
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-35
Joint and
Marginal Probabilities
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-36
Marginal Probability Example
P(Ace)
2 2 4
= P(Ace ∩ Red) + P(Ace ∩ Black) = + =
52 52 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-37
Using a Tree Diagram
.2
.7 P(AC ∩ CD) = .2
Given AC or
no AC:
P(AC ∩ CD) = .5
.5
.7
All
Cars
.2
.3 P(AC ∩ CD) = .2
.1 P(AC ∩ CD) = .1
P(A) P(A)
odds = =
1- P(A) P(A)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-39
Odds: Example
Calculate the probability of winning if the odds
of winning are 3 to 1:
3 P(A)
odds = =
1 1- P(A)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-41
3.5
Bayes’ Theorem
P(A | E i )P(E i )
P(E i | A) =
P(A)
P(A | E i )P(E i )
=
P(A | E 1 )P(E 1 ) + P(A | E 2 )P(E 2 ) + + P(A | E k )P(E k )
where:
Ei = ith event of k mutually exclusive and collectively
exhaustive events
A = new event that might impact P(Ei)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-42
Bayes’ Theorem Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-43
Bayes’ Theorem Example
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-44
Bayes’ Theorem Example
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-45
Chapter Summary