Breaking up Expectation over a Joint Distribution

34 Views Asked by At

For some distribution $D\in \Delta(\mathcal{X}\times \mathcal{Y} )$ and function $f : \mathcal{X}\times \mathcal{Y} \to \mathbb{R}$, is it true that: \begin{align*} \mathbb{E}_{(x,y)\sim D} [f(x,y)] = \mathbb{E}_{x} [\mathbb{E}_y[f(x,y)\, |\, x]]. \end{align*}

1

There are 1 best solutions below

0
On BEST ANSWER

Yes, this is the Law of Total Expectation.