Home/Practice/Exam P
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.
Exam PExpectation, variance and momentsCore
A random variable has E[X]=4 and E[X2]=25. Find the variance.
A3.0000
B5.0000
C9.0000
D16.0000
E21.0000
Solution
- The computational formula is Var(X)=E[X2]−(E[X])2.
- (E[X])2=16.
- Var(X)=25−16.
- =9, so the standard deviation is 3. Never subtract E[X] from E[X2] directly - the square matters.
Trap. Reporting the standard deviation 3, or subtracting 4 from 25 to get 21.
Exam PExpectation, variance and momentsStretch
A non-negative variable has survival function S(x)=(1+x)−2 for x>0. Find E[X].
A0.5000
B1.0000
C1.5000
D2.0000
EIt does not exist
Solution
- For a non-negative variable, E[X]=∫0∞S(x)dx - usually much faster than integrating xf(x).
- ∫0∞(1+x)−2dx=[−(1+x)−1]0∞.
- =0−(−1)=1.
- The survival-function route avoids differentiating S 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
Part of a bank of 400 original questions.