Hi,

suppose that X, Y, and Z are random variables with joint distribution P(X, Y, Z). By

we denote the conditional expectation over the distribution of Y. Now I have an expression of the form

How should I transform the last equation to include a variance term of the form

where expectations are taken over the distribution Y?

I am stuck at the following equation:

Thanks and best regards

samosa