Actuarial Notes

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] and E[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 of P(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 X and home claims Y in a year have the joint probabilities below. What is \text(Y \mid X = 1)?

X \ Y 0 1 2
0 0.36 0.18 0.06
1 0.10 0.20 0.10
  • The X = 1 row adds to P(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] is 0.50 + 2(0.25) = 1.0.
  • E[Y^2 \mid X = 1] is 0.50 + 4(0.25) = 1.5.
  • \text{Var}(Y \mid X = 1) is 1.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 of X. It takes the value E[Y \mid X = x] with probability P(X = x).

For the auto and home claims above, E[Y \mid X = 0] = 0.5 and E[Y \mid X = 1] = 1.0. What is E[Y]?

  • P(X = 0) = 0.60 and P(X = 1) = 0.40.
  • E[Y] is 0.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 of X.
  • \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 \Lambda is 1 with probability 0.7 and 3 with probability 0.3.
  • E[\Lambda] is 0.7(1) + 0.3(3) = 1.6.
  • E[\Lambda^2] is 0.7(1) + 0.3(9) = 3.4.
  • \text{Var}(\Lambda) is 3.4 - 1.6^2 = 0.84.
  • \text{Var}(N) is 1.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 N is 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 = 100 and \sigma^2 = 100^2 = 10{,}000.
  • A Poisson count has E[N] = \text{Var}(N) = 3.
  • \text{Var}(S) is 30{,}000 + 30{,}000 = 60{,}000.
  • The standard deviation is \sqrt{60{,}000} \approx 244.9.

Practice questions

Actuarial Notes