C1 - expectation of a discrete random variable

expectation

  • AKA mean or average, expectation of a RV is a way of summarising the different possible values into a single number, which is the weighted sum of all the values
E[X]=xxP(X=x)

E[X]=0(1p)+1p=p E[X]=n=1n(1p)n1p=1p E[X]=i=0ieλλii!=λ
expectation of a function

  • for a function of discrete RV X, g, the expectation is:
E[g(X)]=xg(x)pX(x)

expectation of a product

  • let X and Y be RVs, so the expectation of the product XY is:
E[XY]=xypX,Y(x,y)

theroem

  • if XY, then:
E[XY]=E[X]E[Y]E[g(X)f(Y)]=E[g(x)]E[f(y)]
  • consequently:
eXY=E[X]E[1Y]

alternative definition of expectation

  • let RV X be non-negative, discrete, and integer-valued, then:
E[X]=x=0P(X>x)