- Introduced by
- Kaplan & Meier (estimator, 1958); Schwartz & Lellouch (pragmatic trial framework, 1967)
- Year
- 1958 (estimator); pragmatic application formalized 1967 onward
- Type
- Non-parametric survival estimator within pragmatic study design
- Family
- Clinical / epidemiology
What does it do?
Pragmatic Kaplan-Meier analysis applies the non-parametric Kaplan-Meier product-limit estimator to time-to-event data collected under real-world or pragmatic conditions — diverse populations, routine clinical care, minimal exclusions, and standard-of-care comparators.
Unlike explanatory trials designed to isolate a treatment effect under ideal conditions, pragmatic designs accept real-world heterogeneity, and the resulting survival curves reflect the effectiveness of an intervention as it actually performs in clinical practice.
The intuition behind the method
Imagine comparing two cancer treatments not in a tightly controlled setting but across many ordinary hospitals, with mixed patient populations, different co-medications and real adherence. The Kaplan-Meier curve plots how long patients survive and handles patients lost to follow-up (censored) without discarding their data. In a pragmatic context the curves describe what happens in routine practice, not only in the best-case scenario. The cost is that real-world variation can obscure the signal that an explanatory trial would isolate.
History
Kaplan and Meier's 1958 paper in the Journal of the American Statistical Association defined the product-limit estimate of survival from incomplete (censored) observations, and its abstract also discusses actuarial and reduced-sample alternatives. Schwartz and Lellouch's 1967 paper on explanatory and pragmatic attitudes in therapeutic trials is the source for the distinction that frames pragmatic designs.
When to use it
Use pragmatic Kaplan-Meier analysis when the research question is about real-world effectiveness — how an intervention performs across the heterogeneous patients, providers, and settings found in routine care — and time-to-event is the primary outcome. It is the appropriate choice when data come from electronic health records, administrative claims, disease registries, or large pragmatic trials with broad eligibility. Do not use it when the goal is to establish biological or mechanistic efficacy under tightly controlled conditions (use an explanatory RCT instead), when proportional-hazard modeling of covariates is needed (use Cox regression), or when the event data are insufficient to produce stable step-function estimates (very small samples with few events yield wide confidence intervals and unreliable curves).
Limitations and considerations
- The estimator does not adjust for baseline covariates. Differences in case mix between pragmatic treatment groups must be handled outside it, by weighting, matching or stratification, before the curves are compared.
- Assumes that lifetime is independent of the potential loss (censoring) time. The 1958 paper itself notes that this assumption deserves careful scrutiny; if patients leave follow-up because they are deteriorating, the estimate is biased upward.
- Pragmatic settings bring protocol deviations, co-interventions and dose changes, so each arm's curve mixes the intended intervention with what patients actually received. Protocol deviations and co-interventions may dilute the contrast between arms, depending on how they are distributed across arms.
- Median survival cannot be estimated if fewer than 50% of participants experience the event during follow-up, a common problem in long-horizon pragmatic studies.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Makes no assumption about the form of the survival distribution, the property the 1958 paper sets out to preserve, so skewed follow-up times from routine-care populations do not require a parametric model.
- Uses the observed time of censored patients: those lost to follow-up or still event-free at data cut-off remain in the risk set until they leave it, which keeps the usable sample intact when dropout is common in pragmatic data.
- The step-function curve shows the event experience of the whole mixed population as it is actually treated, so it describes effectiveness in that population rather than in a selected trial sample.
- Curves for each arm or site can be drawn on one plot, which makes between-site variation visible in multi-site pragmatic data; because site case mix differs, such differences should not be read as site effects without checking.
Applications
- Comparing time-to-hospital-readmission between two heart-failure management pathways using national claims databases.
- Estimating overall survival in cancer patients treated with a novel immunotherapy across heterogeneous oncology centers in a pragmatic registry trial.
- Evaluating time-to-treatment-failure for competing antibiotic regimens in a pragmatic infectious-disease trial with broad eligibility criteria.
- Assessing progression-free survival in a real-world cohort of patients with multiple sclerosis receiving different disease-modifying therapies identified from electronic health records.
- Reporting time-to-major-adverse-cardiovascular-event in a large pragmatic cardiovascular outcomes trial comparing two antihypertensive drug classes.
How it works
How it works
The primary event (death, relapse, hospitalization, or another clinically meaningful outcome) and the follow-up window are defined in advance. In a pragmatic design, event definitions mirror routine clinical documentation rather than protocol-specific assessments, ensuring that the data source — electronic health records, registries, or administrative claims — can reliably capture the event.
Participants are followed from a defined start point (treatment initiation, diagnosis, enrollment) until the event occurs or follow-up ends. Pragmatic settings accept real-world dropout and competing treatments; observations where the event has not occurred by the end of follow-up are censored rather than excluded, preserving sample size and representativeness.
The Kaplan-Meier product-limit estimator computes the survival function as S(t) = product over all event times t_i <= t of (1 - d_i/n_i), where d_i is the number of events and n_i the number at risk at time t_i. Each observed event causes a step down in the survival curve; censored observations reduce the risk set without causing a step.
Formula
S(t) = \prod_{t_i \leq t} \left(1 - \frac{d_i}{n_i}\right)When two or more treatment groups are compared, log-rank or Wilcoxon tests assess whether the survival curves differ significantly. In pragmatic analyses, confounding by indication is common; propensity-score weighting or inverse probability of treatment weighting (IPTW) is often applied before or alongside the Kaplan-Meier step to balance groups on observed covariates.
Median survival, survival rates at key time points (e.g., 1-year, 5-year), and confidence intervals are reported alongside the curves. Pragmatic interpretation explicitly addresses external validity: results describe real-world effectiveness rather than explanatory efficacy, and heterogeneity of treatment effect across subgroups or clinical sites is examined and disclosed.
Common pitfalls
- Ignoring informative censoring: in routine-care data, patients who switch treatment or withdraw may be sicker than those who stay. Treating their time as non-informative censoring overestimates survival in the group they leave.
- Comparing raw (unadjusted) curves when treatment groups differ on baseline characteristics. Without propensity weighting or stratification, the comparison conflates treatment effect with selection bias.
- Crossing survival curves: when curves cross, the proportional-hazards pattern on which the log-rank test's power depends no longer holds, so a single test result can mislead. Report restricted mean survival time (RMST) up to a stated time horizon, as the FAQ notes.
- Treating deaths from other causes as censored: in older or multimorbid pragmatic populations these deaths are common. Censoring them leaves the at-risk set as if those patients could still have the event, which overstates the cumulative probability of the event of interest (the complement of the Kaplan-Meier estimate). For that question, use a competing-risks analysis.
Frequently asked questions
What makes a Kaplan-Meier analysis 'pragmatic' rather than standard?
The distinction lies in the study design context, not the estimator itself. A pragmatic KM analysis uses data from broadly eligible, diverse real-world populations under routine care conditions — often from registries, EHR data, or pragmatic trials with minimal exclusions. A standard explanatory KM analysis comes from tightly controlled trials designed to isolate biological efficacy. The pragmatic version prioritizes external validity and real-world generalizability; the explanatory version prioritizes internal validity and causal certainty.
Should I adjust for confounders before plotting KM curves in a pragmatic analysis?
Yes, when comparing non-randomized groups. Raw KM curves in observational or pragmatic registry data typically reflect both the treatment effect and baseline differences between groups. Propensity-score matching, IPTW, or stratification by key covariates should be applied before plotting the comparison curves so that the visual comparison is not confounded by selection bias.
My KM curves cross — what should I do?
Crossing curves violate the proportional-hazards assumption and make the log-rank test misleading as a summary statistic. Report restricted mean survival time (RMST) up to a clinically meaningful time horizon instead, as RMST remains interpretable and valid when curves cross. Also examine whether a competing-risks framework is more appropriate.
How is this different from a Cox model in a pragmatic study?
Kaplan-Meier is non-parametric and produces a visual survival curve without modeling covariates. Cox proportional hazards regression estimates hazard ratios while adjusting for multiple covariates simultaneously. In a pragmatic analysis the two are complementary: KM curves provide the unadjusted (or post-weighting) visual summary; Cox regression provides confounder-adjusted hazard ratio estimates. Use both when reporting.
Can Kaplan-Meier be used with electronic health record data?
Yes, and this is one of the most common pragmatic applications. EHR-linked data provide large samples and long follow-up. Key requirements are reliable event capture (ICD codes, mortality linkage), a clear index date, and careful handling of informative censoring — patients who switch provider or disenroll may not be missing at random, which can bias the survival estimate.
Related methods
Sources
Kaplan, E. L., & Meier, P. (1958). Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282), 457–481.
Open DOI referenceSchwartz, D., & Lellouch, J. (1967). Explanatory and pragmatic attitudes in therapeutical trials. Journal of Chronic Diseases, 20(8), 637–648.
Open DOI reference