revealEquations Demo

Slide 1

Some info

Law of Iterated Expectations Example

Suppose that we know that \(E[Y|X=1]=1\), \(E[Y|X=0]=0\), \(P(X=1)=0.5\), and \(P(X=0) = 0.5\), then the law of iterated expecations implies that \[ \begin{aligned} E[Y] &= E[Y|X=1]P(X=1) + E[Y|X=0]P(X=0) \ \end{aligned} \]

Law of Iterated Expectations Example

Suppose that we know that \(E[Y|X=1]=1\), \(E[Y|X=0]=0\), \(P(X=1)=0.5\), and \(P(X=0) = 0.5\), then the law of iterated expecations implies that \[ \begin{aligned} E[Y] &= E[Y|X=1]P(X=1) + E[Y|X=0]P(X=0) \\\ &= 1 \times 0.5 + 0 \times 0.5 \ \end{aligned} \]

Law of Iterated Expectations Example

Suppose that we know that \(E[Y|X=1]=1\), \(E[Y|X=0]=0\), \(P(X=1)=0.5\), and \(P(X=0) = 0.5\), then the law of iterated expecations implies that \[ \begin{aligned} E[Y] &= E[Y|X=1]P(X=1) + E[Y|X=0]P(X=0) \\\ &= 1 \times 0.5 + 0 \times 0.5 \\\ &= 0.5 \end{aligned} \]

concluding text