Académique Documents
Professionnel Documents
Culture Documents
Chap 4-1
Chapter Goals
After completing this chapter, you should be
able to:
Explain basic probability concepts and definitions
Use contingency tables to view a sample space
Apply common rules of probability
Compute conditional probabilities
Determine whether events are statistically
independent
Use Bayes Theorem for conditional probabilities
Important Terms
Assessing Probability
X
number of ways the event can occur
T
total number of elementary outcomes
3. subjective probability
an individual judgment or opinion about the probability of occurrence
Sample Space
The Sample Space is the collection of all
possible events
e.g. All 6 faces of a die:
Events
Simple event
Joint event
Visualizing Events
Contingency Tables
Ace
Sample
Space
Total
Black
24
26
Red
24
26
Total
48
52
Tree Diagrams
Full Deck
of 52 Cards
Not Ace
Ca r
k
c
a
Bl
Re d C
Ac e
Not an Ace
Ace
ard
No t a n
24
2
Ace
24
Sample
Space
Special Events
example:
A = queen of diamonds; B = queen of clubs
Special Events
(continued)
example:
A = aces; B = black cards;
C = diamonds; D = hearts
Probability
Certain
.5
Impossible
Type
Color
Red
Black
Total
Ace
Non-Ace
24
24
48
Total
26
26
52
Type
Color
2
2
4
52 52 52
Red
Black
Total
Ace
Non-Ace
24
24
48
Total
26
26
52
Event
B2
Total
A1
A2
Total
P(B1)
Joint Probabilities
P(B2)
P(A1)
Type
Color
Red
Black
Total
Ace
Non-Ace
24
24
48
Total
26
26
52
Dont count
the two red
aces twice!
Computing Conditional
Probabilities
P(A and B)
P(A | B)
P(B)
P(A and B)
P(B | A)
P(A)
Where P(A and B) = joint probability of A and B
P(A) = marginal probability of A
P(B) = marginal probability of B
No CD
Total
AC
.2
.5
.7
No AC
.2
.1
.3
Total
.4
.6
1.0
Given AC, we only consider the top row (70% of the cars). Of these,
20% have a CD player. 20% of 70% is about 28.57%.
CD
No CD
Total
AC
.2
.5
.7
No AC
.2
.1
.3
Total
.4
.6
1.0
All
Cars
.
=
)
C
AC
s
a
Do
e
hav s not
eA
P(A
C
C)
= .3
.2
.7
D
C
Has
D oe
s no
t .5
have
CD
.7
.2
.3
D
C
Has
D oe
s no
t .1
have
CD
.3
Given CD or
no CD:
P(C
H
All
Cars
C
as
.
=
)
D
Do
e
hav s not
eC
D P(C
D)
= .6
.2
.4
D oe
s no
t .2
have
AC
(continued)
P(CD and AC) = .2
.4
AC
s
a
H
.5
.6
D oe
s no
t .1
have
AC
.6
Statistical Independence
P(A | B) P(A)
P(B | A) P(B)
Multiplication Rules
Bayes Theorem
P(A | Bi )P(Bi )
P(Bi | A)
P(A | B1 )P(B1 ) P(A | B 2 )P(B 2 ) P(A | Bk )P(Bk )
where:
Bi = ith event of k mutually exclusive and collectively
exhaustive events
A = new event that might impact P(Bi)
P(S) = .4 , P(U) = .6
Conditional probabilities:
P(D|S) = .6
(prior probabilities)
P(D|U) = .2
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
So the revised probability of success, given that this well
has been scheduled for a detailed test, is .667
Event
Prior
Prob.
Conditional
Prob.
Joint
Prob.
Revised
Prob.
S (successful)
.4
.6
.4*.6 = .24
.24/.36 = .667
U (unsuccessful)
.6
.2
.6*.2 = .12
.12/.36 = .333
Chapter Summary