Exam PRandom variablesFree to read
Random variables, CDFs and survival functions
The CDF is the one object every distribution has; densities, masses, survival functions and percentiles are all read off it.
The formulas
- CDF
- Interval probability
- Survival function
- Density
continuous case
- Percentile
- Hazard rate
Where it comes from
- is non-decreasing, right-continuous, and runs from 0 to 1 — those three properties characterise a valid CDF.
- follows from additivity on the disjoint pieces and .
- For a continuous variable the endpoints carry no probability, so and can be used interchangeably; for a discrete one they cannot.
Worked example
A loss has CDF $F(x) = 1 - (1+x)^{-3}$ for $x > 0$ (in thousands). Find the probability the loss is between 1,000 and 4,000.
- — always take the difference of the CDF, never integrate twice.
- .
- .
- .
Answer: 0.1170
This answer is recomputed from the site’s own interest-theory and probability functions every time the test suite runs, so the page and the mathematics cannot drift apart.
Memory hooks
- Everything is F(b) − F(a). If you can write the CDF, you can answer the question.
- S(x) = 1 − F(x), and for the exponential S(x) = e^(−λx) is the form worth memorising directly.
Traps
- Using < and ≤ interchangeably for a DISCRETE variable, where the endpoint carries real mass.
- Differentiating a CDF that has a jump — a mixed distribution needs the jump handled separately.
Related
Drill this: the Exam P question bank has original questions on this topic, and today’s free round is open to everyone.