Professional Documents
Culture Documents
Basics of Probability
Basics of Probability
Venn diagrams
S S
A A
A A
UCT102: Probability and Statistics 9
Sample Space and Events
(cont’d)
Venn diagrams
S S
A B A B
AB AB
Venn diagrams
S S
A B A B
A\B or A - B AB
P( A ) = 1 – P(A).
P( ) = 1 – P( ) = 1 – P( S ) = 0.
If A B then P(B\A) = P(B) - P(A)
P(A B) = P(A) + P(B) - 2 P(AB)
S
B A
P ( A B ) 0.05
( b) P ( A | B ) 0.066
P( B ) 0.76
Since
P ( B ) 1 P( B ) 1 0.24 0.76
and
P ( A B ) P( A \ B) P ( A) P( A B)
0.16 0.11 0.05
P ( Bk ) P ( A | Bk )
P ( Bk | A)
P ( A)
UCT102: Probability and Statistics 40
Bayes’ Theorem (cont’d)
Using rule of total probability, we have following result.
Bayes’ Theorem
Theorem 8: Let A be an event in a sample space S and
if B1, B2,……Bn are mutually exclusive events such
that S = B1B2 …… Bn and P (Bi) 0 for i = 1, 2, …,
n, then
P ( Bk ) P ( A | Bk )
P ( Bk | A) n
P( Bi ) P( A | Bi )
i 1
for k = 1, 2,….., n.
P( Z ).P( D | Z ) (0.20).(0.05) 10
P( Z | D) 0.27
P( D) .037 37