Prove $E[XY]=E[YE[X|Y]]$.
I tried proving it using the definition of covariance, but I ended up going in a circle. Any hints on how to go about the proof?
Prove $E[XY]=E[YE[X|Y]]$.
I tried proving it using the definition of covariance, but I ended up going in a circle. Any hints on how to go about the proof?
Basically $E[XY]=E[E[XY|Y]]=E[YE[X|Y]]$. The first step is the iterated rule of conditional expectation. For the second, use the fact that given Y, Y is like a constant.
However if you are looking for the usage of rigorous definition of conditional expectation, the solution by Davide Giraudo is the one to go for.
Just use the following: