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) = 0only whenXis 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:
xx - \mu(x - \mu)^2Weighted 0 -13016,900 8,450 100 -30900 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 ofX.
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
Xis uniform on(0, 1000). What is\text(X)?
- The density is
f(x) = \frac{1}{1000}on(0, 1000), and the mean isE[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])^2The 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. UsingE[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_1andX_2each have variance 36,100. What are the variances ofX_1 + X_2,X_1 - X_2and2X_1?
- The variances add, so
\text{Var}(X_1 + X_2) = 72{,}200.- The coefficient
-1is squared, so\text{Var}(X_1 - X_2) = 72{,}200as 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 ofXgivenY.E[X \mid Y]is the mean ofXgivenY.
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
Ybe 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
- CAS Exam 8 Fall 2013, Question 6
- CAS Exam 9 Spring 2013, Question 3
- CAS Exam 9 Spring 2015, Question 3
- CAS Exam 9 Spring 2016, Question 2
- CAS Exam 9 Spring 2016, Question 3
- CAS Exam 9 Spring 2017, Question 22
- CAS Exam 9 Spring 2018, Question 20
- CAS Exam 9 Spring 2019, Question 3
- SOA Exam ALTAM Sample Question 3
- SOA Exam ASTAM Sample Question 19
- SOA Exam ASTAM Spring 2024, Question 4
- SOA Exam FAM Sample Question 2.9
- SOA Exam FAM Sample Question 2.12
- SOA Exam FAM Sample Question 4.1
- SOA Exam FAM Sample Question 4.4
- SOA Exam FAM Sample Question 4.7
- SOA Exam FAM Sample Question 4.11
- SOA Exam FAM Sample Question 4.12
- SOA Exam FAM Sample Question 4.15
- SOA Exam FAM Sample Question 4.20
- SOA Exam FAM Sample Question 4.21
- SOA Exam FAM Sample Question 6.12
- SOA Exam FAM Sample Question 6.24
- SOA Exam FAM Sample Question 6.30
- SOA Exam FAM Sample Question 6.54
- SOA Exam FAM Sample Question 7.17
- SOA Exam FAM Sample Question 7.22
- SOA Exam FAM Sample Question 7.32
- SOA Exam FAM Sample Question 10
- SOA Exam FAM Sample Question 28
- SOA Exam FAM Sample Question 32
- SOA Exam FAM Sample Question 44
- SOA Exam FAM Sample Question 51
- CAS Exam MAS-I Fall 2018, Question 4
- CAS Exam MAS-I Fall 2018, Question 15
- CAS Exam MAS-I Fall 2018, Question 16
- CAS Exam MAS-I Fall 2018, Question 34
- CAS Exam MAS-I Spring 2018, Question 4
- CAS Exam MAS-I Spring 2018, Question 18
- CAS Exam MAS-I Spring 2018, Question 22
- CAS Exam MAS-I Fall 2019, Question 3
- CAS Exam MAS-I Fall 2019, Question 16
- CAS Exam MAS-I Spring 2019, Question 24
- Exam MAS-I Practice Question 13
- SOA Exam P Sample Question 55
- SOA Exam P Sample Question 56
- SOA Exam P Sample Question 57
- SOA Exam P Sample Question 60
- SOA Exam P Sample Question 77
- SOA Exam P Sample Question 78