We have seen that the marginal expectations can be obtained from the conditional expectations. We can also obtain the marginal variances from the conditional expectations and variances by the following formula:
These formulae are particularly useful when a random variable is given as a mixture of distributions. This is most easily illustrated by an example.
Let be a Poisson random variable, and given takes the value let be Binomial-distributed, i.e. Binomial. Find the expectation and variance of .
Solution. From properties of the Binomial distribution we have
,
.
Hence, using properties of the Poisson distribution we obtain
In fact, it can be shown that .