- Kaplan-Meier estimator
The Kaplan-Meier estimator (also known as the product limit estimator) estimates the
survival function from life-time data. In medical research, it might be used to measure the fraction of patients living for a certain amount of time after treatment. An economist might measure the length of time people remain unemployed after a job loss. An engineer might measure the time until failure of machine parts.A plot of the Kaplan-Meier estimate of the survival function is a series of horizontal steps of declining magnitude which, when a large enough sample is taken, approaches the true survival function for that population. The value of the survival function between successive distinct sampled observations ("clicks") is assumed to be constant.
An important advantage of the Kaplan-Meier curve is that the method can take into account "censored" data — losses from the sample before the final outcome is observed (for instance, if a patient withdraws from a study). On the plot, small vertical tick-marks indicate losses, where patient data has been censored. When no truncation or censoring occurs, the Kaplan-Meier curve is equivalent to the empirical distribution.
In medical statistics, a typical application might involve grouping patients into categories, for instance, those with Gene A profile and those with Gene B profile. In the graph, patients with Gene B die much more quickly than those with gene A. After two years about 80% of the Gene A patients still survive, but less than half of patients with Gene B.
Formulation
Let S(t) be the probability that an item from a given population will have a lifetime exceeding t. For a sample from this population of size N let the observed times until death of N sample members be
:t_1 le t_2 le t_3 le cdots le t_N.
Corresponding to each t_i is n_i, the number "at risk" just prior to time t_i, and d_i, the number of deaths at time t_i.
Note that the intervals between each time typically will not be uniform. For example, a small data set might begin with 10 cases, have a death at Day 3, a loss (censored case) at Day 9, and another death at Day 11. Then we have t_1=3, t_2=11), n_1=10, n_2=8), and d_1=1,d_2=1).
The Kaplan-Meier estimator is the
nonparametric maximum likelihood estimate of S(t). It is a product of the form:hat S(t) = prodlimits_{t_i
n_i-d_i n_i}.When there is no censoring, n_i is just the number of survivors just prior to time t_i. With censoring, n_i is the number of survivors less the number of losses (censored cases). It is only those surviving cases that are still being observed (have not yet been censored) that are "at risk" of an (observed) death.
There is an alternate definition that is sometimes used, namely
:hat S(t) = prodlimits_{t_i le t} {fracn_i-d_in_i}.
The two definitions differ only at the observed event times. The latter definition is right-continuous whereas the former definition is left-continuous.
Let T be the random variable that measures the time of failure and let F(t) be its
cumulative distribution function . Note that :S(t) = P [T>t] = 1-P [T le t] = 1-F(t). Consequently, the right-continuous definition of hat S(t) may be preferred in order to make the estimate compatible with a right-continuous estimate of F(t).tatistical considerations
The Kaplan-Meier estimator is a
statistic , and several estimators are used to approximate itsvariance . One of the most common such estimators is Greenwood's formula::widehatoperatorname{Var}( widehat S(t) ) = widehat S(t)^2 sumlimits_{t_i
d_i n_i}({n_i-d_i}).In some cases, one may wish to compare different Kaplan-Meier curves. This may be done by several methods including:
* Thelog rank test
* The Cox proportional hazards testReferences
* Kaplan, E.L.; Meier, Paul. " [http://links.jstor.org/sici?sici=0162-1459%28195806%2953%3A282%3C457%3ANEFIO%3E2.0.CO%3B2-Z Nonparametric estimation from incomplete observations] ." J. Am. Stat. Assoc. 53, 457-481 (1958)
* Kaplan, E.L in a retrospective on the seminal paper in "This week's citation classic". Current Contents 24, 14 (1983). [http://www.garfield.library.upenn.edu/classics1983/A1983QS51100001.pdf Available from UPenn as PDF.]
* Greenwood M. The natural duration of cancer. Reports on Public Health and Medical Subjects. London: Her Majesty's Stationery Office 1926;33:1-26.Tools, examples, and tutorials
* [http://www.ms.uky.edu/~mai/java/stat/KapMei.html Real-time example of the Kaplan-Meier estimator in Java]
* [http://www.cancerguide.org/scurve_km.html Calculating Kaplan-Meier curves by Steve Dunn]
* [http://mtbf.polimore.com/index.php MTBF Calculator]
Wikimedia Foundation. 2010.