Professional Documents
Culture Documents
Conditional & Independent Events
Conditional & Independent Events
Independent events
P( A B)
P( A | B)
P( B)
Conditional events
We often
Conditional probability
In
n( B A)
n( S )
n( A)
n( S )
P( B A)
P( A)
P(B|A)
1
2
2
3
Conditional probability
We have
So
Note
So
But
Thus
P( B A)
P ( B | A)
P ( A)
P ( B | A) P ( A) P ( B A)
that
P( A B)
P( A | B)
P( B)
P( A | B) P( B) P( A B)
P(AB) = P(BA)
P(B|A)P(A) = P(A|B)P(B)
Conditional probability
Example: A number
Conditional probability
So,
and
14 18
11
9
513 21
25
1523
2729
20 22 24 26
28
B
4
16
30
Conditional probability
complementary events
Note
S
B
A
BA
BA
that B = (BA)(BA).
(BA) and (BA) are exclusive events, so
P(B) = P(BA) + P(BA).
From the rule of conditional probability,
P(BA) = P(B|A)P(A)
and
P(BA) = P(B|A)P(A).
Thus,
P(B) = P(B|A)P(A) + P(B|A)P(A).
Independent events
We have,
P(AB) = P(A)P(B).
Independent events
Example
= 1/36
Just look at
the sample
space!
No on second die
Independent events
Example
P(getting
at least a 6 in 6 tosses)
= 1 P(not getting a 6 in 6 tosses)
= 1 5/6 5/6 5/6
= 1 (5/6)6
= 0.6651
This
= P(ABC)P(ABC)P(ABC)
= P(ABC) + P(ABC) + P(ABC)
= P(A)P(B)P(C) + P(A)P(B)P(C) + P(A)P(B)P(C)
= 0.5 0.7 0.2 + 0.5 0.3 0.2 + 0.5 0.7 0.8
= 0.07 + 0.03 + 0.28
= 0.38
Tree diagrams
Tree
Tree diagrams
Cracks
P(C|A) = 0.2
P(C|A) = 0.8
No cracks
P(A) = 0.3
P(B) = 0.7
B
Cracks
P(C|B) = 0.1
P(C|B) = 0.9
No cracks