Actuarial Notes

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) and f_Y(y) are the marginal probability functions or densities of X and Y.

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.

X and Y are the numbers of auto and home claims, with the joint probability function below. Are X and Y independent? The joint probability function:

Y = 0 Y = 1 Y = 2
X = 0 0.30 0.15 0.05
X = 1 0.20 0.20 0.10
  • Adding the first row gives f_X(0) = 0.50, and adding the first column gives f_Y(0) = 0.50.
  • The product is (0.50)(0.50) = 0.25, but f(0, 0) = 0.30.
  • One pair fails the product rule, so X and Y are 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 X and Y independent if f(x, y) = 6e^ for x, y > 0? And if f(x, y) = 2 for 0 < x < y < 1?

  • 6e^{-2x-3y} = 2e^{-2x} \cdot 3e^{-3y} on the rectangle x, y > 0, so X and Y are independent exponentials.
  • f(x, y) = 2 looks constant, but its support is a triangle.
  • Knowing Y = 0.3 forces X < 0.3, so these X and Y are 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 X is exponential with mean 2, and an independent factor Y is uniform on (1, 1.2). What are E[XY] and E[X^2 Y^2]?

  • E[X] = 2 and E[Y] = 1.1, so E[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 X and Y have standard deviations 3 and 4. What is the standard deviation of X + Y?

  • The variances are 9 and 16, and they add to 25.
  • The standard deviation of X + Y is \sqrt{25} = 5, not 3 + 4 = 7.

Zero covariance is not independence Let X be -1, 0 or 1 with probability \frac{1}{3} each, and let Y = X^2. Then E[X] = 0 and E[XY] = E[X^3] = 0, so \text{Cov}(X, Y) = 0. Yet P(X = 0, Y = 0) = \frac{1}{3}, while P(X = 0)\,P(Y = 0) = \frac{1}{9}.

Practice questions

Actuarial Notes