Can we show this conditional expectation?


$ E (g (X, Y)) = E (g (X, Y) | Y = y) = E (g (X, Y) | X = x, Y = y) = E (E (g, Y ) | X = x) | Y = y) $

Is the right equation correct or wrong? How to show it's?

Thank you so much!