Median
Study guides: Exam P-1, Exam ACIA-CAPSTONE
A Median of a random variable X is its 50th percentile, the value that splits its probability in half. For a continuous X with CDF F, the median m solves
F(m) = 0.5
- Equivalently, the area under the density up to
mis 0.5.
The idea The median depends only on the order of the values, so a heavy right tail pulls the mean above the median and leaves the median alone.
For a symmetric distribution, such as the normal or the uniform, the median equals the mean.
Losses are exponential with mean 5,000, so
F(x) = 1 - e^. What is the median loss?
- Setting the CDF to one half gives
e^{-m/5000} = 0.5.- Taking logarithms,
m = 5000 \ln 2 \approx 3{,}466.- Half of all losses are below about 3,466, though the mean is 5,000.
- In general an exponential with mean
\thetahas median\theta \ln 2 \approx 0.693\,\theta.
The median of a discrete distribution
When no value has F = 0.5 exactly, the median is the smallest m at which the CDF reaches one half:
F(m) \geq 0.5
A policy's claim count
Nis 0, 1, 2 or 3 with probabilities 0.35, 0.25, 0.20 and 0.20. What is the median?
- Accumulating the probabilities gives
F(0) = 0.35andF(1) = 0.60.- The CDF first reaches 0.5 at
n = 1.- The median is 1.
The median of a transformed loss
If g is a non-decreasing function, the value of g at the median of X is the median of g(X):
\text{median of } g(X) = g(m)
A deductible d and a limit u are both non-decreasing, so the median payment is \max(m - d, 0) under a deductible and \min(m, u) under a limit.
Losses are exponential with mean 5,000 and median 3,466. A policy has a deductible of 1,000. What is the median payment?
- The payment
\max(X - 1000, 0)rises with the loss, so it carries the median through.- The median payment is
3{,}466 - 1{,}000 = 2{,}466.- With a deductible of 4,000,
F(4000) = 0.551, so more than half of losses pay nothing and the median payment is 0.
The median of a sample
The median of a sample is its middle value once the values are sorted. When the number of values is even, it is the average of the two middle values.
Six claims were 1,200, 300, 4,500, 800, 2,600 and 9,000. What are the sample median and mean?
- Sorted, the claims are 300, 800, 1,200, 2,600, 4,500 and 9,000.
- The two middle values are 1,200 and 2,600, so the median is 1,900.
- The mean is
18{,}400 / 6 \approx 3{,}067, pulled up by the claim of 9,000.
Subtracting the deductible from the mean The median passes through a deductible, but the mean doesn't. With the exponential losses above, the mean payment under a deductible of 1,000 is
5000\,e^{-0.2} \approx 4{,}094, not5000 - 1000 = 4000.