# How do i calculate expectation of expectation?

When i have stuff like

E(E(X)) or E(E(XY|X)) etc how do i evaluate a double expectation?

and for random vectors stuff like

E(E(X)'Y) or E(X'E(Y)) etc.