Variance for Conditional and Marginal Distributions
Study guides: Exam P-1, Exam ACIA-CAPSTONE
Variance for Conditional and Marginal Distributions is the variance of a random variable within a conditional distribution, and how it combines into the variance of the marginal distribution. The conditional variance of Y given X = x is the variance of the conditional distribution of Y:
\begin{aligned} &\text{Var}(Y \mid X = x) \\ &\quad = E[Y^2 \mid X = x] \\ &\quad\quad - \big(E[Y \mid X = x]\big)^2 \end{aligned}
E[Y \mid X = x]andE[Y^2 \mid X = x]are the mean and second moment of the conditional distribution.- They are calculated with the conditional probabilities
P(Y = y \mid X = x)in place ofP(Y = y).
If Y takes only the values 0 and 1, then Y^2 = Y. Its second moment, conditional or not, equals its mean:
E[Y^2] = E[Y] = P(Y = 1)
A policyholder's numbers of auto claims
Xand home claimsYin a year have the joint probabilities below. What is\text(Y \mid X = 1)?
X\Y0 1 2 0 0.36 0.18 0.06 1 0.10 0.20 0.10
- The
X = 1row adds toP(X = 1) = 0.40. Dividing the row by 0.40 gives the conditional probabilities 0.25, 0.50 and 0.25.E[Y \mid X = 1]is0.50 + 2(0.25) = 1.0.E[Y^2 \mid X = 1]is0.50 + 4(0.25) = 1.5.\text{Var}(Y \mid X = 1)is1.5 - 1.0^2 = 0.5.
The law of total expectation
The law of total expectation gives the marginal mean as the average of the conditional means:
E[Y] = E\big[E[Y \mid X]\big]
E[Y \mid X]is a random variable, a function ofX. It takes the valueE[Y \mid X = x]with probabilityP(X = x).
For the auto and home claims above,
E[Y \mid X = 0] = 0.5andE[Y \mid X = 1] = 1.0. What isE[Y]?
P(X = 0) = 0.60andP(X = 1) = 0.40.E[Y]is0.60(0.5) + 0.40(1.0), which is 0.70.
The law of total variance
The law of total variance gives the marginal variance in two pieces:
\begin{aligned} \text{Var}(Y) &= E\big[\text{Var}(Y \mid X)\big] \\ &\quad + \text{Var}\big(E[Y \mid X]\big) \end{aligned}
E[\text{Var}(Y \mid X)]is the average of the conditional variances, weighted by the probabilities ofX.\text{Var}(E[Y \mid X])is the variance of the conditional means.
When a count N is Poisson with a mean \Lambda that is itself random, E[N \mid \Lambda] and \text{Var}(N \mid \Lambda) both equal \Lambda. So \text{Var}(N) = E[\Lambda] + \text{Var}(\Lambda).
70% of policies are Type A and 30% are Type B. A policy's number of claims is Poisson with mean 1 for Type A and mean 3 for Type B. What is the variance of the number of claims on a policy chosen at random?
- The Poisson mean
\Lambdais 1 with probability 0.7 and 3 with probability 0.3.E[\Lambda]is0.7(1) + 0.3(3) = 1.6.E[\Lambda^2]is0.7(1) + 0.3(9) = 3.4.\text{Var}(\Lambda)is3.4 - 1.6^2 = 0.84.\text{Var}(N)is1.6 + 0.84 = 2.44.
Stopping at one piece The average of the conditional variances, 1.6 here, is only the spread within each type. The variance of the conditional means, 0.84, is only the spread between the types. The variance of
Nis their sum, 2.44.
A population made of types, as here, is a mixture. Any probability or moment of a member chosen at random is the average of the types' values, weighted by the types' probabilities, as in E[N^2] = \sum_i P(\text{type } i)\,E[N^2 \mid \text{type } i].
Variance of a random sum
An aggregate loss S = X_1 + \cdots + X_N adds a random number N of claims, each with mean \mu and variance \sigma^2, independent of each other and of N. Given N, E[S \mid N] = N\mu and \text{Var}(S \mid N) = N\sigma^2, so the law of total variance gives
\text{Var}(S) = E[N]\,\sigma^2 + \text{Var}(N)\,\mu^2
When N is Poisson with mean \lambda, E[N] = \text{Var}(N) = \lambda, so the variance of this compound Poisson sum is \text{Var}(S) = \lambda\,E[X^2], where E[X^2] = \sigma^2 + \mu^2 is the second moment of a claim.
The number of claims is Poisson with mean 3. Claim sizes are exponential with mean 100, independent of each other and of the number of claims. What is the standard deviation of aggregate claims?
- An exponential claim with mean 100 has
\mu = 100and\sigma^2 = 100^2 = 10{,}000.- A Poisson count has
E[N] = \text{Var}(N) = 3.\text{Var}(S)is30{,}000 + 30{,}000 = 60{,}000.- The standard deviation is
\sqrt{60{,}000} \approx 244.9.
Practice questions
- SOA Exam FAM Sample Question 2.2
- Exam MAS-I Practice Question 10
- Exam MAS-I Practice Question 41
- SOA Exam P Sample Question 76
- SOA Exam P Sample Question 82
- SOA Exam P Sample Question 83
- SOA Exam P Sample Question 93
- SOA Exam P Sample Question 173
- SOA Exam P Sample Question 227
- SOA Exam P Sample Question 233
- SOA Exam P Sample Question 245
- SOA Exam P Sample Question 246
- SOA Exam P Sample Question 254
- SOA Exam P Sample Question 382
- SOA Exam P Sample Question 388
- SOA Exam P Sample Question 520
- SOA Exam P Sample Question 525
- SOA Exam P Sample Question 606
- SOA Exam P Sample Question 617
- SOA Exam P Sample Question 631
- SOA Exam P Sample Question 638
- Exam P Practice Question 917
- Exam P Practice Question 921
- Exam P Practice Question 933
- Exam P Practice Question 934
- Exam P Practice Question 940
- Exam P Practice Question 945
- Exam P Practice Question 964