Actuarial Notes

Cumulative Distribution Function (CDF)

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

A Cumulative Distribution Function (CDF) is the function that gives, for each x, the probability that a random variable X takes a value at most x. The CDF of X is

F(x) = P(X \leq x)

Every CDF rises from 0 to 1 and never decreases. The probability that X exceeds x is 1 - F(x), called the survival function S(x).

A loss X has CDF F(x) = 1 - e^ for x \geq 0. What is the probability that a loss exceeds 1,000?

  • F(1000) = 1 - e^{-1} = 0.6321 is the probability of a loss of at most 1,000.
  • The probability of a loss above 1,000 is 1 - 0.6321 = 0.3679.

The CDF of a continuous random variable

For a continuous random variable with density f, the CDF is the area under f up to x:

F(x) = \int_{-\infty}^{x} f(t)\,dt

  • t is the variable of integration.

The integral starts at the lower end of the support, below which f is 0. Below the support F(x) = 0, and from the upper end of the support on F(x) = 1.

A loss X is uniform on [0, 5], so its density is \frac there. What is its CDF?

  • For x < 0 there is no area yet, so F(x) = 0.
  • For 0 \leq x \leq 5, F(x) = \int_0^x \frac{1}{5}\,dt = \frac{x}{5}.
  • For x > 5, all the area is counted, so F(x) = 1.

Probabilities of intervals

The probability that X falls in an interval is how much the CDF grows across it:

P(a < X \leq b) = F(b) - F(a)

For a continuous X, single values have probability 0, so it doesn't matter whether either endpoint is included.

A loss X is uniform on [0, 5], with F(x) = \frac. What are P(2 \leq X \leq 4) and P(X \geq 2 \mid X \leq 4)?

  • The first is the growth of the CDF from 2 to 4, F(4) - F(2) = 0.8 - 0.4, so P(2 \leq X \leq 4) = 0.4.
  • Given X \leq 4, the event X \geq 2 is the interval [2, 4], so the conditional probability divides by F(4) = 0.8.
  • The second is \frac{0.4}{0.8} = 0.5.

The CDF of a discrete random variable

The CDF of a discrete random variable is a step function. It jumps at each value x by the probability of that value:

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

  • F(x^-) is the limit of F from the left at x.

At a jump, F(x) already includes the probability at x. For a count on 0, 1, 2, \ldots, P(X = k) = F(k) - F(k - 1), and "at most k" is F(k), the sum of the probabilities of 0 through k.

A payment Y has CDF F(y) = 0 for y < 0, F(y) = 0.25 + 0.5y for 0 \leq y < 1 and F(y) = 1 for y \geq 1. What are P(Y = 0), P(Y = 1) and P(0.5 < Y < 1)?

  • At 0, F jumps from 0 to 0.25, so P(Y = 0) = 0.25.
  • Just below 1, F approaches 0.75, and at 1 it is 1, so P(Y = 1) = 0.25.
  • The event 0.5 < Y < 1 excludes 1, so it uses the left limit F(1^-):
\begin{aligned}
P(0.5 < Y < 1) &= F(1^-) - F(0.5) \\
&= 0.75 - 0.5 \\
&= 0.25
\end{aligned}

The CDF of the largest of several values

If X_1, \ldots, X_n are independent with common CDF F, their largest value is at most x only when every one of them is. So the CDF of the largest value is

P(\max(X_1, \ldots, X_n) \leq x) = F(x)^n

Three independent losses are each uniform on [0, 1]. What is the probability that the largest is at most 0.5?

  • Each loss has F(0.5) = 0.5.
  • All three must be at most 0.5, so the probability is 0.5^3 = 0.125.

\leq or < at a jump At a jump the two differ by the jump. With the payment above, P(Y \leq 0) = F(0) = 0.25 but P(Y < 0) = 0. Use F(x) for an event that includes x, and the left limit F(x^-) for one that excludes it.

Practice questions

Actuarial Notes