Law of total variance: Var[Y] = E[VAR(Y|X)] + VAR[E(Y|X)]
I need to write the formula for continuous variable, here is what I tried, but the last row is most probably incorrect:
Maybe someone has any suggestions as to how to correctly write the integral sum?
