Module 3: Continuous Random Variables
Probability as area: densities, survival functions, quantiles and the shapes used for loss sizes
1. Probability is area
A continuous random variable has a density , and probabilities are areas under it:
A density is a height per unit of , not a probability. It can exceed 1 (a uniform density on equals 5), and any single point has probability zero. Only intervals carry probability.
Four functions describe the same distribution; knowing one gives the rest.
| Function | Definition | Meaning |
|---|---|---|
| Distribution | probability of a value up to | |
| Survival | probability of exceeding | |
| Density | probability per unit near | |
| Hazard | rate of failure at among those that reached |
1.1 The hazard rate
In actuarial risk theory and survival models, the survival function represents the probability that a loss exceeds (or that an insured survives past age ):
The hazard rate (or failure rate, force of mortality , force of hazard ) measures the instantaneous rate of failure given survival up to time :
Since , we have the fundamental differential identity:
Integrating both sides from to yields the canonical survival representation:
1.2 The mean from the survival function
For any continuous random variable with :
Analytical Proof (Integration by Parts):
Consider . Let , and (since ).
Assuming (a standard condition for existence of the mean):
Higher-Order Moments by Tail Integration:
Specifically, for the second moment:
Probability is area; a CDF is accumulated area
2. Conditioning on survival
"Given that the loss exceeds " shrinks the sample space to . Every probability inside it is divided by :
This one line underlies deductibles (Module 4) and survival models.
3. Percentiles: reversing the distribution function
The -th percentile solves . When has a formula, invert it; the median is .
3.1 Mode, median and interquartile range
- Mode: The value that maximizes (where and , or at boundaries).
- Median (): The unique solution to .
- -th Percentile (): .
- Interquartile Range (): .
4. The families and why each is used
4.1 Uniform
Constant density on : every equal-length interval is equally likely. Mean , variance . Used when only a range is known, and as the building block for simulation.
Conditioning a uniform.
If , then for any sub-interval :
This property makes uniform distributions straightforward to manipulate under policy deductibles and limits.
4.2 Exponential
Its hazard is constant, , which gives the memoryless property:
A component that has worked for hours is as good as new. It is the continuous cousin of the geometric distribution.
Two parameterizations.
Questions use two conventions. Identify which one before computing:
- Scale Parameterization ():
- Rate Parameterization ():
Example 4.1: An exponential loss
Losses are exponential with mean 500. Then , and the median solves , so . The median is well below the mean: a long right tail pulls the mean up.
4.3 The first of several exponential waits
Let be independent Exponential random variables with rates . Let .
Thus:
Furthermore, the probability that component fails first is:
4.4 Gamma
The sum of independent exponentials with mean (for whole-number ) is gamma with shape and scale :
With and , the mean is 1,200 and the variance 480,000. Shape controls skewness; scale only stretches the axis.
- Exponential, mean 1,000
- Gamma, shape 2, scale 500
The exponential puts the most density on tiny losses. The gamma with shape 2 has its peak at 500, fewer very small losses and a slightly thinner far tail. Same mean, different risk.
4.5 Erlang: waiting for the k-th event
where is the Gamma function.
- If is a positive integer, .
- .
- .
When is an integer, the distribution is known as the Erlang() distribution. It represents the waiting time until the -th event in a Poisson process with arrival rate :
- .
- .
- Cumulative tail relation to Poisson count:
4.6 Normal
The bell curve with mean and standard deviation . Every normal reduces to the standard normal by , so one table serves all. It is the limit in the central limit theorem (Module 6), which is why totals of many risks look normal.
Quantiles worth memorizing.
Sums of independent normals.
If are independent with , then any linear combination:
4.7 Lognormal
is lognormal when is normal with parameters and . Probabilities come from the normal table after taking logs:
Example 4.2: A lognormal claim
With and : . The mean is , above the median : logs compress large values, and undoing them stretches the right tail.
4.8 Pareto
Its survival decays like a power, not an exponential, so very large losses stay plausible. It is the standard model for heavy-tailed claims; when the mean does not exist.
More on the Pareto.
- Variance ():
- If , the mean is infinite! If , the variance is infinite!
- Hazard rate: , which strictly decreases with (heavy-tail aging property: surviving longer makes the component less likely to fail per unit time).
4.9 Beta
Defined on with parameters :
where .
4.10 Weibull
- Hazard rate: .
- If : Constant hazard rate Exponential distribution.
- If : Increasing hazard rate (wear-out, biological aging).
- If : Decreasing hazard rate (infant mortality, burn-in period).
5. Transformations: start from the event
To find the distribution of , write the event for as an event for :
and solve inside the probability. For an increasing this is ; for anything else, draw the region.
Example 5.1: Squaring a uniform
If is uniform on and , then for :
Changing units is the simplest transformation: if with , then . Scale families (exponential, gamma, Pareto) keep their family and multiply by , which is how inflation is handled in Module 4.
6. Formula sheet
Canonical Formula Sheet: Continuous Probability Distributions
| Distribution | Support () | Survival Function | Mean | Variance | Hazard Rate | |
|---|---|---|---|---|---|---|
| Uniform() | ||||||
| Exponential() | (const) | |||||
| Gamma() (rate ) | Incomplete Gamma | Monotonic | ||||
| Normal() | Strictly increasing | |||||
| Beta() | Incomplete Beta | Variable | ||||
| Pareto() | (decreasing) | |||||
| Weibull() |
7. Common traps
Trap 1: Confusing with in Exponential Questions
- Trap: Using when the problem defines .
- Correction: If rate is , mean is . Always verify whether the stated parameter is the rate or the mean.
Trap 2: Integrating Instead of Using Tail Integration
- Trap: Spending 10 minutes on tedious integration by parts to compute .
- Correction: For non-negative random variables, always attempt tail integration: . For Pareto, Weibull, and mixtures, tail integration is drastically faster.
Trap 3: Dividing by Instead of in Normal Standardization
- Trap: Calculating .
- Correction: Standardization requires dividing by the standard deviation .
Trap 4: Forgetting the Power in Weibull Hazard Rate
- Trap: Writing .
- Correction: The power is : .
Trap 5: Misidentifying Pareto Parameter Restrictions for Existence of Moments
- Trap: Calculating when .
- Correction: For Pareto, the variance is finite if and only if . When , .
Trap 6: Normal One-Tailed vs. Two-Tailed Critical Values
- Trap: Using when the stem asks for a one-sided solvency reserve.
- Correction: For a one-sided upper tail, use . corresponds to a two-sided interval (leaving in each tail).
Trap 7: Minimum of Exponentials: Summing Means Instead of Rates
- Trap: Setting the mean of to .
- Correction: You must sum the rates . Then .
Trap 8: Beta Distribution Mean Inversion
- Trap: Writing .
- Correction: The mean is .
Trap 9: Boundary Value Omission in Continuous Mode Calculation
- Trap: Finding critical points but forgetting to evaluate endpoints for bounded distributions (e.g., Uniform, Beta).
- Correction: For monotonic densities (such as Exponential or Pareto), the mode occurs at the boundary .
Trap 10: Inverting the Sign in Symmetry of Standard Normal
- Trap: Believing .
- Correction: . Probabilities cannot be negative.
Trap 11: Ignoring the Support in Conditional Integration
- Trap: Integrating from to instead of from to .
- Correction: The conditional density is non-zero only on the support of the condition ().
Trap 12: Conflating Median with Mean in Asymmetric Severity
- Trap: Assuming mean equals median for skewed distributions like Pareto or Exponential.
- Correction: For right-skewed distributions ( with positive skewness), . For Exponential: , while .
Trap 13: Linear Combination Variance Sign Error
- Trap: Setting .
- Correction: Variances of independent variables always add: .
Trap 14: Erlang Cumulative Probability Direct Integration Trap
- Trap: Directly integrating via repeated integration by parts.
- Correction: Use the Poisson connection: .
Trap 15: Uniform Variance Missing Factor 12
- Trap: Writing or .
- Correction: The variance of is strictly .
8. Practice problems
Problem 1: An exponential median
Losses are exponential with mean 1,200. Find the median loss.
- A1200.00
- B345.22
- C1663.55
- D831.78
- E1731.23
Solution: . Answer (D).
Why the other choices are wrong:
- (A) Gives the mean; an exponential is right-skewed, so its median is below the mean.
- (B) Gives the 25th percentile, .
- (C) Gives the 75th percentile, .
- (E) Divides the mean by instead of multiplying by it.
Problem 2: A normal tail
is normal with mean 1,000 and standard deviation 200. Find .
- A0.9332
- B0.1336
- C0.4332
- D0.8664
- E0.0668
Solution: and . Answer (E).
Why the other choices are wrong:
- (A) Gives , the opposite event.
- (B) Doubles the tail as if the question were two-sided, .
- (C) Gives the area between the mean and 1,300, .
- (D) Gives the central probability .
Problem 3: A transformed variable
is uniform on . Find .
- A0.36
- B0.1296
- C0.64
- D0.60
- E0.40
Solution: . Answer (D).
Why the other choices are wrong:
- (A) Treats as if it were uniform on .
- (B) Squares the bound again, finding instead of taking the square root.
- (C) Treats as uniform and then takes the complement, .
- (E) Gives , the complement.
Problem 4: A Pareto tail
Losses follow a Pareto distribution with and . Find .
- A0.4444
- B0.2963
- C0.0370
- D0.1250
- E0.7037
Solution: . Answer (B).
Why the other choices are wrong:
- (A) Uses the exponent 2 instead of .
- (C) Puts in the numerator, , instead of .
- (D) Uses , which is not the Pareto survival function.
- (E) Gives , the complement.
Problem 5: Tail Integration of Quadratic Survival Model
A loss random variable on has survival function:
Calculate the variance .
- A11.11
- B16.67
- C8.33
- D5.56
- E3.33
Detailed Solution:
- Use tail integration to compute moments:
- Second moment by tail integration:
Let . When ; .
- Variance:
Correct Answer: (D)
Why the other choices are wrong:
- (A) Gives , the term that is subtracted.
- (B) Stops at and forgets to subtract .
- (C) Uses the uniform variance , ignoring the quadratic survival function.
- (E) Gives the mean , not the variance.
Problem 6: Exponential Minimum of Competing Risks
An electrical generator has three independent components whose lifetimes follow Exponential distributions with means , and operating hours. The generator ceases functioning when any component fails. Calculate the expected operating lifetime of the generator.
- A3000
- B1000
- C11000
- D2000
- E3667
Detailed Solution:
- Component failure rates:
- The lifetime of the system is .
- Expected lifetime:
Correct Answer: (B)
Why the other choices are wrong:
- (A) Takes the harmonic mean of the three means, which averages the rates instead of adding them.
- (C) Adds the three means, which would be the lifetime if the components ran one after another.
- (D) Gives the shortest mean, but the minimum of the three lifetimes is shorter than any single mean.
- (E) Averages the three means.
Problem 7: Normal Quantile for Underwriting Capital Buffer
Aggregate annual claims for an insurer are normally distributed with mean 10,000,000 and standard deviation 2,000,000. The insurer must hold capital such that the probability that claims exceed is at most . Calculate .
- A
- B
- C
- D
- E
Detailed Solution:
- We require .
- Standardizing: .
- From the standard normal table, .
- Solve for :
Correct Answer: (D)
Why the other choices are wrong:
- (A) Uses , the two-sided 95% value, instead of the one-sided 99% value 2.326.
- (B) Uses , the two-sided 99% value; only the upper tail matters here.
- (C) Uses , the one-sided 90% value.
- (E) Uses , the one-sided 95% value.
Problem 8: Pareto Severity Median vs. Mean
A heavy liability loss follows a Pareto distribution with for . Calculate the positive difference between the mean and the median of this loss distribution.
- A520
- B147
- C172
- D480
- E1000
Detailed Solution:
- Parameters: .
- Mean: .
- Median : .
- Difference:
Correct Answer: (D)
Why the other choices are wrong:
- (A) Gives the median itself, not the difference between the mean and the median.
- (B) Uses for the mean instead of .
- (C) Takes a square root instead of a cube root for the median, .
- (E) Gives the mean and forgets to subtract the median.
Problem 9: Hazard Rate Determination for Power Survival Law
A lifetime distribution has survival function for . Calculate the hazard rate at .
- A0.0625
- B0.20
- C0.05
- D0.10
- E0.0063
Detailed Solution:
- Hazard rate: .
- .
- Differentiating:
- At :
Correct Answer: (D)
Why the other choices are wrong:
- (A) Gives the survival probability instead of the hazard rate.
- (B) Evaluates the hazard at instead of .
- (C) Squares the denominator, , confusing the hazard with part of the density.
- (E) Gives the density without dividing by .
Problem 10: Beta Distribution Variance for Loss Ratio
The loss ratio of an inland marine portfolio follows . Calculate .
- A0.0233
- B0.0191
- C0.2100
- D0.0210
- E0.0900
Detailed Solution:
- For , the variance formula is:
- Substitute :
Correct Answer: (B)
Why the other choices are wrong:
- (A) Uses in the denominator instead of .
- (C) Leaves out the factor entirely.
- (D) Uses in place of .
- (E) Gives the squared mean , not the variance.
Problem 11: Erlang Waiting Time Quantile Calculation
The arrival of reinsurance claims follows a Poisson process with rate per month. Let be the arrival time of the 3rd claim. Calculate .
- A0.8647
- B0.5940
- C0.3233
- D0.1804
- E0.6767
Detailed Solution:
- follows .
- Use the Poisson equivalence: The 3rd claim occurs on or before month 4 if and only if at least 3 claims arrive during the interval .
- Number of claims in 4 months is .
- .
- Sum: .
- .
Correct Answer: (C)
Why the other choices are wrong:
- (A) Finds the first claim by month 4, , instead of the third.
- (B) Finds the second claim by month 4, , instead of the third.
- (D) Gives exactly; the third claim has arrived whenever .
- (E) Stops at and forgets to subtract it from 1.
Problem 12: Weibull Distribution Quantile
A commercial equipment lifetime follows a Weibull distribution with and . Calculate the 90th percentile of equipment lifetime.
- A230.3
- B151.7
- C32.5
- D115.1
- E83.3
Detailed Solution:
- Survival function: .
- For the 90th percentile, .
- Solve for :
Correct Answer: (B)
Why the other choices are wrong:
- (A) Ignores and solves as an exponential, .
- (C) Solves , which gives the 10th percentile.
- (D) Halves instead of taking its square root.
- (E) Solves , which gives the median.
Problem 13: Uniform Conditional Second Moment
Let . Calculate .
- A3120
- B3333
- C5200
- D5733
- E4900
Detailed Solution:
- Given , the conditional distribution is .
- For , and .
- Here .
- .
- .
- Second moment:
Correct Answer: (C)
Why the other choices are wrong:
- (A) Integrates against the unconditional density and never divides by .
- (B) Gives the unconditional and ignores the condition.
- (D) Adds the unconditional variance to instead of the conditional variance .
- (E) Gives and forgets the conditional variance.
Problem 14: Interquartile Range of Exponential Distribution
Claim severity follows an Exponential distribution with mean . Calculate the Interquartile Range ().
- A693.1
- B346.6
- C143.8
- D549.3
- E500.0
Detailed Solution:
- The CDF is .
- Quantile function: .
- 25th percentile ():
- 75th percentile ():
- Interquartile Range:
Correct Answer: (D)
Why the other choices are wrong:
- (A) Gives the 75th percentile and forgets to subtract the 25th.
- (B) Gives the median, .
- (C) Gives the 25th percentile alone.
- (E) Gives the mean, which is also the standard deviation, not the interquartile range.
Problem 15: Linear Combination of Independent Normals
Independent losses and represent losses on two policies. Calculate .
- A0.2375
- B0.1126
- C0.1587
- D0.0828
- E0.0294
Detailed Solution:
- Let .
- Mean: .
- Variance: .
- Standard deviation: .
- Standardize :
Correct Answer: (C)
Why the other choices are wrong:
- (A) Adds the standard deviations, , instead of the variances.
- (B) Scales by 2 instead of , giving a variance of 1,700.
- (D) Forgets the coefficient on in the variance, using .
- (E) Subtracts the variances because of the minus sign, ; variances always add.
Problem 16: Expected Value of Inverse Loss Variable
Loss follows . Calculate .
- A0.0402
- B0.0600
- C0.0333
- D0.0322
- E0.0978
Detailed Solution:
- By LOTUS: .
- Compute integral:
Correct Answer: (A)
Why the other choices are wrong:
- (B) Averages at the two endpoints, which is not the integral.
- (C) Uses ; by Jensen's inequality .
- (D) Divides by the upper limit 50 instead of the interval length 40.
- (E) Drops the lower limit of the integral, using instead of .
Problem 17: Normal Distribution Absolute Deviation Expectation
Let . Calculate the mean absolute deviation .
- A0.3989
- B1.0000
- C0.0000
- D0.7979
- E0.6366
Detailed Solution:
- By definition:
- Let :
Correct Answer: (D)
Why the other choices are wrong:
- (A) Integrates over only and forgets the factor 2 from folding.
- (B) Gives , or the standard deviation, instead of .
- (C) Gives , ignoring the absolute value.
- (E) Forgets the square root, giving instead of .
Problem 18: Piecewise Linear Continuous PDF Normalization
A loss has density for , and for , and 0 elsewhere. Calculate .
- A0.875
- B0.50
- C0.375
- D0.75
- E0.25
Detailed Solution:
- The density forms an isosceles triangle with base and peak at with height .
- Total area under PDF: .
- By symmetry, the excluded tails are:
- Left tail : triangle with base 1, height . Area = .
- Right tail : triangle with base 1, height . Area = .
- Total excluded area: .
- Probability in between: .
Correct Answer: (D)
Why the other choices are wrong:
- (A) Removes only one of the two tails, .
- (B) Treats the density as uniform on , giving .
- (C) Keeps only one side of the peak, .
- (E) Gives the excluded tail area instead of what is left.
Problem 19: Constant Hazard Rate Identification
An actuary observes that a component's conditional failure probability satisfies for all . Calculate the median lifetime.
- A50.0
- B34.7
- C72.1
- D0.0139
- E25.0
Detailed Solution:
- Constant hazard rate .
- Therefore, , with mean .
- The median of an Exponential distribution is:
Correct Answer: (B)
Why the other choices are wrong:
- (A) Gives the mean , not the median.
- (C) Divides the mean by instead of multiplying by it.
- (D) Multiplies the hazard rate by instead of the mean.
- (E) Halves the mean, as if the distribution were symmetric about .
Problem 20: Two-Sided Normal Central Interval
Aggregate claims . Find the symmetric interval that contains of claim outcomes.
- A
- B
- C
- D
- E
Detailed Solution:
- A symmetric interval leaves in each tail.
- The critical value is .
- .
- The interval is .
Correct Answer: (B)
Why the other choices are wrong:
- (A) Uses , which leaves 10% in each tail and gives an 80% interval.
- (C) Uses , which gives a 95% interval.
- (D) Uses , which leaves 1% in each tail and gives a 98% interval.
- (E) Uses , which gives a 99% interval.
Problem 21: Pareto Excess Probability Ratio
Loss follows Pareto with and . Calculate .
- A0.2963
- B0.1975
- C0.6667
- D0.4444
- E0.0123
Detailed Solution:
- .
- .
- .
- The ratio is:
Correct Answer: (B)
Why the other choices are wrong:
- (A) Uses the exponent 3 instead of .
- (C) Drops the exponent , taking the ratio of the bases .
- (D) Uses the exponent 2 instead of .
- (E) Gives without dividing by .
Problem 22: Mode of Gamma Distribution
Loss where is the rate parameter (). Calculate the mode of .
- A200
- B100
- C250
- D150
- E0.06
Detailed Solution:
- Take the log-density: .
- Differentiate and set to zero:
- For Gamma with , the mode is .
Correct Answer: (D)
Why the other choices are wrong:
- (A) Gives the mean , not the mode.
- (B) Takes the power of as when differentiating, giving .
- (C) Uses in place of .
- (E) Treats as a scale parameter, , although it is the rate.
Problem 23: Exponential Hazard and Residual Life Identity
For an Exponential loss with mean , what is the conditional expected future lifetime ?
- A
- B
- C
- D
- E
Detailed Solution:
- By the memoryless property of the Exponential distribution, the distribution of excess life is identical to the original distribution of .
- Therefore:
Correct Answer: (B)
Why the other choices are wrong:
- (A) Subtracts the time already survived, as if total lifetime were fixed at ; memorylessness says it resets.
- (C) Gives , the total lifetime, not the remaining lifetime.
- (D) Gives , which averages over lives that died before instead of conditioning on survival.
- (E) Weights the elapsed time by the survival probability, , which is not an expected future lifetime.
Problem 24: Quantile Function of the Pareto Distribution
A Pareto distribution has . Derive the 95th percentile when and .
- A1736.1
- B1497.9
- C2236.1
- D9500.0
- E13.0
Detailed Solution:
- .
- .
- .
- .
Correct Answer: (A)
Why the other choices are wrong:
- (B) Uses the exponential quantile instead of the Pareto one.
- (C) Forgets to subtract at the end.
- (D) Drops the square root, solving as if .
- (E) Solves , which gives the 5th percentile.
Problem 25: Skewness of the Exponential Distribution
Calculate the skewness coefficient for any Exponential distribution.
- A6.0
- B2.0
- C9.0
- D1.0
- E3.0
Detailed Solution:
- For : .
- .
- Third central moment:
- Skewness:
Correct Answer: (B)
Why the other choices are wrong:
- (A) Uses the raw moment in place of the central moment.
- (C) Gives the kurtosis , the fourth standardized moment, not the third.
- (D) Gives the coefficient of variation .
- (E) Uses instead of in the expansion of the third central moment.
Problem 26: Exponential Sum with Independent Distinct Rates
Component 1 has lifetime and Component 2 has lifetime , independent of each other. Calculate .
- A0.5000
- B0.4000
- C0.7143
- D0.2857
- E0.6000
Detailed Solution:
- By the fundamental competing risks identity for independent exponentials:
- Substitute and :
Correct Answer: (D)
Why the other choices are wrong:
- (A) Assumes each component is equally likely to fail first, ignoring the different rates.
- (B) Divides by instead of by .
- (C) Swaps the rates, giving .
- (E) Takes , which compounds the wrong denominator with a complement.
Problem 27: Uniform Transformation Density
Let . Find the density of at .
- A0.8647
- B7.3891
- C1.0000
- D0.5000
- E0.1353
Detailed Solution:
- .
- Derivative: .
- Since on :
- Thus .
- At : .
Correct Answer: (E)
Why the other choices are wrong:
- (A) Gives the CDF instead of the density.
- (B) Uses instead of .
- (C) Leaves out the Jacobian, keeping only .
- (D) Takes the Jacobian as , confusing with a function of .
Problem 28: Weibull Aging Property Diagnosis
An insurer models machinery failures. The hazard rate is determined to be . What does this imply about the failure mechanics?
- AThe machinery experiences infant mortality; failure rate decreases with age.
- BThe failure rate is strictly memoryless.
- CThe machinery experiences wear-out aging; failure rate increases with age.
- DThe distribution has no defined moments.
- EThe lifetime is bounded.
Detailed Solution:
- is a Weibull hazard rate with shape parameter .
- Since , is a strictly increasing function of , which reflects positive aging / wear-out failure.
Correct Answer: (C)
Why the other choices are wrong:
- (A) Infant mortality needs a decreasing hazard, but increases with .
- (B) Memorylessness needs a constant hazard, which would require exponent 0, not 0.5.
- (D) A Weibull distribution has finite moments of every order.
- (E) The hazard is finite for every , so the lifetime can be any positive value.
Problem 29: Beta Distribution Mode
Let . Find the mode of .
- A0.8000
- B0.2500
- C0.6667
- D0.6000
- E0.7500
Detailed Solution:
- For with , the mode formula is:
- Substitute :
Correct Answer: (E)
Why the other choices are wrong:
- (A) Uses , subtracting 1 only in the denominator and not in the numerator.
- (B) Swaps and , giving .
- (C) Gives the mean , not the mode.
- (D) Subtracts 1 instead of 2 in the denominator, .
9. Check it in code
from math import erf, exp, log, sqrt
def Phi(z):
return 0.5 * (1 + erf(z / sqrt(2)))
print(exp(-800 / 500)) # 0.2019, Example 4.1
print(1 - Phi((log(1500) - 7) / 0.5)) # 0.2655, Example 4.2
print((2000 / 3000) ** 3) # 0.2963, Problem 4