I'm trying to prove $$ \mathrm{Var}\left(\sum\limits_{i=1}^n{g(X_i)}\right) = n(Var(g(X_1))) $$ where $X_1...X_n$ are IID variables.
I have been trying to use proof for a similar question - https://stats.stackexchange.com/a/31181 - but then I'm stuck when trying to prove $$ \sum\limits_{i=1}^n{E(g(X_i))^2} = nE(g(X_1))^2$$
How to deal with the last equality? Or is there any easier way to prove an equality from the title?
self-study
tag $\endgroup$