Ask Mallard
Analysis method

Kaplan-Meier estimator

4 min read

The Kaplan-Meier estimator describes the chance of staying free of a defined event over time, while using incomplete follow-up.

Fit

When to use it, and when not to

Use it when

  • You know when follow-up starts and when each event or loss to follow-up occurs.
  • You want an unadjusted survival curve or survival at a stated time.

Not when

Before you start

What you need

Decide these first
  1. A common startDefine eligibility and the start of follow-up before looking at outcomes.
  2. One event and its timeoutcomeTypeSay whether the event is death, relapse or a defined first composite event.
  3. Event or censoringCensoring means observation stopped before the event was seen. Keep its date and reason.
It rests on these
  1. Within each reported group, loss to follow-up is unrelated to future event times.How to check: Record why follow-up ended. Assess how results change if those lost have a worse outlook.
  2. Different people supply independent observations.How to check: For patients grouped within clinics or families, use inference that accounts for those groups.
  3. Event times are known with enough precision.How to check: If events are known only between visits, use an interval-censoring method.

Plain language

How it works

At each event time, count who is still at risk just before the event. Multiply the previous survival estimate by the share who survive that time. The curve steps down at events and stays flat between them. Censoring removes someone from later risk sets without making the curve drop. This product-limit construction is the estimator discussed by Satten and Datta.

The method in steps
Event times and censoring. Then multiply survival shares at events. Then survival at a stated time.Kaplan-Meier estimatorEvent times and censoringMultiply survival sharesat eventsSurvival at a stated timeCensoring must be uninformative within each group. A Kaplan-Meier curve that censors a competing eventoverstates cumulative incidence when read as one minus survival.
Conceptual diagram. It shows the structure of the idea, not data from any study.
Reading and reporting the result

Report survival at stated times, confidence intervals and numbers at risk. Use a survival-specific interval, with a stated variance method such as Greenwood and a suitable transformation. Borkowf studies variance estimation; sparse late follow-up needs care. A flat tail with few people is weak evidence. The separate log-rank test article explains a group comparison.

Worked example

A worked example

Invented for illustration
Setting
Ten patients are followed for death through month 6.
Question
What is estimated survival at month 6?
Approach
At month 2, two die among ten at risk. At month 4, three die among eight. Two survivors leave at month 5.
Result
Survival at month 6 is (8/10) × (5/8) = 0.50, or 50 in 100 (50%).
What it means
Censoring at month 5 does not lower the curve. It reduces the number still observed, so later estimates have less support.

In practice

Recent studies PubMed search · not vetted

Searching PubMed…

Watch out

Common mistakes

The one to remember

Censoring must be uninformative within each group. A Kaplan-Meier curve that censors a competing death or another event overstates cumulative incidence when read as one minus survival.

  • Counting a censored person as known to survive to the end.Instead: Use their follow-up only until censoring.
  • Calling the last observed event time the median.Instead: The median is the first time estimated survival is 0.50 or less. It may never be reached.

Inside Mallard

How Mallard uses this

Learn search lists Kaplan-Meier estimator. The method registry links this method to its published analysis article and code.

Code example in Mallard: Kaplan-Meier estimation and the log-rank test (kaplan-meier-logrank).
Calculators: Kaplan–Meier & log-rank (§5.1).
Atlas node analysis.kaplan_meier_estimator, the id a plan cue records.
Code for this method
Loading…

Work it out

Related Learn pages

Related designs and methods

Evidence

Sources & further reading

  1. The Kaplan-Meier Estimator as an Inverse-Probability-of-Censoring Weighted Average. (opens in a new tab) · Am Stat · doi 10.1198/000313001317098185
  2. A simple hybrid variance estimator for the Kaplan-Meier survival function. (opens in a new tab) · Stat Med · doi 10.1002/sim.1960
Source records, titles, authors, years and available DOIs checked against PubMed on 2026-11-06. Prepared with AI assistance; no independent professional approval is claimed. Satten and Datta establish the product-limit representation. Borkowf develops and evaluates variance estimation for this survival estimator; it is not a binomial proportion interval.
Last source review: 2026-11-06
AI-generated educational content
Mallard uses reputable methodological and reporting sources, but this material may contain errors or omit important context. Verify important methodological decisions with the cited sources and, when appropriate, a qualified research methodologist or statistician.