Suppose $X,Y, Z$ are random variables, and without loss of generality let's assume $X=f(Y, Z)$. Is the following statement true in general?
$$ E[X|Y]=0 \iff E[X|Y,Z]=0$$
I seem to have a proof (might be flawed). But that conclusion just doesn't seem natural to me.
- $\Leftarrow$: by the law of total expectation, $$E[X|Y]=E_Z [E[X|Y,Z]=E_Z[0]=0$$
- $\Rightarrow$: by the law of total probability, $$E[X|Y,Z]=\int_x xp(x|y,z)dx=\int_x \frac{xp(x|y)}{p(z)}dx=0$$