Actuarial Notes

Variance

Study guides: VEE-MS, Exam P-1, Exam FAM, Exam PA, Exam ASTAM, Exam MAS-I, Exam MAS-II, Exam 8, Exam ACIA-CAPSTONE

A Variance is a measure of how spread out a random variable is around its mean. The variance of a random variable X with mean \mu = E[X], written \text{Var}(X), is

\text{Var}(X) = E\left[(X - \mu)^2\right]

  • \text{Var}(X) \geq 0, and \text{Var}(X) = 0 only when X is a constant.

The standard deviation \sigma is the square root of the variance, so the variance is also written \sigma^2.

The idea Squaring the deviations makes every one count as positive, and makes a large deviation count far more than a small one.

A claim costs 0, 100 or 500 with probabilities 0.5, 0.3 and 0.2. What is its variance? The mean is \mu = 130. Each squared deviation is weighted by its probability:

x x - \mu (x - \mu)^2 Weighted
0 -130 16,900 8,450
100 -30 900 270
500 370 136,900 27,380
  • The 500 claim has probability only 0.2, yet it supplies three-quarters of the variance.
  • Adding the last column gives \text{Var}(X) = 36{,}100.

Variance from the second moment

Expanding the square gives the variance from the first two moments of X:

\text{Var}(X) = E[X^2] - (E[X])^2

  • E[X^2] is the second moment of X.

Rearranged, the second moment is the variance plus the square of the mean.

For X uniform on (a, b), the second moment is

E[X^2] = \frac{a^2 + ab + b^2}{3}

A loss X is uniform on (0, 1000). What is \text(X)?

  • The density is f(x) = \frac{1}{1000} on (0, 1000), and the mean is E[X] = 500.
  • The second moment and the variance are
\begin{aligned}
E[X^2] &= \int_0^{1000} \frac{x^2}{1000}\,dx \\
&= 333{,}333.3 \\
\text{Var}(X) &= 333{,}333.3 - 500^2 \\
&= 83{,}333.3
\end{aligned}

Confusing E[X^2] with (E[X])^2 The second moment and the square of the mean are different numbers. For a claim of 0, 100 or 500 with probabilities 0.5, 0.3 and 0.2, they are 53,000 and 16,900. Using E[X^2] alone as the variance, or forgetting to square the mean, gives a wrong answer that is usually among the options.

Variance of aX + b

For constants a and b, the variance of aX + b is

\text{Var}(aX + b) = a^2\,\text{Var}(X)

Adding a constant moves every value and the mean by the same amount, so it does not change the variance.

A claim has variance 36,100. Every claim rises 10% with inflation, and then a handling fee of 20 is added. What is the new variance?

  • The new claim is 1.1X + 20.
  • The fee of 20 moves every claim and the mean together, so it drops out.
  • The variance is 1.1^2 \times 36{,}100 = 43{,}681.

Variance of a sum of independent random variables

For constants a and b and independent random variables X and Y, the variance of aX + bY is

\text{Var}(aX + bY) = a^2\,\text{Var}(X) + b^2\,\text{Var}(Y)

When X and Y are not independent, the variance also has the term 2ab\,\text{Cov}(X, Y), from their covariance.

Two independent claims X_1 and X_2 each have variance 36,100. What are the variances of X_1 + X_2, X_1 - X_2 and 2X_1?

  • The variances add, so \text{Var}(X_1 + X_2) = 72{,}200.
  • The coefficient -1 is squared, so \text{Var}(X_1 - X_2) = 72{,}200 as well.
  • One claim doubled has \text{Var}(2X_1) = 4 \times 36{,}100, which is 144,400.

The law of total variance

When X depends on another random variable Y, the variance of X is

\text{Var}(X) = E[\text{Var}(X \mid Y)] + \text{Var}(E[X \mid Y])

  • \text{Var}(X \mid Y) is the variance of X given Y.
  • E[X \mid Y] is the mean of X given Y.

The first term is the average spread within each value of Y. The second is the spread of the means between values of Y. See Variance for Conditional and Marginal Distributions.

Half of a portfolio's policies are low risk, with claims of mean 100 and variance 2,500. The other half are high risk, with mean 300 and variance 10,000. What is the variance of the claims of a policy chosen at random?

  • Let Y be the risk class. The class variances average to 6,250.
  • The class means 100 and 300 have mean 200 and variance 10,000.
  • The variance is
\begin{aligned}
\text{Var}(X) &= 6{,}250 + 10{,}000 \\
&= 16{,}250
\end{aligned}

Practice questions

Actuarial Notes