Retrospective Kaplan-Meier Analysis — Historical Survival Curve Estimation

Statistics
Introduced by
Edward L. Kaplan and Paul Meier
Year
1958 (method); retrospective application standard in clinical research since 1970s–1980s)
Type
Non-parametric survival analysis applied to historical data
Family
Clinical / epidemiology

What does it do?

Retrospective Kaplan-Meier analysis applies the Kaplan-Meier product-limit estimator to time-to-event data taken from existing records, such as medical charts, registries, or administrative databases, rather than from a prospectively followed cohort.

It estimates the probability of surviving (or remaining event-free) beyond a given time point while accounting for participants whose follow-up ended before the event occurred (censored observations). The method is used across clinical oncology, cardiology, and surgery, among other fields.

The intuition behind the method

Consider a hospital that reviews the records of a cohort of patients treated for a particular cancer. Not all patients will have reached the endpoint when the records are pulled: some are still alive at last contact, and some were lost to follow-up. Kaplan-Meier handles this by moving forward through time. At each observed event time, it multiplies the running survival probability by the fraction of patients still at risk at that moment who did not experience the event. The result is the familiar step-function survival curve, which drops at each event and stays flat between events. Because the data already exist, the analysis is faster to run than a prospective study, but the retrospective setting introduces the risk of selection bias and incomplete records.

History

The Kaplan-Meier estimator was introduced by Edward L. Kaplan and Paul Meier in their 1958 paper in the Journal of the American Statistical Association, which was written to estimate survival from incomplete observations in lifetesting and medical follow-up. The method was developed to handle censored survival data, a practical problem in both clinical and observational studies. Its use in retrospective analysis of existing clinical records followed from that general purpose, and the method is now applied routinely to registry and hospital data.

When to use it

Use retrospective KM analysis when the clinical question concerns a time-to-event outcome, when the event and follow-up dates already exist in records or registries, and when prospective follow-up is not feasible because of time, cost, or the rarity of the condition. The historical sample must also be large enough to observe a reasonable number of events in each group, since the precision of the curve depends on events rather than enrolled subjects. Do not use the method when event and censoring times cannot be reconstructed reliably from the records, when censoring is likely to be informative (for example, when patients with worsening disease are disproportionately lost), or when the design introduces survivor bias or immortal-time bias that cannot be corrected. A parametric survival model or a competing-risks framework is a better fit when the question requires a distributional model or when competing events are substantial. A prospective design is preferable when high internal validity is needed and prospective follow-up is feasible.

Limitations and considerations

  • Selection bias: patients whose records exist and meet the extraction criteria may differ systematically from those who do not, and the KM curve describes only the selected group.
  • Confounding by indication: treatment groups in retrospective data are not randomly assigned, so baseline differences can distort any survival comparison between them.
  • Record completeness: missing event dates, undocumented deaths, and gaps in follow-up introduce errors that cannot be recovered after the fact.
  • Immortal-time bias can inflate apparent survival if time between cohort entry and treatment initiation is counted in the exposed group's risk time although no event could occur in that window.
  • The method is descriptive and does not provide causal estimates; a survival difference between groups may reflect unmeasured confounders rather than the effect of the exposure or treatment.
  • The 1958 estimator assumes that losses are independent of lifetime, an assumption the original paper itself describes as deserving careful scrutiny in practice; this assumption is hard to verify in retrospective records.
  • Delayed entry (left truncation): when subjects enter the observed cohort after their time origin, for example registry patients who are only captured at a later calendar date, those who had the event before entry are absent from the data. Survival estimates that start follow-up at the time origin then overstate survival.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Fast and comparatively inexpensive, because it uses existing clinical data and does not require waiting for prospective follow-up to accrue.
  • Non-parametric: it makes no assumption about the shape of the underlying survival distribution, so the same estimator can be applied to different clinical endpoints without choosing a distribution.
  • The step-function survival curve with its number-at-risk table is easy for clinicians and reviewers to read.
  • Censored observations are handled correctly under the assumption that censoring is independent of the outcome, including administrative censoring at the data extraction date.
  • Registry-based cohorts can be large, which can give the analysis more events to work with than a single-centre prospective study would.

Applications

  • Estimating overall survival and disease-free survival in oncology cohorts stratified by tumour stage, molecular marker, or treatment type.
  • Comparing post-operative survival between surgical techniques using hospital records in cardiac or orthopaedic surgery.
  • Assessing time to readmission or recurrence in cardiology or gastroenterology using administrative data.
  • Evaluating long-term graft survival from transplant registry databases.
  • Describing the natural history of rare diseases from multi-institutional retrospective case series.
  • Benchmarking institutional survival outcomes against published historical controls in quality-improvement studies.

How it works

How it works

1

Patient records, tumor registries, or administrative databases are searched to identify a defined cohort that meets the eligibility criteria. For each subject, the analyst extracts the date of origin (diagnosis, surgery, or treatment start), the date of the event of interest (death, relapse, or readmission), and the date of last known follow-up if the event did not occur. Because the data were recorded for clinical rather than research purposes, a written extraction protocol and data-quality checks are needed at this step.

2

Censoring rules are specified before analysis. A subject is censored if they were alive and event-free at last contact, withdrew, were lost to follow-up, or died of an unrelated cause when the endpoint is cause-specific. In retrospective studies, censoring at the data extraction date is a common form of censoring, and this is the cut-off that defines the end of observed follow-up. Censoring that is related to the outcome (informative censoring) is a particular concern with retrospective data, because the reasons for losing records may be linked to prognosis, and it has to be assessed rather than assumed away.

3

The Kaplan-Meier estimator computes the survival function S(t) as the product of conditional survival probabilities at each ordered event time up to t: S(t) = product over all event times t_i ≤ t of (1 - d_i / n_i), where d_i is the number of events at time t_i and n_i is the number at risk just before t_i. Tied event times are handled by treating all d_i events at t_i as a single factor, with n_i counting every subject still under observation immediately before t_i; censorings at the same time are conventionally treated as occurring after the events. The result is a non-parametric step function with pointwise confidence intervals. Median survival and survival probabilities at clinically meaningful time points, such as 1-year and 5-year, are read directly from the curve.

Formula
S(t) = \prod_{t_i \le t} \left(1 - \frac{d_i}{n_i}\right)
4

When two or more groups are compared (for example, treatment A versus B, or low-risk versus high-risk strata defined from the historical records), the log-rank test is the standard non-parametric test of equality between curves. Stratified log-rank tests allow the comparison to be split by a categorical variable so that its effect on the groups is not mixed into the overall comparison. If covariate-adjusted comparison is needed, Cox proportional hazards regression is the usual companion analysis. In retrospective studies, propensity score methods are often considered before the comparison, because treatment in historical records is rarely randomly assigned.

5

The STROBE guideline for observational studies is the appropriate reporting checklist. It supports reporting the number of subjects, events, and censored observations per group; the KM survival curve with confidence bands and a number-at-risk table beneath the x-axis; median survival with its 95% confidence interval for each group; the log-rank p-value; and, for multivariable analyses, hazard ratios from Cox regression. Limitations specific to the retrospective design, including potential selection bias, unmeasured confounding, and reliance on record completeness, should be stated explicitly.

Common pitfalls

  • Informative censoring: if the probability of being censored depends on prognosis (for example, when sicker patients are more likely to be lost), the Kaplan-Meier estimate is biased and the curve overstates true survival.
  • Immortal-time bias: defining cohort entry at a time after which some patients have already survived, such as requiring a second treatment visit to enter the cohort, inflates survival estimates for the exposed group.
  • Omitting the number-at-risk table: as follow-up lengthens, the curve rests on fewer subjects and becomes less reliable at the right-hand end; a curve without the at-risk table hides this loss of precision.
  • Ignoring competing risks: in elderly or comorbid populations, deaths from other causes compete with the primary endpoint. Standard KM treats these as censored and overestimates the cumulative incidence of the primary endpoint in this setting, so a competing-risks analysis such as the Fine-Gray model should be considered.
  • Comparing groups without adjustment: in retrospective data, unadjusted KM curves mix the exposure effect with baseline differences between groups, so group comparisons should be accompanied by a multivariable Cox model or propensity-score adjustment.
  • Ignoring delayed entry: if subjects enter the observed sample after their time origin, the risk set for each subject must begin at its entry time. Treating the time origin as the start of observation for everyone biases the estimated survival curve toward longer survival; the entry-time structure of the records should be checked before analysis.

Frequently asked questions

How is retrospective KM analysis different from prospective KM analysis?

The mathematical method is identical, since both use the Kaplan-Meier product-limit estimator. The difference lies in data collection: in prospective studies, patients are enrolled and followed forward under a defined protocol, whereas in retrospective studies, event and follow-up times are reconstructed from records that already exist. Retrospective designs are faster and usually cheaper, but they carry higher risks of selection bias, confounding, and data-quality problems that a prospective protocol and randomisation can control.

Can I use KM analysis when patients have competing events, such as death from other causes?

Standard KM treats competing events as censored observations, which overestimates the cumulative incidence of the primary endpoint when competing risks are substantial. For outcomes such as cancer-specific mortality in elderly cohorts, a competing-risks analysis using the cumulative incidence function and the Fine-Gray subdistribution hazard model is more appropriate. Standard KM is adequate when competing events are rare or when the research question concerns overall rather than cause-specific survival.

How should I handle immortal-time bias in a retrospective study?

Immortal-time bias arises when the time between a patient's cohort entry and the defining event (for example, starting a treatment) is counted in the exposed group's risk time, even though no event can occur during that window. The remedy is to define cohort entry at the same point for all subjects, or to use a time-varying covariate Cox model that assigns exposure status dynamically rather than at baseline.

What sample size do I need?

Power in survival studies depends mainly on the number of observed events rather than on the number of enrolled subjects. A reliable KM curve needs enough events in each group. For a log-rank comparison, the number of events required depends on the hazard ratio to be detected, the allocation ratio between groups, the significance level, and the desired power; Schoenfeld's approximation is a standard formula that links these inputs to the number of events. The number of subjects then depends on the expected proportion who will have the event within follow-up, which the censoring rate reduces. The calculation is best done with a power formula or software that takes these inputs, rather than from a fixed rule of thumb.

Do I need to report this according to a specific guideline?

Yes. Retrospective observational survival studies should follow the STROBE (Strengthening the Reporting of Observational Studies in Epidemiology) checklist, which covers cohort definition, follow-up description, handling of missing data, and statistical methods. When survival is linked to a tumour biomarker, journals may also ask for the REMARK (Reporting Recommendations for Tumor Marker Prognostic Studies) checklist.

Related methods

Sources

  1. Kaplan, E. L., & Meier, P. (1958). Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282), 457–481.

    Open DOI reference
  2. Clark, T. G., Bradburn, M. J., Love, S. B., & Altman, D. G. (2003). Survival analysis part I: Basic concepts and first analyses. British Journal of Cancer, 89(2), 232–238.

    Open DOI reference