HOME

TheInfoList



OR:

The Kaplan–Meier estimator, also known as the product limit estimator, is a
non-parametric Nonparametric statistics is the branch of statistics that is not based solely on parametrized families of probability distributions (common examples of parameters are the mean and variance). Nonparametric statistics is based on either being distri ...
statistic A statistic (singular) or sample statistic is any quantity computed from values in a sample which is considered for a statistical purpose. Statistical purposes include estimating a population parameter, describing a sample, or evaluating a hypo ...
used to estimate the
survival function The survival function is a function that gives the probability that a patient, device, or other object of interest will survive past a certain time. The survival function is also known as the survivor function or reliability function. The term ...
from lifetime data. In medical research, it is often used to measure the fraction of patients living for a certain amount of time after treatment. In other fields, Kaplan–Meier estimators may be used to measure the length of time people remain unemployed after a job loss, the time-to-failure of machine parts, or how long fleshy fruits remain on plants before they are removed by
frugivore A frugivore is an animal that thrives mostly on raw fruits or succulent fruit-like produce of plants such as roots, shoots, nuts and seeds. Approximately 20% of mammalian herbivores eat fruit. Frugivores are highly dependent on the abundance an ...
s. The
estimator In statistics, an estimator is a rule for calculating an estimate of a given quantity based on observed data: thus the rule (the estimator), the quantity of interest (the estimand) and its result (the estimate) are distinguished. For example, the ...
is named after Edward L. Kaplan and Paul Meier, who each submitted similar manuscripts to the ''
Journal of the American Statistical Association The ''Journal of the American Statistical Association (JASA)'' is the primary journal published by the American Statistical Association, the main professional body for statisticians in the United States. It is published four times a year in March, ...
''. The journal editor,
John Tukey John Wilder Tukey (; June 16, 1915 – July 26, 2000) was an American mathematician and statistician, best known for the development of the fast Fourier Transform (FFT) algorithm and box plot. The Tukey range test, the Tukey lambda distributi ...
, convinced them to combine their work into one paper, which has been cited almost 61,000 times since its publication in 1958. The
estimator In statistics, an estimator is a rule for calculating an estimate of a given quantity based on observed data: thus the rule (the estimator), the quantity of interest (the estimand) and its result (the estimate) are distinguished. For example, the ...
of the
survival function The survival function is a function that gives the probability that a patient, device, or other object of interest will survive past a certain time. The survival function is also known as the survivor function or reliability function. The term ...
S(t) (the probability that life is longer than t) is given by: : \widehat S(t) = \prod\limits_ \left(1 - \frac\right), with t_i a time when at least one event happened, ''d''''i'' the ''number of events'' (e.g., deaths) that happened at time t_i, and n_i the ''individuals known to have survived'' (have not yet had an event or been censored) up to time t_i.


Basic concepts

A plot of the Kaplan–Meier estimator is a series of declining horizontal steps which, with a large enough sample size, 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 some types of censored data, particularly ''right-censoring'', which occurs if a patient withdraws from a study, is lost to follow-up, or is alive without event occurrence at last follow-up. On the plot, small vertical tick-marks state individual patients whose survival times have been right-censored. When no truncation or censoring occurs, the Kaplan–Meier curve is the
complement A complement is something that completes something else. Complement may refer specifically to: The arts * Complement (music), an interval that, when added to another, spans an octave ** Aggregate complementation, the separation of pitch-clas ...
of the
empirical distribution function In statistics, an empirical distribution function (commonly also called an empirical Cumulative Distribution Function, eCDF) is the distribution function associated with the empirical measure of a sample. This cumulative distribution function ...
. In
medical statistics Medical statistics deals with applications of statistics to medicine and the health sciences, including epidemiology, public health, forensic medicine, and clinical research. Medical statistics has been a recognized branch of statistics in the U ...
, 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 quicker than those with Gene A. After two years, about 80% of the Gene A patients survive, but less than half of patients with Gene B. To generate a Kaplan–Meier estimator, at least two pieces of data are required for each patient (or each subject): the status at last observation (event occurrence or right-censored), and the time to event (or time to censoring). If the survival functions between two or more groups are to be compared, then a third piece of data is required: the group assignment of each subject.


Problem definition

Let \tau\ge 0 be a random variable, which we think of as the time until an event of interest takes place. As indicated above, the goal is to estimate the
survival function The survival function is a function that gives the probability that a patient, device, or other object of interest will survive past a certain time. The survival function is also known as the survivor function or reliability function. The term ...
S underlying \tau. Recall that this function is defined as :S(t) = \operatorname(\tau > t ), where t=0,1,\dots is the time. Let \tau_1,\dots,\tau_n\ge 0 be independent, identically distributed random variables, whose common distribution is that of \tau: \tau_j is the random time when some event j happened. The data available for estimating S is not (\tau_j)_, but the list of pairs (\, ( \tilde \tau_j, c_j )\, )_ where for j\in := \, c_j\ge 0 is a fixed, deterministic integer, the censoring time of event j and \tilde \tau_j = \min(\tau_j,c_j). In particular, the information available about the timing of event j is whether the event happened before the fixed time c_j and if so, then the actual time of the event is also available. The challenge is to estimate S(t) given this data.


Derivation of the Kaplan–Meier estimator

Here, we show two derivations of the Kaplan–Meier estimator. Both are based on rewriting the survival function in terms of what is sometimes called hazard, or mortality rates. However, before doing this it is worthwhile to consider a naive estimator.


A naive estimator

To understand the power of the Kaplan–Meier estimator, it is worthwhile to first describe a naive estimator of the survival function. Fix k\in =\ and let t>0. A basic argument shows that the following proposition holds: :Proposition 1: If the censoring time c_k of event k exceeds t (c_k\ge t), then \tilde \tau_k\ge t if and only if \tau_k\ge t. Let k be such that c_k\ge t. It follows from the above proposition that : \operatorname(\tau_k\ge t) = \operatorname(\tilde \tau_k\ge t). Let X_k = \mathbb(\tilde \tau_k\ge t) and consider only those k\in C(t) := \ , i.e. the events for which the outcome was not censored before time t. Let m(t)=, C(t), be the number of elements in C(t) . Note that the set C(t) is not random and so neither is m(t) . Furthermore, (X_k)_ is a sequence of independent, identically distributed
Bernoulli random variable In probability theory and statistics, the Bernoulli distribution, named after Swiss mathematician Jacob Bernoulli,James Victor Uspensky: ''Introduction to Mathematical Probability'', McGraw-Hill, New York 1937, page 45 is the discrete probabili ...
s with common parameter S(t)=\operatorname(\tau\ge t) . Assuming that m(t)>0 , this suggests to estimate S(t) using : \hat S_\text(t) = \frac \sum_ X_k = \frac = \frac, where the second equality follows because \tilde \tau_k\ge t implies c_k\ge t , while the last equality is simply a change of notation. The quality of this estimate is governed by the size of m(t). This can be problematic when m(t) is small, which happens, by definition, when a lot of the events are censored. A particularly unpleasant property of this estimator, that suggests that perhaps it is not the "best" estimator, is that it ignores all the observations whose censoring time precedes t. Intuitively, these observations still contain information about S(t): For example, when for many events with c_k < t , \tilde \tau_k also holds, we can infer that events often happen early, which implies that \operatorname(\tau\le t) is large, which, through S(t) = 1-\operatorname(\tau\le t) means that S(t) must be small. However, this information is ignored by this naive estimator. The question is then whether there exists an estimator that makes a better use of all the data. This is what the Kaplan–Meier estimator accomplishes. Note that the naive estimator cannot be improved when censoring does not take place; so whether an improvement is possible critically hinges upon whether censoring is in place.


The plug-in approach

By elementary calculations, : \begin S(t) & = \operatorname(\tau > t\mid\tau > t-1)\operatorname(\tau > t-1) \\ pt & = (1-\operatorname(\tau\le t\mid\tau > t-1)) \operatorname(\tau > t-1)\\ pt & = (1-\operatorname(\tau=t\mid\tau \ge t)) \operatorname(\tau > t-1) \\ pt & = q(t) S(t-1)\,, \end where the one but last equality used that \tau is integer valued and for the last line we introduced : q(t) = 1-\operatorname(\tau=t\mid\tau\ge t). By a recursive expansion of the equality S(t) = q(t) S(t-1), we get : S(t) = q(t) q(t-1) \cdots q(0). Note that here q(0) = 1-\operatorname(\tau=0\mid\tau > -1) = 1-\operatorname(\tau=0). The Kaplan–Meier estimator can be seen as a "plug-in estimator" where each q(s) is estimated based on the data and the estimator of S(t) is obtained as a product of these estimates. It remains to specify how q(s)=1-\operatorname(\tau=s\mid\tau\ge s) is to be estimated. By Proposition 1, for any k\in /math> such that c_k\ge s, \operatorname(\tau=s) = \operatorname(\tilde \tau_k=s) and \operatorname(\tau\ge s) = \operatorname(\tilde \tau_k\ge s) both hold. Hence, for any k\in such that c_k\ge s , : \operatorname(\tau=s, \tau\ge s) = \operatorname(\tilde \tau_k=s)/\operatorname(\tilde \tau_k\ge s). By a similar reasoning that lead to the construction of the naive estimator above, we arrive at the estimator : \hat q(s) = 1 - \frac = 1 - \frac (think of estimating the numerator and denominator separately in the definition of the "hazard rate" \operatorname(\tau=s, \tau\ge s)). The Kaplan–Meier estimator is then given by : \hat S(t) = \prod_^t \hat q(s). The form of the estimator stated at the beginning of the article can be obtained by some further algebra. For this, write \hat q(s)=1-d(s)/n(s) where, using the actuarial science terminology, d(s)=, \, is the number of known deaths at time s, while n(s)=, \, is the number of those persons who are alive (and not being censored) at time s-1. Note that if d(s)=0, \hat q(s)=1. This implies that we can leave out from the product defining \hat S(t) all those terms where d(s)=0. Then, letting 0\le t_1 be the times s when d(s)>0, d_i = d(t_i) and n_i = n(t_i), we arrive at the form of the Kaplan–Meier estimator given at the beginning of the article: : \hat S(t) = \prod_ \left(1-\frac\right). As opposed to the naive estimator, this estimator can be seen to use the available information more effectively: In the special case mentioned beforehand, when there are many early events recorded, the estimator will multiply many terms with a value below one and will thus take into account that the survival probability cannot be large.


Derivation as a maximum likelihood estimator

Kaplan–Meier estimator can be derived from
maximum likelihood estimation In statistics, maximum likelihood estimation (MLE) is a method of estimating the parameters of an assumed probability distribution, given some observed data. This is achieved by maximizing a likelihood function so that, under the assumed statis ...
of
hazard function Failure rate is the frequency with which an engineered system or component fails, expressed in failures per unit of time. It is usually denoted by the Greek letter λ (lambda) and is often used in reliability engineering. The failure rate of a ...
. More specifically given d_i as the number of events and n_i the total individuals at risk at time  t_i, discrete hazard rate h_i can be defined as the probability of an individual with an event at time  t_i. Then survival rate can be defined as: : S(t) = \prod\limits_ (1-h_i) and the likelihood function for the hazard function up to time t_i is: : \mathcal(h_\mid d_,n_) = \prod_^i h_j^(1-h_j)^ therefore the log likelihood will be: : \log(\mathcal) = \sum_^i \left(d_j\log(h_j)+(n_j-d_j)\log(1-h_j)\right) finding the maximum of log likelihood with respect to h_i yields: : \frac = \frac-\frac = 0 \Rightarrow \widehat_i=\frac where hat is used to denote maximum likelihood estimation. Given this result, we can write: : \widehat S(t) = \prod\limits_ \left(1 - \widehat_i\right) = \prod\limits_ \left(1 - \frac\right)


Benefits and limitations

The Kaplan–Meier estimator is one of the most frequently used methods of survival analysis. The estimate may be useful to examine recovery rates, the probability of death, and the effectiveness of treatment. It is limited in its ability to estimate survival adjusted for
covariate Dependent and independent variables are variables in mathematical modeling, statistical modeling and experimental sciences. Dependent variables receive this name because, in an experiment, their values are studied under the supposition or demand ...
s; parametric survival models and the Cox
proportional hazards model Proportional hazards models are a class of survival models in statistics. Survival models relate the time that passes, before some event occurs, to one or more covariates that may be associated with that quantity of time. In a proportional haza ...
may be useful to estimate covariate-adjusted survival.


Statistical considerations

The Kaplan–Meier estimator is a
statistic A statistic (singular) or sample statistic is any quantity computed from values in a sample which is considered for a statistical purpose. Statistical purposes include estimating a population parameter, describing a sample, or evaluating a hypo ...
, and several estimators are used to approximate its
variance In probability theory and statistics, variance is the expectation of the squared deviation of a random variable from its population mean or sample mean. Variance is a measure of dispersion, meaning it is a measure of how far a set of numbers ...
. One of the most common estimators is Greenwood's formula: : \widehat \left( \widehat S(t) \right) = \widehat S(t)^2 \sum_ \frac, where d_i is the number of cases and n_i is the total number of observations, for t_i < t. In some cases, one may wish to compare different Kaplan–Meier curves. This can be done by the log rank test, and the Cox proportional hazards test. Other statistics that may be of use with this estimator are pointwise confidence intervals, the Hall-Wellner band and the equal-precision band.


Software

*
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimizat ...
: the built-in function SurvivalModelFit creates survival models. * SAS: The Kaplan–Meier estimator is implemented in the proc lifetest procedure. * R: the Kaplan–Meier estimator is available as part of the survival package. * Stata: the command sts returns the Kaplan–Meier estimator. *
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
: the lifelines package includes the Kaplan–Meier estimator. *
MATLAB MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation ...
: the ecdf function with the 'function','survivor' arguments can calculate or plot the Kaplan–Meier estimator. * StatsDirect: The Kaplan–Meier estimator is implemented in the Survival Analysis menu. *
SPSS SPSS Statistics is a statistical software suite developed by IBM for data management, advanced analytics, multivariate analysis, business intelligence, and criminal investigation. Long produced by SPSS Inc., it was acquired by IBM in 2009. C ...
: The Kaplan–Meier estimator is implemented in the Analyze > Survival > Kaplan-Meier... menu. *
Julia Julia is usually a feminine given name. It is a Latinate feminine form of the name Julio and Julius. (For further details on etymology, see the Wiktionary entry "Julius".) The given name ''Julia'' had been in use throughout Late Antiquity (e.g ...
: the Survival.jl package includes the Kaplan–Meier estimator.


See also

*
Survival Analysis Survival analysis is a branch of statistics for analyzing the expected duration of time until one event occurs, such as death in biological organisms and failure in mechanical systems. This topic is called reliability theory or reliability analysi ...
*
Frequency of exceedance The frequency of exceedance, sometimes called the annual rate of exceedance, is the frequency with which a random process exceeds some critical value. Typically, the critical value is far from the mean. It is usually defined in terms of the number ...
*
Median lethal dose In toxicology, the median lethal dose, LD50 (abbreviation for "lethal dose, 50%"), LC50 (lethal concentration, 50%) or LCt50 is a toxic unit that measures the lethal dose of a toxin, radiation, or pathogen. The value of LD50 for a substance is the ...
* Nelson–Aalen estimator


References


Further reading

* * * *


External links

* * * {{DEFAULTSORT:Kaplan-Meier estimator Estimator Actuarial science Survival analysis Reliability engineering