Expectation, variance and moments

18 original Exam P questions on expectation, variance and moments.

2 free worked examples

Solved in full, free to everyone, and never rotated. Read these before deciding whether the rest of the drill is worth paying for.

  1. Exam PExpectation, variance and momentsCore
    A random variable has E[X]=4E[X] = 4 and E[X2]=25E[X^{2}] = 25. Find the variance.
    1. A3.00003.0000
    2. B5.00005.0000
    3. C9.00009.0000
    4. D16.000016.0000
    5. E21.000021.0000

    Solution

    1. The computational formula is Var⁡(X)=E[X2]−(E[X])2\operatorname{Var}(X) = E[X^{2}] - (E[X])^{2}.
    2. (E[X])2=16(E[X])^{2} = 16.
    3. Var⁡(X)=25−16\operatorname{Var}(X) = 25 - 16.
    4. =9= 9, so the standard deviation is 3. Never subtract E[X]E[X] from E[X2]E[X^2] directly - the square matters.

    Trap. Reporting the standard deviation 3, or subtracting 4 from 25 to get 21.

  2. Exam PExpectation, variance and momentsStretch
    A non-negative variable has survival function S(x)=(1+x)−2S(x) = (1+x)^{-2} for x>0x>0. Find E[X]E[X].
    1. A0.50000.5000
    2. B1.00001.0000
    3. C1.50001.5000
    4. D2.00002.0000
    5. EIt does not exist

    Solution

    1. For a non-negative variable, E[X]=∫0∞S(x) dxE[X] = \int_0^{\infty}S(x)\,dx - usually much faster than integrating xf(x)xf(x).
    2. ∫0∞(1+x)−2dx=[−(1+x)−1]0∞\int_0^{\infty}(1+x)^{-2}dx = \left[-(1+x)^{-1}\right]_0^{\infty}.
    3. =0−(−1)=1= 0 - (-1) = 1.
    4. The survival-function route avoids differentiating SS to get the density at all.

    Trap. Differentiating S to get f and then integrating xf(x) - correct but twice the work.

Drill the whole topic

Checking your access…

Part of a bank of 400 original questions.