Suppose $X$ is a random variable, then is it true to say that $$ E \left[ g \left( X_i \right) \right] = E\left[ g \left( X_j \right) \right] $$ ?
If so, why is that the case? Thanks a lot!
Suppose $X$ is a random variable, then is it true to say that $$ E \left[ g \left( X_i \right) \right] = E\left[ g \left( X_j \right) \right] $$ ?
If so, why is that the case? Thanks a lot!
The random variables $X$ and $Y$ have the same distribution (meaning that $P(X\in A)=P(Y\in A)$ for every Borel set $A$), and you have a measurable function $g$. First, prove it when $g=I_A$, the indicator of some Borel set $A$. What are $\mathrm{E}[I_A(X)]$ and $\mathrm{E}[I_A(Y)]$? Give it a try.