All labs

Censoring and the Kaplan–Meier Estimator

Follow-up ends before everyone has the event. See why the product-limit estimator is the honest answer and what counting censored subjects as events does to it.

Ch 12 12.8
Explorer
Temporal & Longitudinal
22 mindifficulty 3/5

Controls

18 mo
0.600

Below 1 means arm B has the lower hazard; 1 means the arms are identical.

30 mo

Administrative censoring: the study simply ends.

0.030

Loss to follow-up, independent of the event.

160
Show naive curve (arm A)

Counts every censored subject as an event.

Show censoring marks
Random seed

Every result on this page is a deterministic function of the seed and the controls.

Kaplan–Meier survival curves

Steps fall only at event times. Ticks mark censored subjects, who leave the risk set without an event.

00.200.400.600.801051015202530medianmonths since entryS(t) — probability still event-free
arm A (control)arm B (treatment)arm A, censoring = event
Median, arm A
14.2 mo
true 18 mo
Median, arm B
not reached
true 30 mo
Censored
104 / 160
65.0% never had the event observed
Log-rank p
<0.001
χ² = 12.85 on 1 df

Risk table

How many subjects remain under observation.

timeA / B at risk
0 mo80 / 80
6 mo48 / 58
12 mo38 / 42
18 mo18 / 35
24 mo2 / 11
30 mo0 / 0

Late steps rest on very few subjects — that is why the tail of a KM curve is so unstable and why a risk table must accompany every published curve.

Naive analysis versus Kaplan–Meier

KM S(18), arm A45.2%
censoring-as-event S(18)22.5%
naive median, arm A10.9 mo
observed events, arm A38 / 80
observed events, arm B18 / 80

Treating censored subjects as events is not conservative — it is simply wrong, and it biases survival downward by exactly the amount of follow-up you threw away.

Censored is not the same as event-free forever

A censored subject contributes everything known about them — they were event-free up to their last visit — and then leaves the risk set. Dropping them discards information; counting them as events invents information. The product-limit estimator does neither: at each event time it multiplies in the conditional survival among those still under observation.