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
Xhas CDFF(x) = 1 - e^forx \geq 0. What is the probability that a loss exceeds 1,000?
F(1000) = 1 - e^{-1} = 0.6321is 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
tis 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
Xis uniform on[0, 5], so its density is\fracthere. What is its CDF?
- For
x < 0there is no area yet, soF(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, soF(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
Xis uniform on[0, 5], withF(x) = \frac. What areP(2 \leq X \leq 4)andP(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, soP(2 \leq X \leq 4) = 0.4.- Given
X \leq 4, the eventX \geq 2is the interval[2, 4], so the conditional probability divides byF(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 ofFfrom the left atx.
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
Yhas CDFF(y) = 0fory < 0,F(y) = 0.25 + 0.5yfor0 \leq y < 1andF(y) = 1fory \geq 1. What areP(Y = 0),P(Y = 1)andP(0.5 < Y < 1)?
- At 0,
Fjumps from 0 to 0.25, soP(Y = 0) = 0.25.- Just below 1,
Fapproaches 0.75, and at 1 it is 1, soP(Y = 1) = 0.25.- The event
0.5 < Y < 1excludes 1, so it uses the left limitF(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.
\leqor<at a jump At a jump the two differ by the jump. With the payment above,P(Y \leq 0) = F(0) = 0.25butP(Y < 0) = 0. UseF(x)for an event that includesx, and the left limitF(x^-)for one that excludes it.
Practice questions
- SOA Exam FAM Sample Question 63
- CAS Exam MAS-I Fall 2018, Question 14
- CAS Exam MAS-I Fall 2019, Question 13
- CAS Exam MAS-I Fall 2019, Question 17
- CAS Exam MAS-I Spring 2019, Question 5
- CAS Exam MAS-I Spring 2019, Question 13
- CAS Exam MAS-I Spring 2019, Question 15
- CAS Exam MAS-I Spring 2019, Question 26
- Exam MAS-I Practice Question 40
- Exam MAS-I Practice Question 42
- CAS Exam MAS-II Fall 2019, Question 25
- SOA Exam P Sample Question 209
- SOA Exam P Sample Question 600
- SOA Exam P Sample Question 609
- SOA Exam P Sample Question 647
- SOA Exam P Sample Question 648
- Exam P Practice Question 4
- Exam P Practice Question 5
- Exam P Practice Question 8
- Exam P Practice Question 9