Expectations for conditional random variables are defined in the obvious way. Conditional expectations are given by
,
.
is a function , say, of (a real number). If we have not yet seen then this becomes a function of the random variable . i.e. is a random variable because it is a function of the random variable .
Sometimes conditioning provides an easy way to obtain the expectations of the marginal variables. Consider the random variable , which is a function of . Just as , so the expectation of is
Now consider , which is a random variable, since it is a function of the random variable .
Intuitively, by conditioning on the unknown it becomes an unknown constant as far as the expectation is concerned and so it can be taken outside the expectation.
The rvs and follow a distribution specified by and .
Write down and .
Find and .
Find .
Solution.
and .
and
Note that .
The conditional variances are given by
If and are independent the conditional distributions are the same as the marginal distributions ( and ), so that in particular
,
,
,
.