Conditional Expectation

As we all know, Conditional probability of event AA given BB:

P(AB)=P(AB)P(B) P(A|B) = \frac{P(A \bigcap B)}{P(B)}

Conditional distribution function of r.v. XX given BB:

FX(xB)=P(Xx,B)P(B),xR F_X(x|B) = \frac{P(X \leq x, B)}{P(B)}, x \in \mathbb{R}

Conditional expectation of r.v. X given B:

E(XB)=E(XIB)P(B)={k=1xkP(X=xkB),X is discrete1P(B)Bxf(x)dx,X is continuous E(X|B) = \frac{E(XI_B)}{P(B)} = \begin{cases} \sum_{k=1}^{\infty}x_{k}P(X=x_{k}|B), X \ is \ discrete\\ \frac{1}{P(B)} \int_B xf(x)dx, X \ is \ continuous \end{cases}

where IB(ω)I_B(\omega) is the indicator function of the event BB.

We could get E(XY)(ω)=E(XiAi)=E(XY=yi)E(X|Y)(\omega) = E(X_i|A_i) = E(X|Y=y_i) according to the figure in the last chapter, we know the XX is the function of AiA_i, so this is easy to understand.

Then we could approve E(E(XY))=E(X)E(E(X|Y)) = E(X):

E(E(XY))=i=1E(XY=yi)×P(Y=yi)=i=1E(XAi)×P(Ai)=i=1E(X×IAi) \begin {aligned} E(E(X|Y))&=\sum_{i=1}^{\infty} E(X|Y=y_i) \times P(Y=y_i) \\ &=\sum_{i=1}^{\infty} E(X|A_i) \times P(A_i) \\ &=\sum_{i=1}^{\infty} E(X \times I_{A_i}) \end {aligned}

We know the II is :

IAi={1,if ωAi0,other I_{A_i} = \begin{cases} 1, if \ \omega \in A_i\\ 0, other \end{cases}

So we get i=1IAi=1\sum_{i=1}^{\infty}I_{A_i} = 1, let's go on the approvement.

E(E(XY))=i=1E(X×IAi)=E(X(i=1IAi))=E(X) \begin {aligned} E(E(X|Y))&=\sum_{i=1}^{\infty} E(X \times I_{A_i})\\ &= E(X(\sum_{i=1}^{\infty}I_{A_i}))\\ &=E(X) \end {aligned}

  • Now we have got E(E(XY))=E(X)E(E(X|Y)) = E(X).

results matching ""

    No results matching ""