Question

The law of iterated expectations states that E(Y) = E (E (Y | X)) for the random variables X and Y. Prove the law of iterated expectations for discrete random

variables X and Y. continuous random variables X and Y.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5