Kaplan-Meier Analysis — Nonparametric Survival Estimation
Kaplan-Meier Survival Analysis · Also known as: KM analysis, KM estimator, product-limit estimator, Kaplan-Meier curve
Kaplan-Meier (KM) analysis is a nonparametric method for estimating the survival function from time-to-event data. Introduced by Kaplan and Meier in 1958, it produces the classic step-function survival curve that shows the probability of surviving beyond each observed event time, correctly accounting for censored observations — participants who left the study or had not yet experienced the event by the end of follow-up. It is one of the most widely used techniques in clinical and epidemiological research.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
+17 more
When to use it
Use Kaplan-Meier analysis whenever the outcome is time to a single well-defined event (death, relapse, discharge, treatment failure) and follow-up times vary across participants. It is the standard first step in any survival analysis and is appropriate for both randomised trials and observational cohort studies. Prefer KM curves for descriptive display and group comparison when the proportional hazards assumption holds; move to Cox regression when you need to adjust for multiple covariates simultaneously. Do not use KM when the event cannot occur more than once per person and competing events (e.g., death from a different cause before the event of interest) are present — use competing-risks analysis instead. KM is also unsuitable when censoring is likely to be informative, when continuous covariate adjustment is needed, or when the outcome is binary rather than time-to-event.
Strengths & limitations
- Completely nonparametric — makes no assumption about the shape of the survival distribution.
- Correctly incorporates censored observations, maximising use of all available follow-up time.
- Produces an intuitive, immediately interpretable visual (the step-function survival curve).
- Median survival with confidence intervals is easily derived as a summary statistic.
- Widely understood across clinical, epidemiological, and regulatory audiences.
- Cannot adjust for multiple confounders simultaneously — use Cox proportional hazards for covariate-adjusted estimates.
- Assumes non-informative censoring; biased estimates result if censoring is related to prognosis.
- Does not handle recurrent events or competing risks without extension to more specialised methods.
- The log-rank test comparing curves has reduced power when the hazard ratio changes over time (crossing or converging curves).
- Estimates become unstable at long follow-up times when few participants remain at risk.
Frequently asked
What is the difference between the Kaplan-Meier curve and the cumulative hazard curve?
The KM curve shows S(t), the probability of surviving (not experiencing the event) beyond time t, which decreases from 1 toward 0. The cumulative hazard H(t) = -log S(t) increases over time and represents the accumulated instantaneous risk. Both are equivalent representations of the same underlying data; the cumulative hazard is linear on a log scale under an exponential distribution, making it useful for model checking.
When should I use the log-rank test vs. a Cox model to compare groups?
Use the log-rank test when you want a simple, nonparametric significance test comparing two or more unadjusted KM curves. Use Cox regression when you need to adjust for confounders, include continuous predictors, or obtain a hazard ratio as a summary effect size. The two approaches assume proportional hazards; when that assumption is violated, consider restricted mean survival time analysis.
How do I calculate the confidence interval for the median survival?
The standard approach applies Greenwood's formula to estimate the variance of S(t), then constructs pointwise confidence bands around the curve. The confidence interval for the median is the set of time points where the confidence band crosses the 0.5 probability line. Most statistical software (R survival package, SAS LIFETEST, Stata stci) computes this automatically.
Can I use Kaplan-Meier when I have competing risks?
Standard KM analysis treats competing events (e.g., death from another cause before the event of interest) as censored observations, which leads to overestimation of cumulative incidence because censored individuals are assumed to remain at risk. When competing risks are present, use the cumulative incidence function (CIF) from Fine-Gray regression or cause-specific hazard models instead of the KM estimator.
What sample size do I need for a reliable Kaplan-Meier estimate?
Reliability depends primarily on the number of observed events rather than total sample size. As a rough rule, at least 10–20 events per group are needed for stable curve estimates, and formal power calculations for the log-rank test should be conducted based on the expected event rate, median survival, and desired power. At long follow-up times where few participants remain at risk (fewer than ~5–10), the curve becomes unreliable and should be truncated or presented with appropriate uncertainty.
Sources
- Kaplan, E. L., & Meier, P. (1958). Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282), 457–481. DOI: 10.2307/2281868 ↗
- Kaplan–Meier estimator. Wikipedia. link ↗
How to cite this page
ScholarGate. (2026, June 3). Kaplan-Meier Survival Analysis. ScholarGate. https://scholargate.app/en/epidemiology/kaplan-meier-analysis
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Cohort StudyEpidemiology↔ compare
- Cox proportional hazardsEpidemiology↔ compare
- Log-Rank TestSurvival↔ compare
- Randomized clinical trialEpidemiology↔ compare
- Survival AnalysisResearch Statistics↔ compare