Professional Documents
Culture Documents
Statistics 3
Statistics 3
03 Conditional Probability
|A UB UC | =
|A |+ | B |+ | C| Inclusion (+ve)
U U U
-|A B|-| A C|- |B C| Exclusion (-ve)
U U
+ |A B C | Inclusion (+ve)
A B
What is Probability
0 1
1 in 6 Chance 4 in 5 Chance
Types of Events
Hearts
Aces Kings Kings
A
A K 1 Q K
2 J
A A K K K K
3 6 8
A K 5 7 K
10 9
Dependent vs Independent
Number of Blue Marbles = 6
Number of Yellow Marbles = 9
6 9 54 6 9 54
x = ~ 26% x = ~ 24%
15 14 210 15 15 225
H
0.5
H H
1 1 1
0.5 x 0.5 = 0.25 (or x = )
2 2 4
H H H
1 1 1 1
0.5 x 0.5 x 0.5 = 0.125 (or x x = )
2 2 2 8
Probability of Given
P( A an d B) = P(A) x P(B|A)
Event A Event B
U
P (A B ) = P (A ) x P(B|A)
U
P (A B ) = P (B ) x P(A|B)
Conditional Probability
A B
Conditional Probability Formula
U
P(A B)
P(A|B)=
P(B)
Probability that A ocours given
that B has already occured
P(A)
P(B)
U
P(A B)
2 in 4
P(Blue|Red)=2/4
2 in 5
1 in 4
P(Blue|Blue)=1/4
Posterior Probability
P ( A and B)
P(A|B)=
P ( B)
Posterior Probability Evidence or
Marginal Probability
Bayes Theorem
U
P (A B )
P(A|B) =
P (B )
U
P (B A )
P(B|A) =
P (A )
Likelihooh Prior
.
P (B|A) P(A)
Posterior P (A | B ) =
P(B)
P ( A | F ) . P (F ) P ( A | F) . P ( F)
P(F|A) = =
P (A ) P (A| F) P ( F) + P ( A | F ) P ( F )
C C
P (M | A ). P (N |A ) . P ( A )
P(A|M,N) =
P (M ). P ( N)
0.5
Head Head, Head 0.5 x 0.5 = 0.25
0.5
Head
Tail Head, Tail 0.5 x 0.5 = 0.25
0.5
O
0.5
Head Tail, Head 0.5 x 0.5 = 0.25
Tail
0.5
Tail Tail, Tail 0.5 x 0.5 = 0.25
0.5
Total = 1.00
Difference between Probability and Odds
Prob ab i l i t y =
Odds =
1/Odds(A) + 1 = 1/P(A)
Independent Events
P( A and B ) = P (A ) x P(B)
Dependent Events
P( A and B ) = P (A ) x P(B|A)
Mutually Exclusive
P( A or B ) = P (A ) + P(B)
Mutually Inclusive