In my probability class I was tackled with this question of the type to prove or disprove the following:
Given random variables with PDF $ X,Y,Z $ and we know that given Y the variables X and Z are independent. We are asked to prove or disprove the following:
$ \forall y,z \in R $ : $ E[X | Y=y , Z=z] = E[X | Y=y ] $
I have no real idea how to do this as I do not even know if it is true or false so I need the help on this and thanks to all.
Yes, the statement is true. Let me abuse notation slightly and denote $p(x, y, z):=p_{X,Y,Z}(x, y, z)$ and analogously for other marginal distributions.
To prove this, we can see that even the PDFs coincide:
$$ p(x|y, z)=\frac{p(x, y, z)}{p(y, z)}=\frac{p(x,z|y)p(y)}{p(y,z)}=/\text{Conditional independence}/=\frac{p(x|y)\underbrace{p(z|y)p(y)}_{p(y,z)}}{p(y,z)}=p(x|y). $$ Now, taking expectations of the left- and right-hand-side, we get the claim.