CMPSCI 240: Reasoning About Uncertainty: Lecture 4: Sequential Experiments
CMPSCI 240: Reasoning About Uncertainty: Lecture 4: Sequential Experiments
CMPSCI 240: Reasoning About Uncertainty: Lecture 4: Sequential Experiments
Andrew McGregor
University of Massachusetts
Outline
1 Recap
2 Sequential Experiments
Outline
1 Recap
2 Sequential Experiments
Sequential Experiments
Each step is an event that narrows down the possible outcomes until
the final step, which assigns a unique outcome.
D
|A)
P (D
DC
A
P (D C
) |A )
P (A
P(A ∩ D C )
Ω
P(AC ∩ D)
AC
D
P (A C
) C)
|A
P (D
DC
P (D C
|A C
)
P(AC ∩ D C )
Recap Sequential Experiments Total Probability and Bayes Theorem
0.99
DC
A
0.01
5
0 .0
0.05 · 0.01
Ω
0.95 · 0.1
AC
D
0 .9
5
0.1
DC
0.90
0.95 · 0.9
P(∩N
n=1 An ) = P(A1 ∩ · · · ∩ AN ) .
Consider a card game where you draw three consecutive cards from
a deck without replacement and win if none of the cards is a heart.
Question: What is the probability that you win the game?
1 Let H1 , H2 , H3 be the events that the first, second, and third cards
that you draw are hearts.
2 The probability that we want to compute is thus P(H1C ∩ H2C ∩ H3C ).
3 Using the multiplication rule, we can compute it as
39 38 37
P(H1C )P(H2C |H1C )P(H3C |H1C ∩ H2C ) = · · ≈ 0.41
52 51 50
Recap Sequential Experiments Total Probability and Bayes Theorem
Consider a simple card game where you win if you draw three
consecutive cards from a deck without replacement and none of the
cards is a heart. Question: What does the conditional probability
tree look like?
H1
5 2
13/
Ω HC
1 H2
39/ 5 1
52 13/
HC
2 H3
38/ 50
51 13/
HC
3
37/
50
P(H3C ∩ H1C ∩ H2C )
Recap Sequential Experiments Total Probability and Bayes Theorem
Clicker Questions
Answer: E
Answer: C
Recap Sequential Experiments Total Probability and Bayes Theorem
Outline
1 Recap
2 Sequential Experiments
P(B) = P((B ∩ A1 ) ∪ · · · ∪ (B ∩ An ))
= P(B ∩ A1 ) + · · · + P(B ∩ An )
= P(B|A1 )P(A1 ) + · · · + P(B|An )P(An )