Independent Random Variables
Study guides: Exam P-1, Exam ACIA-CAPSTONE
Independent Random Variables are random variables for which the value of one gives no information about the value of the other. Random variables X and Y are independent when, for every x and y, their joint probability function or joint density is
f(x, y) = f_X(x)\,f_Y(y)
f_X(x)andf_Y(y)are the marginal probability functions or densities ofXandY.
Equivalently, the joint CDF is F(x, y) = F_X(x)\,F_Y(y). Then the probability that a condition on X and a condition on Y both hold is the product of their probabilities, such as P(X \le 1)\,P(Y > 2).
The idea One pair of values whose joint probability is not the product of its marginals proves dependence, but independence needs the product in every pair.
XandYare the numbers of auto and home claims, with the joint probability function below. AreXandYindependent? The joint probability function:
Y = 0Y = 1Y = 2X = 00.30 0.15 0.05 X = 10.20 0.20 0.10
- Adding the first row gives
f_X(0) = 0.50, and adding the first column givesf_Y(0) = 0.50.- The product is
(0.50)(0.50) = 0.25, butf(0, 0) = 0.30.- One pair fails the product rule, so
XandYare not independent.
Independence from a joint density
The variables of a joint probability function or density are independent when its support is a rectangle and it factors into a function of x times a function of y. Each factor is then proportional to a marginal.
Are
XandYindependent iff(x, y) = 6e^forx, y > 0? And iff(x, y) = 2for0 < x < y < 1?
6e^{-2x-3y} = 2e^{-2x} \cdot 3e^{-3y}on the rectanglex, y > 0, soXandYare independent exponentials.f(x, y) = 2looks constant, but its support is a triangle.- Knowing
Y = 0.3forcesX < 0.3, so theseXandYare not independent.
Expected value of a product
For independent X and Y, the expected value of their product is
E[XY] = E[X]\,E[Y]
More generally, g(X) and h(Y) are independent for any functions g and h. So E[X^2 Y^2] = E[X^2]\,E[Y^2].
A loss
Xis exponential with mean 2, and an independent factorYis uniform on(1, 1.2). What areE[XY]andE[X^2 Y^2]?
E[X] = 2andE[Y] = 1.1, soE[XY] = 2.2.E[X^2] = 2 \times 2^2 = 8.E[Y^2]is\frac{1.2^3 - 1}{3(0.2)} = 1.2133.E[X^2 Y^2] = 8 \times 1.2133 = 9.707.
Variance of a sum
The covariance of independent random variables is 0, so the variance of their sum is
\text{Var}(X + Y) = \text{Var}(X) + \text{Var}(Y)
The variance of X - Y is the same sum. Variances add, but standard deviations don't. The general rule is on Linear Combinations of Random Variables.
Independent losses
XandYhave standard deviations 3 and 4. What is the standard deviation ofX + Y?
- The variances are 9 and 16, and they add to 25.
- The standard deviation of
X + Yis\sqrt{25} = 5, not3 + 4 = 7.
Zero covariance is not independence Let
Xbe-1, 0 or 1 with probability\frac{1}{3}each, and letY = X^2. ThenE[X] = 0andE[XY] = E[X^3] = 0, so\text{Cov}(X, Y) = 0. YetP(X = 0, Y = 0) = \frac{1}{3}, whileP(X = 0)\,P(Y = 0) = \frac{1}{9}.
Practice questions
- CAS Exam 7 Spring 2012, Question 16
- SOA Exam ALTAM Sample Question 17
- SOA Exam ALTAM Sample Question 19
- SOA Exam FAM Sample Question 34
- Exam MAS-I Practice Question 38
- SOA Exam P Sample Question 39
- SOA Exam P Sample Question 73
- SOA Exam P Sample Question 77
- SOA Exam P Sample Question 78
- SOA Exam P Sample Question 79
- SOA Exam P Sample Question 145
- SOA Exam P Sample Question 248
- SOA Exam P Sample Question 266
- SOA Exam P Sample Question 380
- SOA Exam P Sample Question 393
- SOA Exam P Sample Question 402
- SOA Exam P Sample Question 406
- SOA Exam P Sample Question 410
- SOA Exam P Sample Question 412
- SOA Exam P Sample Question 418
- SOA Exam P Sample Question 431
- SOA Exam P Sample Question 433
- SOA Exam P Sample Question 439
- SOA Exam P Sample Question 458
- SOA Exam P Sample Question 478
- SOA Exam P Sample Question 480
- SOA Exam P Sample Question 497
- SOA Exam P Sample Question 505
- SOA Exam P Sample Question 521
- SOA Exam P Sample Question 529
- SOA Exam P Sample Question 539
- SOA Exam P Sample Question 542
- SOA Exam P Sample Question 573
- 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 584