Survival analysis
Survival analysis is a family of statistical methods that model the time until an event, such as a default, a claim or a prepayment, and that use the cases where the event has not yet happened at the end of the observation period.
What it is
Survival analysis is a set of statistical methods for the time until an event happens, for example the time from loan origination to default, from policy start to a claim, or from drawdown to full prepayment. Its distinguishing feature is censoring: a case that has not had the event by the end of the observation period is kept in the data with the time it was observed, instead of being dropped.
Each record holds a follow-up time and an indicator of whether the event was seen. The main quantities are:
- The survival function, the probability that the event has not happened by time t.
- The hazard, the rate at which the event occurs at time t among cases still without it.
- Censoring, the case where the event is not observed, most often because the observation ends first.
Common methods are the Kaplan-Meier estimator, which builds the survival curve without assuming a shape, parametric models with a chosen distribution, and the Cox proportional hazards model, which links the hazard to explanatory variables.
In the Kaplan-Meier form, the survival function is S(t) = the product, over every event time t_i up to t, of (1 - d_i / n_i). Here d_i is the number of events at t_i and n_i is the number of cases still at risk just before t_i.
Why it matters
A lending or insurance book holds cases of different ages, and many have not yet had the event. Treating them as cases that never have it understates risk. Survival methods use those cases without that bias.
The result is a curve of event probability across the life of the exposure, the shape that lifetime estimates need. The EBA’s IFRS 9 monitoring reports review how EU institutions estimate lifetime probability of default.
Worked example
Illustrative numbers. A group of 100 loans is followed for two years.
- Year 1: 100 loans are at risk and 4 default. The hazard is 4 / 100 = 0.04, so survival after year 1 is 0.96.
- Six loans leave observation before the end of year 1 without defaulting, because the data ends. They are censored and drop out of the count at risk for year 2.
- Year 2: 90 loans are at risk and 3 default. The hazard is 3 / 90 = 0.033.
- Survival after year 2 is 0.96 x (1 - 0.033) = 0.928.
The estimated probability of default within two years is 1 - 0.928 = 7.2 percent. Counting censored loans as non-defaults would give 7 percent from 7 defaults out of 100.
How to read it
A survival curve starts at one and falls as events accumulate. A steep fall means events occur early. A hazard that rises then falls shows risk concentrated at a certain age. A hazard ratio above one for a variable means the event occurs sooner when that variable is higher.
Assumptions
- Censoring is unrelated to the event risk; if loans leave observation because they are about to default, the curve is biased.
- In the Cox model, the effect of a variable on the hazard is a constant multiple over time.
Who uses it
- Credit risk model developers fit hazard models to build default probabilities across the life of a loan.
- Actuaries estimate the time to death, lapse or claim from policy data.
- Statisticians choose the estimator, check the assumptions and report confidence intervals.
- Model validators test whether the fitted curve matches the events observed later.
- Data scientists in banking build prepayment and attrition models on time-to-event data.
Common confusions
- The method is not limited to deaths or medicine; it applies to any event with a waiting time.
- The hazard is a rate among cases still at risk, not the probability of the event over the whole period.
- A censored case is not a failure and not a missing value; it is a case known to be event-free up to its last observation.
- A model of whether a default happens within a fixed window differs from one of when it happens, which uses the full timing.