Newbold Sbe8 ch03
Newbold Sbe8 ch03
Chapter 3
Probability
Copyright © 2013 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
Use a Venn diagram or tree diagram to illustrate
simple probabilities
Apply common rules of probability
Compute conditional probabilities
Determine whether events are statistically
independent
Use Bayes’ Theorem for conditional probabilities
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-2
3.1
Important Terms
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-3
Important Terms
(continued)
A AB B
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-4
Important Terms
(continued)
A B
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-5
Important Terms
(continued)
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-6
Important Terms
(continued)
Copyright © 2013 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]
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-8
Examples
(continued)
Complements:
A [1, 3, 5] B [1, 2, 3]
Intersections:
Unions:
A B [4, 6] A B [5]
A B [2, 4, 5, 6]
A A [1, 2, 3, 4, 5, 6] S
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-9
Examples
(continued)
Mutually exclusive:
A and B are not mutually exclusive
The outcomes 4 and 6 are common to both
Collectively exhaustive:
A and B are not collectively exhaustive
A U B does not contain 1 or 3
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-10
3.2
Probability and Its Postulates
0 Impossible
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-11
Assessing Probability
There are three approaches to assessing the
probability of an uncertain event:
1. classical probability
3. subjective probability
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-12
Classical Probability
Assumes all outcomes in the sample space are
equally likely to occur
Requires a count of the outcomes in the sample space
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-13
Counting the Possible Outcomes
n n!
C k
k! (n k)!
where
n! = n(n-1)(n-2)…(1)
0! = 1 by definition
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-14
Permutations and Combinations
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-15
Permutations and Combinations
(continued)
n
P n(n 1)(n 2) ...(n x 1)
x
n!
(n x)!
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-16
Permutations and Combinations
(continued)
Combinations: The number of combinations
of x objects chosen from n is the number of
possible selections that can be made
n
P n
C k
x
x!
n!
x! (n x)!
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-17
Permutations and Combinations
Example
Suppose that two letters are to be selected
from A, B, C, D and arranged in order. How
many permutations are possible?
Solution The number of permutations, with
4 4!
n = 4 and x = 2 , is P
2 12
(4 2)!
The permutations are
AB AC AD BA BC BD
CA CB CD DA DB DC
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-18
Permutations and Combinations
Example
(continued)
4 4!
C 2 6
2! (4 2)!
The combinations are
AB (same as BA) BC (same as CB)
AC (same as CA) BD (same as DB)
AD (same as DA) CD (same as DC)
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-19
Assessing Probability
Three approaches (continued)
3. subjective probability
(the notation means that the summation is over all the basic
outcomes in A)
3. P(S) = 1
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-21
3.3
Probability Rules
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-22
A Probability Table
B
B
A P(A)
P(A B) P(A B )
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-23
Addition Rule Example
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-24
Addition Rule Example
(continued)
Copyright © 2013 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 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-26
Conditional Probability Example
Copyright © 2013 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 © 2013 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 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-29
Multiplication Rule
Copyright © 2013 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 © 2013 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 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-32
Statistical Independence
(continued)
For multiple events:
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-33
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
Are the events AC and CD statistically independent?
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-34
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(CD) = 0.4 P(AC)P(CD) = (0.7)(0.4) = 0.28
. . . . .
. . . . .
. . . . .
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-36
Joint and
Marginal Probabilities
WhereBP(A
P(A) B1 )k
1, B2, …, B
P(A
are B 2 ) exclusive
k mutually P(A andcollectively
Bk )
exhaustive events
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-37
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 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-38
Using a Tree Diagram
.2
D .7 P(AC ∩ CD) = .2
Given AC or Has
C
no AC: .7
C ) = D oe
P( A not
s P(AC ∩ CD) = .5
C .5
A h a ve
H as CD .7
All
Cars
Do .2
e
n ot s .3
h av P(A C D P(AC ∩ CD) = .2
eA C )= . Has
C 3
D oe
s
not .1 P(AC ∩ CD) = .1
h a ve
CD .3 Ch. 3-39
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
Odds
P(A) P(A)
odds
1- P(A) P(A)
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-40
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 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-41
3.5
Bayes’ Theorem
Let A1 and B1 be two events. Bayes’ theorem states that
P(A 1 | B 1 )P(B 1 )
P(B 1 | A 1 )
P(A 1 )
and
P(B1 | A 1 )P(A 1 )
P(A 1 | B1 )
P(B1 )
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-42
3.5
Bayes’ Theorem
Bayes’ theorem (alternative statement)
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 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-43
Bayes’ Theorem Example
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-44
Bayes’ Theorem Example
(continued)
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-45
Bayes’ Theorem Example
(continued)
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-46
Chapter Summary
Defined basic probability concepts
Sample spaces and events, intersection and union
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-47
All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted, in any form or by any means, electronic,
mechanical, photocopying, recording, or otherwise, without the prior written
permission of the publisher.
Printed in the United States of America.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-48