C4 - computing expectations via conditioning

theorem

  • let events F1,F2,F3,… partition the state space Ω, then:

E[X]=∑i=1∞E[X|Fi]⋅P(Fi)
E[X]=∑yE[X|Y=y]⋅P(Y=y)
theorem
E[g(X)]=∑yE[g(X)|Y=y]⋅P(Y=y)