Kaplan-Meier
Survival Curves
Learn how to visualize time-to-event data, read survival probabilities from step functions, and interpret median survival in biostatistics.
What Is Survival Analysis?
Survival analysis is a branch of statistics that studies the time until an event occurs. The "event" can be death, disease relapse, machine failure, or any well-defined endpoint.
The Idea Behind Kaplan-Meier
The Kaplan-Meier (KM) estimator is a non-parametric method to estimate the survival function from observed data, even when some observations are censored.
Named after Edward Kaplan and Paul Meier, who published the method in 1958, it remains the most widely used survival estimator in clinical research.
Key Terminology
The Kaplan-Meier Formula
The estimated survival probability at time \( t \) is the product of conditional survival probabilities at every event time up to \( t \):
At each event time \( t_i \), we compute the fraction who survived that moment: \( \frac{n_i - d_i}{n_i} \). Multiplying all these fractions gives the cumulative survival probability.
Anatomy of a KM Curve
How to Read the Curve
Understanding Censoring
Censoring occurs when we have incomplete information about a subject's survival time. The KM estimator is powerful because it handles censoring correctly.
KM Estimator vs. Life Table
| Kaplan-Meier | Life Table | |
|---|---|---|
| Time intervals | Exact event times | Pre-defined intervals |
| Step size | Varies with data | Fixed width |
| Censoring | Handled at exact time | Assumed mid-interval |
| Best for | Small to moderate samples | Large samples, grouped data |
| Precision | Higher (exact) | Lower (grouped) |
How to Calculate \( \hat{S}(t) \)
Worked Example: Small Trial
Eight patients are followed. Event times (months): 2, 3, 5, 5, 8. Censored: 4+, 6+, 10+.
| \( t_i \) | \( n_i \) | \( d_i \) | \( 1 - d_i / n_i \) | \( \hat{S}(t_i) \) |
|---|---|---|---|---|
| 2 | 8 | 1 | 7/8 = 0.875 | 0.875 |
| 3 | 7 | 1 | 6/7 = 0.857 | 0.750 |
| 5 | 5 | 2 | 3/5 = 0.600 | 0.450 |
| 8 | 2 | 1 | 1/2 = 0.500 | 0.225 |
Plotting the Curve
Comparing Two Groups
KM curves are commonly used to compare treatments. Separate curves for each group show which treatment leads to longer survival.
Interpreting Median Survival
The median survival time is the time \( t_m \) at which the KM estimate first reaches or crosses 0.50:
Finding the Median from Data
Given: \( \hat{S}(10) = 0.60 \) and \( \hat{S}(14) = 0.42 \). No events occur between months 10 and 14. What is the median survival?
Common Mistakes
Summary of Key Concepts
| Concept | Definition | Key Point |
|---|---|---|
| \( \hat{S}(t) \) | Estimated survival probability at time \( t \) | Product of conditional probabilities |
| Censoring | Incomplete follow-up | Reduces \( n_i \), no drop in curve |
| Median survival | Time when \( \hat{S}(t) \leq 0.5 \) | May be undefined if curve stays above 0.5 |
| Step function | Curve shape | Drops only at event times |
| Log-rank test | Compares two KM curves | Tests if group difference is significant |
Question 1 of 5
A Kaplan-Meier curve is best described as which type of function?
Question 2 of 5
At time \( t_i \), there are 20 patients at risk and 4 events. What is the conditional survival probability at \( t_i \)?
Question 3 of 5
A patient is lost to follow-up at month 6 without experiencing the event. How does this affect the Kaplan-Meier estimate?
Question 4 of 5
If \( \hat{S}(8) = 0.55 \) and \( \hat{S}(12) = 0.40 \), what is the median survival time?
Question 5 of 5
When comparing two KM curves, the log-rank test assesses whether: