Linear Combinations of Random Variables
Study guides: Exam P-1, Exam MAS-I
A Linear Combination of Random Variables is a weighted sum of random variables with constant weights, such as an aggregate loss or an average. For random variables X and Y and constants a, b and c, the mean of aX + bY + c is
E[aX + bY + c] = a\,E[X] + b\,E[Y] + c
This holds whether or not X and Y are independent. The mean of a sum of any number of random variables is the sum of their means.
The same rule applies to a sum of functions of one random variable. Since X(X + 1) = X^2 + X, the second moment can be found from E[X(X + 1)] as
E[X^2] = E[X(X + 1)] - E[X]
Each auto claim costs 10 and each home claim costs 5. The numbers of claims
XandYhave means 0.4 and 0.7. What is the expected total cost?
- The total cost is
10X + 5Y.- Its mean is
10(0.4) + 5(0.7) = 7.5.
Variance of a linear combination
The variance of aX + bY + c is
\begin{aligned} & \text{Var}(aX + bY + c) \\ &= a^2\,\text{Var}(X) \\ &\quad + b^2\,\text{Var}(Y) \\ &\quad + 2ab\,\text{Cov}(X, Y) \end{aligned}
\text{Cov}(X, Y)is the covariance ofXandY.- The constant
cshifts the mean but adds nothing to the variance.
For one random variable multiplied by a constant a, the mean is a\,E[X] and the variance is
\text{Var}(aX) = a^2\,\text{Var}(X)
So dividing a random variable by a constant divides its mean by that constant and its variance by the constant's square.
The weights enter squared, so a negative weight still adds variance. Only the sign of the covariance term changes:
\text{Var}(X - Y) = \text{Var}(X) + \text{Var}(Y) - 2\,\text{Cov}(X, Y)
Losses
XandYhave variances 9 and 16, and their covariance is 6. What is the variance ofX - Y?
- The weights are
a = 1andb = -1, so2ab = -2.\text{Var}(X - Y) = 9 + 16 - 2(6) = 13.
Independent random variables
When X_1, \ldots, X_n are independent, every covariance is 0. Random variables with zero covariance are called uncorrelated. For independent or uncorrelated random variables, the variance of a_1 X_1 + \cdots + a_n X_n is
\begin{aligned} & \text{Var}\Big(\sum_{i=1}^{n} a_i X_i\Big) \\ &= a_1^2\,\text{Var}(X_1) \\ &\quad + \cdots + a_n^2\,\text{Var}(X_n) \end{aligned}
A linear combination of independent normal random variables is itself normal. The probabilities for such combinations are on Probabilities for Linear Combinations.
Independent losses have
E[X] = 300,\text(X) = 2500,E[Y] = 500and\text(Y) = 10000. What are the mean and variance of2X + 3Y?
- The mean is
2(300) + 3(500) = 2{,}100.- The variance is
2^2(2{,}500) + 3^2(10{,}000) = 100{,}000
Sums and averages of i.i.d. random variables
For n independent and identically distributed random variables with mean \mu and variance \sigma^2, the sum has mean n\mu, and its variance is
\text{Var}(X_1 + \cdots + X_n) = n\sigma^2
Their average \bar{X} has mean \mu, and its variance is
\text{Var}(\bar{X}) = \frac{\sigma^2}{n}
Claim sizes are i.i.d. with mean 400 and standard deviation 100. What are the mean and standard deviation of the average of 25 claims?
- The average has mean 400.
- Its variance is
\frac{100^2}{25} = 400.- Its standard deviation is
\sqrt{400} = 20, which is\frac{100}{\sqrt{25}}.
ncopies versusnindependent drawsnXis one random variable scaled byn, with variancen^2 \sigma^2. The sum ofnindependent copies ofXhas variancen\sigma^2.
Counting with indicators
The indicator I of an event E is 1 when E occurs and 0 otherwise. Its mean is
E[I] = P(E)
A count is a sum of indicators, so its mean is the sum of their probabilities, whether or not the events are independent.
Five cards are dealt from a standard deck. What is the expected number of aces?
- Let
I_jbe 1 if thejth card is an ace. Each card is an ace with probability\frac{4}{52}.- The number of aces is
I_1 + \cdots + I_5.- Its mean is
5 \times \frac{4}{52} = 0.3846.
Practice questions
- SOA Exam FAM Sample Question 4.12
- CAS Exam MAS-I Fall 2019, Question 22
- CAS Exam MAS-I Spring 2019, Question 17
- Exam MAS-I Practice Question 41
- SOA Exam P Sample Question 40
- SOA Exam P Sample Question 66
- SOA Exam P Sample Question 68
- SOA Exam P Sample Question 75
- SOA Exam P Sample Question 77
- SOA Exam P Sample Question 140
- SOA Exam P Sample Question 380
- SOA Exam P Sample Question 431
- SOA Exam P Sample Question 433
- SOA Exam P Sample Question 439
- SOA Exam P Sample Question 450
- SOA Exam P Sample Question 452
- SOA Exam P Sample Question 458
- SOA Exam P Sample Question 474
- SOA Exam P Sample Question 478
- SOA Exam P Sample Question 480
- SOA Exam P Sample Question 509
- SOA Exam P Sample Question 519
- SOA Exam P Sample Question 521
- SOA Exam P Sample Question 527
- SOA Exam P Sample Question 535
- SOA Exam P Sample Question 539
- SOA Exam P Sample Question 542
- SOA Exam P Sample Question 554
- SOA Exam P Sample Question 555
- SOA Exam P Sample Question 575
- SOA Exam P Sample Question 577
- SOA Exam P Sample Question 578
- SOA Exam P Sample Question 580
- SOA Exam P Sample Question 582
- SOA Exam P Sample Question 588
- SOA Exam P Sample Question 614
- SOA Exam P Sample Question 624
- SOA Exam P Sample Question 634
- SOA Exam P Sample Question 635
- SOA Exam P Sample Question 671
- SOA Exam P Sample Question 673
- SOA Exam P Sample Question 676