Exam PMultivariate probabilityFree to read

Conditional expectation and the variance decomposition

Condition on what you do not know, then average it out. The double expectation and the conditional variance formula handle every compound model on the syllabus.

The formulas

Double expectation
E[X]=E[E[X∣Y]]E[X] = E\big[E[X\mid Y]\big]
Conditional variance formula
Var⁡(X)=E[Var⁡(X∣Y)]+Var⁡(E[X∣Y])\operatorname{Var}(X) = E\big[\operatorname{Var}(X\mid Y)\big] + \operatorname{Var}\big(E[X\mid Y]\big)
Compound mean
E[S]=E[N] E[X]E[S] = E[N]\,E[X]
Compound variance
Var⁡(S)=E[N]Var⁡(X)+Var⁡(N) E[X]2\operatorname{Var}(S) = E[N]\operatorname{Var}(X) + \operatorname{Var}(N)\,E[X]^{2}

Where it comes from

  1. E[X∣Y]E[X\mid Y] is a random variable - a function of YY - and averaging it over YY recovers E[X]E[X].
  2. Splitting Var⁡(X)\operatorname{Var}(X) into the average within-group variance and the variance of the group means gives the decomposition.
  3. Applying both to a random sum S=X1+⋯+XNS = X_1+\dots+X_N produces the compound formulas, with the second term carrying the uncertainty in the COUNT.

Worked example

Claim counts are Poisson with mean 3, and each claim severity has mean 500 and variance 10,000, independently. Find the variance of aggregate claims.

  1. Use Var⁡(S)=E[N]Var⁡(X)+Var⁡(N)E[X]2\operatorname{Var}(S) = E[N]\operatorname{Var}(X) + \operatorname{Var}(N)E[X]^{2}.
  2. For a Poisson count, E[N]=Var⁡(N)=3E[N] = \operatorname{Var}(N) = 3.
  3. Var⁡(S)=3(10,000)+3(500)2=30,000+750,000\operatorname{Var}(S) = 3(10{,}000) + 3(500)^{2} = 30{,}000 + 750{,}000.
  4. Var⁡(S)=780,000\operatorname{Var}(S) = 780{,}000, so the standard deviation is about 883.

Answer: 780,000

This answer is recomputed from the site’s own interest-theory and probability functions every time the test suite runs, so the page and the mathematics cannot drift apart.

Memory hooks

  • 'Mean of the variance plus variance of the mean' - say it out loud and the formula writes itself.
  • For a Poisson frequency the two terms collapse to λ·E[X²].

Traps

  • Using Var(N)·Var(X) somewhere in the compound variance - neither term has that form.
  • Squaring E[X] in the wrong term: the SECOND term carries E[X]².

1 solved sample question

From the free samples in the question bank, solved in full. They never rotate and they are never gated.

  1. Exam PJoint, marginal and conditional distributionsStretch
    NN is Poisson with mean 4, and given N=nN = n the claim total has mean 300n300n and variance 10,000n10{,}000n. Find Var⁡\operatorname{Var} of the total.
    1. A40,00040{,}000
    2. B360,000360{,}000
    3. C400,000400{,}000
    4. D1,200,0001{,}200{,}000
    5. E1,440,0001{,}440{,}000

    Solution

    1. Use the conditional variance decomposition: Var⁡(S)=E[Var⁡(S∣N)]+Var⁡(E[S∣N])\operatorname{Var}(S) = E\left[\operatorname{Var}(S\mid N)\right] + \operatorname{Var}\left(E[S\mid N]\right).
    2. E[Var⁡(S∣N)]=E[10,000N]=10,000(4)=40,000E\left[\operatorname{Var}(S\mid N)\right] = E[10{,}000N] = 10{,}000(4) = 40{,}000.
    3. Var⁡(E[S∣N])=Var⁡(300N)=90,000Var⁡(N)=90,000(4)=360,000\operatorname{Var}\left(E[S\mid N]\right) = \operatorname{Var}(300N) = 90{,}000\operatorname{Var}(N) = 90{,}000(4) = 360{,}000.
    4. Total: 40,000+360,000=400,00040{,}000 + 360{,}000 = 400{,}000.

    Trap. Using only one of the two terms - the 'variance of the mean' piece is the one usually forgotten.

Drill this topic: Joint, marginal and conditional distributions has 18 questions, 2 of them solved free on that page, and the full question bank has 400. The drills are part of Premium. Every free sample and today’s mixed round stay free.

Related