This exercise set contains some solved exercises on conditional probability distributions. The theory needed to solve these exercises is introduced in the lecture entitled Conditional probability distributions.
Let
be a discrete random vector
with support:
and
joint probability mass
function:
Compute
the conditional probability mass function of
given
.
The marginal probability mass function of
evaluated at
is:
The
support of
is:
Thus,
the conditional probability mass function of
given
is:
Let
be an absolutely
continuous random vector with support:
and
its joint probability density function
be:
Compute
the conditional probability density function of
given
.
The support of
is:
When
,
the marginal probability density function of
is
;
when
,
the marginal probability density function of
is:
Thus,
the marginal probability density function of
is:
When
evaluated at the point
,
it
becomes:
The
support of
is:
Thus,
the conditional probability density function of
given
is:
Let
be an absolutely continuous random variable with
support
and
probability density
function
Let
be another absolutely continuous random variable with
support
and
conditional probability density
function
Find
the marginal
probability density function function of
.
The support of the vector
is:
and
the joint probability function of
and
is:
The
marginal probability density function of
is obtained by marginalization, integrating
out of the joint probability density function:
Thus,
for
we trivially have
(because
),
while for
we
have:
Thus,
the marginal probability density function of
is: