Chap 3 Proba
Chap 3 Proba
Chapter 3
Probability
1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
3.1
Important Terms
3
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Important Terms
(continued)
A AB B
4
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Important Terms
(continued)
A B
5
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Important Terms
(continued)
6
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Important Terms
(continued)
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
9
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
10
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
3.2
Probability
0 Impossible
11
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
12
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Counting the Possible Outcomes
n!
C = n
k
k! (n - k)!
where
n!= n(n-1)(n-2)… (1)
0!= 1 by definition
13
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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.subj
ective probability
an individual opinion or belief about the probability of occurrence
14
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Probability Postulates
(the notation means that the summation is over all the basic outcomes in A)
3.P(S)= 1
15
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
3.3
Probability Rules
16
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
A Probability Table
B B
17
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Addition Rule Example
18
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Addition Rule Example
(continued)
19
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
20
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Conditional Probability Example
21
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
22
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
23
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Multiplication Rule
also
24
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
25
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
26
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
27
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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
. . . . .
. . . . .
. . . . .
The probability of a j
oint event, A ∩ B:
number of outcomes satisfying A and B
P(A Ç B) =
total number of elementary outcomes
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
31
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Using a Tree Diagram
.2
H as .7 P(AC ∩ CD)= .2
Given AC or CD
no AC: P(A
C)=
.7 Doe
s P(AC ∩ CD)= .5
Ha not .5
sA
C have
CD .7
All
Cars
Do .2
e
not s H as .3
h av P(A CD P(AC ∩ CD)= .2
eA C)=
C .3
Doe
s
not .1 P(AC ∩ CD)= .1
have
CD
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
.3 32
Ch. 3-
Odds
P(A) P(A)
odds = =
1- P(A) P(A)
33
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Odds:Example
Calculate the probability of winning if the odds
of winning are 3 to 1:
3 P(A)
odds = =
1 1- P(A)
3 x (1-P(A))= P(A)
3 – 3P(A)= P(A)
3 = 4P(A)
P(A)= 0.75
34
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Overinvolvement Ratio
The probability of event A1 conditional on event B1
divided by the probability of A1 conditional on activity B2
is defined as the overinvolvement ratio:
P(A 1 | B1 )
P(A 1 | B 2 )
35
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
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 ) +K +P(A | E k )P(E k )
where:
Ei = ith event of kmutually exclusive and collectively
exhaustive events
A = new event that might impact P(Ei)
36
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Bayes’ Theorem Example
38
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-
Bayes’Theorem Example
(continued)
Apply Bayes’Theorem:
P(D | S)P(S)
P(S | D) =
P(D | S)P(S) +P(D | U)P(U)
(.6)(.4)
=
(.6)(.4) + (.2)(.6)
.24
= =.667
.24 +.12