metrics EC484_Econometrics_Analysis
It is the mean of is the weighted average of the conditional expectation of given , weighted by the prob distribution of . Which is also called as LIE
The proof of the LIE:
E[E(Y|X)]&=\sum_x E(Y|X=x)P(X=x)\\ &=\sum_x\sum_y yP(Y=y|X=x)P(X=x)\\ &=\sum_x\sum_y yP(Y=y,X=x)\\ &=E(Y) \end{aligned}$$ --- Using Chinese, it is 平均的平均就是总平均。