Académique Documents
Professionnel Documents
Culture Documents
EE 131A Probability
Professor Kung Yao
Electrical Engineering Department
University of California, Los Angeles
Lecture 4-2
UCLA EE131A (KY) 2
Conditional Probability is a Probability
P(A|B) satisfies all the axioms of probability.
Axiom I. 0 s
P(A|B) .
Axiom II. P(S|B) = 1 .
Axiom III. If A
1
, A
2
, , are mutually exclusive (or
disjoint) (i.e., A
i
A
j
= C, for all i and j), then
( )
i i
i=1 i=1
P P . | |
=
| |
|
\ .
A B A B
3 4 5 6 7
B = B S = (B A ) (B A ) (B A ) (B A ) (B A ).
UCLA EE131A (KY) 6
Theorem on total probability (2)
Since all the are mutually exclusive, then we can
use Axiom III to obtain
Equation (1) is called the theorem on total probability.
This result is needed in the development of the Bayes
rule to be discussed next.
i
(B A )
n
i
i=1
n
i
i=1
1 n
P(B) = P (B A )
P(B A ) + + P(B A ) . (1)
P(B A )
=
| |
=
|
\ .
A B
B
BA A
B A
BA A
BA A
. of cond. prob.
UCLA EE131A (KY) 10
Bayes Rule (2)
Suppose {A
1
, A
2
, , A
n
} is a partition of all outcomes of
an experiment. Furthermore, (from prior exp.s
relative freq. data), we know P(A
j
), j = 1,,n. We call
the P(A
j
)s as the prior (or a priori) prob. Suppose
we perform another exp. and observed an event B.
Furthermore, from this exp., we are able to evaluate
P(B|A
j
), j = 1,, n. Bayes rule gives the ability to
find the reversed conditional probability P(A
j
|B),
called the a posteriori probabilities, using P(A
j
) and
P(B|A
j
).
j j j j j
j
n n
k k k
k=1 k=1
P( ) P( | )P( ) P( | )P( )
P( | ) = = = .
P( )
P( ) P( | )P( )
B A BA A BA A
A B
B
B A BA A
A B B A A
A B
B B
A B B A A
A B
B B