- Introduced by
- Kaplan & Meier (KM method, 1958); matching extensions developed through propensity score methods (Rosenbaum & Rubin, 1983)
- Year
- 1958 (KM); matched application formalized 1980s–2000s
- Type
- Nonparametric survival analysis with observational confounder control
- Family
- Clinical / epidemiology
What does it do?
Matched Kaplan-Meier analysis estimates and compares survival curves in groups that have first been balanced on measured confounders through individual or propensity-score matching.
The Kaplan-Meier product-limit estimator is then applied within each matched group to describe time-to-event outcomes. The estimator itself does not adjust for confounding; that work is done by the matching step, so the approach is suited to observational data in which treatment or exposure groups differ systematically.
The intuition behind the method
In randomized trials, groups are balanced by design, so simple Kaplan-Meier curves can be read at face value. In observational studies, patients who receive one treatment may differ systematically from those who receive another, for example in age, severity of illness, or clinical setting. Matching addresses this by pairing each treated individual with one or more controls who are similar on key confounders, producing cohorts that approximate a quasi-experimental balance. The standard Kaplan-Meier estimator is then applied within each group and the resulting survival curves are compared. The logic is to make the groups comparable first and then examine their survival curves.
History
The Kaplan-Meier product-limit estimator was introduced by Edward L. Kaplan and Paul Meier in their 1958 paper on nonparametric estimation from incomplete observations, which provides the foundational formula for survival estimation with censored data. The matched analysis is not a separate estimator: it applies the same product-limit calculation to cohorts assembled by matching, and the methods for matching and for valid inference in matched data were developed later.
When to use it
Use matched Kaplan-Meier analysis when you have an observational time-to-event dataset, a clear exposed/unexposed or treated/untreated contrast, and a set of measured confounders that can be balanced through matching. It is especially appropriate when sample sizes are sufficient to achieve balance after matching (losing unmatched units) and when the clinical question concerns absolute survival differences rather than hazard ratios. Do not use it when matching discards so many subjects that the resulting sample is too small for stable estimates, when important confounders are unmeasured (unmeasured confounding cannot be addressed by matching), when the proportional hazards assumption is of primary interest and a Cox model would be more efficient, or when the data arise from a randomized trial where simple Kaplan-Meier curves without matching are already unbiased.
Limitations and considerations
- Only measured confounders can be balanced; unmeasured confounders remain a threat to causal inference.
- Matching discards unmatched controls, reducing effective sample size and statistical power.
- Standard Greenwood confidence intervals and the unpaired log-rank test assume independent observations and do not reflect the pairing of matched subjects; ignoring the matched structure can distort Type I error in either direction.
- Informative censoring, where censoring is related to survival time within a group, biases the Kaplan-Meier curves, and matching does not correct it.
- When many subjects are unmatched, the matched sample may not represent the original population, limiting generalizability.
- Propensity-score models must be correctly specified; misspecification leads to residual imbalance that the KM curves cannot reveal.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Matching, rather than the Kaplan-Meier estimator, reduces imbalance on measured confounders, and the survival distribution itself is estimated without a parametric model.
- Produces intuitive survival curves that are easy to communicate to clinical audiences.
- The matching step makes the comparison groups transparent and the balance verifiable before analysis.
- Exact, caliper, and propensity-score matching can each be chosen to suit the confounders at hand.
- Restricted mean survival time (RMST) summaries computed from the KM curves do not require the proportional hazards assumption.
Applications
- Comparing long-term survival between surgical and medical management of a disease using hospital registry data after propensity-score matching.
- Evaluating time to readmission or mortality between patients receiving different drug regimens in pharmacoepidemiological cohorts.
- Assessing cancer-specific and overall survival in matched cohorts from national cancer registries.
- Estimating cardiovascular event-free survival in matched groups of patients with and without a metabolic risk factor.
- Comparing device or implant survival in orthopedic or cardiology registries where patient selection bias is present.
- Reporting disease-free survival after matched analysis of retrospective surgical outcome data.
How it works
How it works
Individuals in the exposed or treated group are matched one-to-one (or one-to-many) to controls on observed confounders. Matching may be exact (on specific variables), caliper-based (within a defined distance on a continuous variable), or propensity-score based (matching on the estimated probability of treatment given covariates). The matching ratio, caliper width, and replacement policy must be specified a priori.
After matching, covariate balance between the matched groups is assessed using standardized mean differences (SMDs). An SMD below 0.10 is the widely accepted threshold for adequate balance on each covariate. Residual imbalance on important confounders indicates the matching was insufficient and results may still be biased.
Within each matched group, the Kaplan-Meier product-limit estimator computes the survival probability at each event time: S-hat(t) = product over all event times up to t of (1 minus d_i / n_i), where d_i is the number of events and n_i the number at risk at time t_i. Censored observations are handled by reducing the risk set without counting as events. The estimator assumes that censoring is non-informative, that is, independent of survival time within each group. Kaplan and Meier (1958) note that this independence is commonly assumed but in practice 'deserves careful scrutiny', and they distinguish accidental losses from controlled losses, where observation is ended by a decision. Matching does not correct for informative censoring, so the reasons for censoring should be reported and examined.
Formula
\hat{S}(t) = \prod_{t_i \le t} \left(1 - \frac{d_i}{n_i}\right)The two (or more) matched survival curves are compared. Because matched subjects may have correlated outcomes, the standard unpaired log-rank test, which treats all subjects as independent, can give p-values that are too small or too large, depending on the direction of the within-pair correlation. Approaches that respect the matched structure, such as the stratified log-rank test with each pair or matched set treated as a stratum, are preferred. Stratified tests can lose power when each matched set contains few events, since sets without events add no information, so the choice of test and its rationale should be reported. Restricted mean survival time (RMST) differences offer an alternative summary that does not require the proportional hazards assumption; their variance should be estimated in a way that accounts for the matched structure, and pointwise confidence intervals for RMST in propensity-matched analyses are addressed by Austin (2014).
Results are reported as Kaplan-Meier curves with pointwise confidence intervals, median survival times, and survival probabilities at clinically meaningful time points. The number of events and the number at risk in each group should be given at each time point. The method of variance estimation (standard Greenwood or a robust sandwich estimator for matched data) should be stated. Number-at-risk tables below the curves and a flow diagram of the matching process aid transparency.
Common pitfalls
- Applying the standard (unpaired) log-rank test to matched pairs ignores within-pair correlation, so its p-values can be too small or too large depending on the direction of that correlation; use the stratified log-rank test or an RMST comparison instead.
- Skipping balance checking: reporting matched KM curves without verifying SMDs below 0.10 leaves readers unable to judge whether the comparison is valid.
- Overextending causal language: even well-matched observational KM curves estimate association in the matched sample, not a population-level causal effect; unmeasured confounding is always a caveat.
- Ignoring the loss of subjects from matching: if matching discards a large share of the treated group, the matched sample may be highly selected and survival estimates may not generalize. The loss should be reported and its selectivity examined.
- Truncating follow-up without justification: using RMST requires specifying a time horizon; the horizon should be clinically motivated and pre-specified, not chosen to favor a result.
- Reading the tails of the curves without checking the number at risk: late time points often rest on few subjects and few events, so those estimates are unstable and their confidence intervals wide.
Frequently asked questions
Can I use the standard log-rank test after matching?
No, or at least not without caution. Matched pairs are correlated, which violates the independence assumption of the standard log-rank test. The stratified log-rank test (each pair is a stratum) or inference based on restricted mean survival time differences with robust variance are the appropriate alternatives. Using the standard log-rank test on matched data can produce p-values that are either too small or too large, depending on the direction of the within-pair correlation. Stratified tests may also lose power when each matched set contains few events, because sets without events contribute little information, so the choice of test and its rationale should be reported.
How do I choose between matched KM analysis and a matched Cox model?
Matched KM analysis is preferred when you want to visualize absolute survival probabilities or compute RMST differences without imposing the proportional hazards assumption. A matched Cox model (with a robust sandwich variance or stratified by matched set) is preferred when you want a hazard ratio, need to adjust for residual confounders after matching, or when the proportional hazards assumption holds. Both approaches can be complementary in the same paper.
How many controls per case should I match?
One-to-one matching is simplest and avoids heterogeneity within matched sets. Matching several controls per case can improve power when controls are plentiful and cases are scarce, but the gain in efficiency diminishes as the ratio grows. The matching ratio should be specified before data analysis.
What if my matched groups still show imbalance after matching?
If SMDs remain above 0.10 for important covariates, additional adjustment is needed. Options include re-specifying the propensity model, tightening the caliper, or complementing the matched KM analysis with a covariate-adjusted Cox model. Reporting residual imbalance honestly and discussing its potential impact is essential.
Is matched KM analysis the same as propensity-score matched survival analysis?
Propensity-score matching is the most common method used to create the matched cohort, but matched KM analysis is also compatible with exact matching, Mahalanobis distance matching, or fine stratification. The KM estimation step is the same regardless of how the matched cohort was constructed.
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 referenceAustin, P. C. (2014). Pointwise confidence intervals for restricted mean survival time in a propensity-matched analysis. Statistics in Medicine, 33(14), 2659-2671.
Open publication reference