Kaplan-Meier Estimation: Events, Censoring and Risk Sets
2026-11-06

Kaplan-Meier Estimation: Events, Censoring and Risk Sets

Kaplan-Meier Estimation uses the distinction between an observed event and the end of an observation. In equipment records, a component may remain functional when its observation stops. Its recorded duration then supplies a lower bound on the unknown event time, rather than an exact failure time. The estimator preserves that difference through a sequence of conditional survival fractions.

A right-censored duration is not an observed failure

The official SciPy 1.16.0 ecdf documentation explains right censoring with fanbelts that were still functional when their tests concluded. Their precise survival times were unknown, but exceeded the recorded durations. Other belts broke, providing observed event times.

This is a distinction about information. If observation ends at time three, the record does not say the event occurred at three. It also does not give the final lifetime. Treating every observation end as a failure would replace incomplete knowledge with an event that was never recorded. Discarding the record entirely would lose the period during which that unit was observed without the event.

Original hypothetical six-unit observation timelines: events at times two, five and eight; right-censoring at three, six and nine, with different end symbols and no real equipment data.
Original AI-assisted hypothetical timeline. A censoring mark ends observation without recording the event. Source: Zhilianhai editorial desk, original AI-assisted conceptual illustration; no real product or measured data.

The risk set follows which units are still being observed

Consider six invented units, all observed from time zero. Events occur at times two, five and eight. Observation ends without an event for the other units at times three, six and nine. These arbitrary times illustrate the calculation; they are not a test dataset or a proposed equipment life.

Immediately before the first event, six units are available in the risk set. One experiences the event, leaving five event-free among those six. After the censoring time at three, that censored unit no longer contributes to later observed risk sets. Thus four units remain available immediately before the event at five.

Conditional fractions accumulate as a product

The NIST Dataplot Kaplan-Meier explanation orders both failure and censoring times, while including only failure entries in the product that forms its ordinary estimate. Its factors express the remaining fraction at each observed failure.

For the invented sequence, the first factor is five-sixths. At time five, one event among four still-observed units gives a factor of three-fourths. Multiplying five-sixths by three-fourths gives five-eighths. Censoring at six leaves two observed units before time eight; the event there adds a factor of one-half, giving five-sixteenths.

For example, dividing all three events by six would count the events against one fixed denominator. It would leave out the changing observation history that supplies the conditional fractions. The denominator consequently belongs to the risk set at that event time. It is not always the initial six. The product links those successive conditional fractions, explaining why an observed failure later in the sequence need not produce the same vertical change as the first failure.

Original survival step example for six invented units: estimates five-sixths after time two, five-eighths after time five, and five-sixteenths after time eight; censoring marks at three, six and nine do not lower the line.
Original AI-assisted arithmetic illustration, not measured reliability or a prediction for equipment. Source: Zhilianhai editorial desk, original AI-assisted conceptual illustration; no real product or measured data.

Censoring changes later arithmetic without making a downward step

At times three and six, the example's estimate remains at its previous level. Those entries record the end of observation without an event. They matter because the next event is evaluated against a smaller observed risk set, but they do not supply their own event factor.

This creates two distinct jobs for the timeline. Event marks identify where the survival curve steps down. Censoring marks identify information that changes who remains observable later. A graph that uses the same symbol for both would conceal the reason that a horizontal portion can still contain meaningful observation changes.

The last observation does not force a final drop to zero

In this example, the final remaining unit is censored at nine. The plotted estimate stays at five-sixteenths through that last observation. There is no observed event at nine to supply another downward factor. This leaves the unit's later event time unknown rather than adding an invented terminal failure.

The SciPy example has a different sequence and reaches zero at its last observed event. Its numerical endpoint belongs to that example. Comparing the two sequences shows why the final record's type matters: the largest recorded time can represent either a known event or a lower bound, and those alternatives carry different information.

The documented data scope remains important

SciPy 1.16.0 documents support here for uncensored and right-censored observations supplied through its censored-data representation. It explicitly states that other forms of censoring are not supported by this function at that version. That implementation scope should stay attached to the named function rather than becoming a general statement about every survival-analysis method.

More statistical mechanisms appear in the industrial data section and technical article directory. Reading the original observation type, the changing risk set and each event factor together explains the step curve. It also preserves the difference between a worked estimate from available observations and knowledge of event times that have not been observed.

18028484626 CONTACT US

公司:智联海(惠州)科技有限公司

地址:惠州仲恺高新区陈江街道白云山工业大道 5 号六楼 601

Q Q:18028484626

Copyright © 2002-2026

粤xxx

咨询 在线留言 电话:18028484626
微信 微信扫码添加我