The implication of law of iterated expectations

180 Views Asked by At

Law of iterated expectation: E[Y]=E[E[Y|X]]

As $E[Y|X]$ is already a constant, would that mean that $E[Y]=E[E[Y|X]] = E[Y|X]$?

So $E[Y]=E[Y|X]$?

Or is there something I missed?

Thanks in advance.

1

There are 1 best solutions below

9
On

$E[Y|X]$ isn't a constant. It's a 'function' that depends on x: $E[Y|X=x]$. If you take the mean of $E[Y|X]$, the mean is taken over all values of x.