Continuous Random Variable
Study guides: Exam P-1, Exam ASTAM
A Continuous Random Variable is a random variable whose probabilities are areas under a density function. The probability that a continuous random variable X lies between a and b is
P(a \le X \le b) = \int_a^b f(x)\,dx
f(x)is the probability density function ofX, withf(x) \ge 0and\int_{-\infty}^{\infty} f(x)\,dx = 1.
A single value has probability 0, so P(a < X < b) = P(a \le X \le b).
A claim size
X, in thousands, has densityf(x) = c(10 - x)for0 < x < 10. What arecandP(X > 4)?
- The density must integrate to 1:
\int_0^{10} c(10 - x)\,dx = 50c = 1, soc = 0.02.- The probability that the claim exceeds 4 is
\begin{aligned} P(X > 4) &= \int_4^{10} 0.02(10 - x)\,dx \\ &= 0.02(50 - 32) \\ &= 0.36 \end{aligned}
The cumulative distribution function
The cumulative distribution function of X is the area to the left of x:
F(x) = P(X \le x) = \int_{-\infty}^{x} f(t)\,dt
The density is the derivative of the CDF:
f(x) = F'(x)
The probability of an interval is then a difference, P(a < X \le b) = F(b) - F(a).
Xhas CDFF(x) = \fracfor0 \le x \le 4. What are its density andP(1 < X < 3)?
- The density is
f(x) = F'(x) = \frac{x}{8}for0 < x < 4.P(1 < X < 3) = F(3) - F(1), which is\frac{9}{16} - \frac{1}{16} = 0.5.
Expected value of a function
The expected value of a function g(X) weights g(x) by the density:
E[g(X)] = \int_{-\infty}^{\infty} g(x)\,f(x)\,dx
For X \ge 0, the mean is also the integral of the survival function:
E[X] = \int_0^{\infty} \big(1 - F(x)\big)\,dx
For the claim size
Xwith density0.02(10 - x)on(0, 10), what isE[X]?
- Integrating
xagainst the density gives the mean:\begin{aligned} E[X] &= \int_0^{10} 0.02\,x(10 - x)\,dx \\ &= 0.02\left(500 - \tfrac{1000}{3}\right) \\ &= 3.333 \end{aligned}
- The CDF is
F(x) = 0.2x - 0.01x^2, so the survival integral gives the same mean:\begin{aligned} E[X] &= \int_0^{10} \big(1 - F(x)\big)\,dx \\ &= 10 - 10 + 3.333 \\ &= 3.333 \end{aligned}
Payments under a deductible
A payment on a continuous loss need not be continuous. Under a deductible d, the payment Y = \max(X - d, 0) is 0 whenever X \le d. That point mass, P(X \le d), makes Y a mixed random variable. Its mean integrates only over losses above d:
E[Y] = \int_d^{\infty} (x - d)\,f(x)\,dx
A loss
Xis uniform on(0, 1000)and the policy paysY = \max(X - 200, 0). What areP(Y = 0)andE[Y]?
P(Y = 0) = P(X \le 200) = 0.2.- Only losses above 200 pay:
\begin{aligned} E[Y] &= \int_{200}^{1000} \frac{x - 200}{1{,}000}\,dx \\ &= \frac{800^2 / 2}{1{,}000} \\ &= 320 \end{aligned}
Reading a density as a probability A density is a rate, not a probability, and it can exceed 1. The uniform density on
(0, 0.5)is 2. Only an area under the density is a probability.