Actuarial Notes

Random Variable

Study guides: Exam P-1, Exam FAM, Exam ALTAM, Exam MAS-I, Exam ACIA-CAPSTONE

A Random Variable is a function that assigns a real number to each outcome in a sample space. A random variable X on the sample space S is written

X : S \to \mathbb{R}

  • \mathbb{R} is the set of real numbers.

Two fair coins are flipped and X is the number of heads. What values can X take, and with what probabilities?

  • The sample space is S = \{TT, TH, HT, HH\}, and each outcome has probability \frac{1}{4}.
  • X(TT) = 0, X(TH) = X(HT) = 1 and X(HH) = 2.
  • Two outcomes give the value 1, so P(X = 0) = \frac{1}{4}, P(X = 1) = \frac{1}{2} and P(X = 2) = \frac{1}{4}.

Types of random variables

  • A discrete random variable takes a finite or countably infinite set of values, each with its own probability, like a number of claims.
  • A continuous random variable has a density, so every single value has probability 0, like the size of a loss.
  • A mixed random variable has a continuous part and at least one single value with positive probability, like a payment under a deductible or a limit.

Mixed random variables

A single value x with positive probability is a point mass. It shows as a jump in the CDF F(x) = P(X \le x), and its probability is the size of the jump:

P(X = x) = F(x) - F(x^-)

  • F(x^-) = P(X < x) is the limit of F from the left at x.

A payment Y has CDF F(y) = 0 for y < 0, F(y) = 0.4 + 0.001y for 0 \le y < 400, and F(y) = 1 for y \ge 400. What are its point masses?

  • At 0, F jumps from 0 to 0.4, so P(Y = 0) = 0.4.
  • Just below 400, F reaches 0.4 + 0.001(400) = 0.8, and at 400 it is 1, so P(Y = 400) = 0.2.
  • Between the jumps F rises at the rate 0.001, which is the density of the continuous part.

Expected value of a mixed random variable

The expected value of a function g of a mixed random variable X adds the point masses to the integral over the continuous part:

E[g(X)] = \sum_i g(x_i)\,P(X = x_i) + \int g(x)\,f(x)\,dx

  • x_i are the point masses.
  • f(x) is the density of the continuous part. It integrates to 1 - \sum_i P(X = x_i), not to 1.

A loss X is exponential with mean 1,000, and the policy pays Y = \min(X, 1500). What is the expected payment?

  • Every loss above 1,500 pays exactly 1,500, so Y has a point mass at 1,500.
  • Its probability is P(X > 1{,}500), which is e^{-1.5} = 0.2231.
  • Below 1,500, Y follows the density of X, f(x) = \frac{e^{-x/1000}}{1000}.
  • The expected payment adds the point mass to the integral:
\begin{aligned}
E[Y] &= \int_0^{1500} x\,f(x)\,dx \\
&\quad + 1{,}500\,e^{-1.5} \\
&= 1{,}000\left(1 - e^{-1.5}\right) \\
&= 776.87
\end{aligned}

Calling a payment continuous A payment Y = \max(X - 200, 0) on a continuous loss takes every value from 0 up, yet P(Y = 0) = P(X \le 200) > 0. It is mixed. Integrating only the density misses the point mass, so check the CDF for jumps first.

Practice questions

Actuarial Notes