Hazard function Created 2026-09-24 Updated 2026-10-14
For a survival time with an absolutely continuous probability distribution, probability density function , and survival function , the hazard function is
where , with the derivative identity holding almost everywhere. At points where the local limit exists, equivalently
The hazard function measures an instantaneous conditional rate. If time is in years, its units are inverse years, and its value can exceed one. A probability for a short interval is approximately , not ; for an absolutely continuous probability distribution, the probability of an occurrence at the single exact time is zero. The discrete hazard, by contrast, is a conditional probability at a possible event time.
The factorization distinguishes a probability density function for the original population from a hazard function for those still event-free. With an exponential distribution of rate per year, per year but per year: the latter also accounts for the probability of reaching year five. The exponential survival risk over an interval example computes finite-horizon probabilities from this rate.
Kaplan–Meier estimator Created 2026-09-24 Updated 2026-10-14
At distinct observed event times , let be the risk set size immediately before , and let count events at . The Kaplan–Meier estimator of the survival function is
The empty product is one. Each factor estimates a conditional survival probability among those still observed and event-free; their product joins the successive steps. This is nonparametric statistics: no specified shape for the survival distribution is imposed. Use independent censoring and the appropriate risk sets to interpret the result as an estimate for the intended population.
The Kaplan–Meier estimator is a right-continuous function with downward jumps at event times. Right censoring changes later denominators without causing a jump. A tick on the curve marks right censoring, rather than a failure. For a tied group of events, use the one factor ; subjects right-censored at that recorded time remain in for this factor. The fraction estimates a discrete hazard, not a continuous hazard function in inverse-time units. With no censoring, the factors telescope to the fraction of the original cohort whose observed survival times exceed , the complement of its empirical distribution function.
Edward L. Kaplan and Paul Meier published [ref]. Their paper addresses lifetime estimation when observation ends before failure and explicitly calls attention to the assumption of independence between lifetime and potential observation loss. The date 1958 is the original publication year; the publisher's later online-posting date is not the discovery date.
In his [ref], Kaplan traces Meier's interest to cancer-duration data in 1952 and his own to the lifetimes of vacuum tubes in undersea telephone-cable equipment a year later. The journal encouraged them to combine their manuscripts. The shared mathematical question was how to estimate a survival function when some lifetimes are still running or disappear from observation.
For independently left-truncated and right-censored survival data, let and be entry and exit times on the same clock. At each distinct event time , the risk set is , with size , and events occur. The Kaplan–Meier estimator is
Before entry a subject contributes neither an event nor time at risk. Thus adding observed entrants can increase successive risk sets; pretending that all subjects were observed from time zero distorts the estimated hazard function. The estimator identifies the survival function over ages covered by observation; normalization from birth requires observation arbitrarily close to time zero or additional knowledge of earlier survival.
For a nonnegative continuous event time with survival function S, hazard function h and H the cumulative hazard, split the expectation at c. The censored contribution is S(c)H(c). The event contribution is by integration by parts, since and . Adding gives the displayed identity. Linearity extends it to the expected observed event count in a cohort, without requiring independence between subjects.
Write for the survival function; this is the function denoted in the survival notation. For a proper continuous event-time distribution with hazard function , its cumulative hazard function is . The probability integral transform makes uniform on , including when has flat intervals: those intervals have zero event probability. Consequently
Thus the cumulative hazard probability transformation gives . No strict monotonicity of is needed on intervals that carry no event mass. The usual proper continuous survival law is essential; an atom of subjects who never fail would instead require separate treatment of the mass at infinity.
For a continuous nonnegative event time with hazard function , the cumulative hazard function is
Its derivative is the instantaneous hazard wherever the derivative exists.
Insert and into the survival likelihood. Each individual's log contribution simplifies to
Therefore
Failures contribute a log hazard function term as well as exposure, whereas both failures and censored subjects contribute the negative cumulative hazard function over their observed follow-up.
For individual , let , be the known baseline hazard function, and the extra hazard. Put
The class-specific survival functions are and . Consequently the unconditional survivor and failure density are
Mixture probabilities must be summed before taking a logarithm; a weighted average of class log-likelihoods would be a different, complete-data calculation. Substitution into the right-censored survival likelihood gives
Equivalently, this additive excess-hazard mixture likelihood has contribution
Here and must be nonnegative hazards. The factor can be dropped when maximizing over because is known. Factoring out censoring presumes a common parameter-free censoring mechanism independent of failure and latent class, conditional on the observed covariates; unmodelled class-specific censoring would change these mixture contributions.
For and , the exponential distribution has probability density function . Integrating the probability density function gives the survivor function . The hazard function divides instantaneous failure density by the probability of having survived, and the integrated hazard accumulates this rate. Thus
The probability density function is zero for , and the survivor function is one there.
Use the paper's notation for the survivor function, not for a cumulative distribution function. For a nonnegative continuous event time,
The hazard function is defined where survival is positive, and the last expression is the integrated hazard. These definitions assume the usual absolutely continuous survival distribution so that the displayed density and hazard derivatives exist almost everywhere.
Normalize the probability density function using :
The corresponding Weibull distribution has survival function
Since the distribution is continuous, the choices and have the same probabilities. The conditional probability is consequently
For and , the supplied inequality, applied to , gives . Taking exponentials yields
This expresses the increasing hazard function : surviving to a later age shortens the remaining lifetime in this conditional distribution. At equality holds, as expected from the memoryless property of the exponential distribution.
The paper uses for the survivor function, rather than for the cumulative distribution function. For a nonnegative survival time with an absolutely continuous probability distribution, define
Where , the hazard function is the instantaneous event rate conditional on survival:
The integrated hazard is . Since , integration gives . With the usual time origin and no event at zero, , so
Conversely, differentiating gives , so these relationships determine each of the survivor function, hazard function and integrated hazard from either of the others. A positive limiting survivor function is possible if the integrated hazard remains finite; a proper finite event time instead has .
Differentiating the log-likelihood again gives
Thus the Observed Fisher information for the rate is proportional to the total number of observed events. At a positive interior maximum-likelihood estimator, the large-sample variance estimate and standard error are
Precision is therefore driven by the number of observed events rather than by the number recruited alone. Heavy right censoring can leave a large study with little information about its hazard function. Under the regularity conditions for the Fisher information, the expected information is .
A right-censored observation is not wholly uninformative: its exposure contributes to , changes the maximum-likelihood estimator, and affects the expected number of events under a sampling design. Its contribution happens to have zero second derivative in this rate parameterization. For example, if no events occur, the likelihood still declines as and disfavors large rates, despite its zero curvature. The usual interior variance approximation is then invalid.
In a frailty model, an individual's unobserved susceptibility to an event is represented by a nonnegative frailty random variable multiplying that individual's hazard function. Conditional on its value, subjects with the same measured covariates can therefore have different event rates. The frailty is a persistent latent characteristic of the individual, not newly sampled noise at each time.
Here the conditional hazard function is , with baseline hazard . A multiplier raises susceptibility and lowers it. Normalization fixes the frailty scale: without it, multiplying every frailty by a constant and dividing the baseline hazard by that constant would give the same individual hazards. The variance of measures unobserved heterogeneity. An atom at , if allowed, would give a permanently zero conditional hazard.
The hazard ratio between groups is for individuals compared at the same frailty. It need not equal the population hazard ratio, because survival selection changes the frailty distribution among those still alive or event-free.
Condition on a frailty random variable value . Integrating the conditional hazard function gives , so the conditional survivor function is
Average this conditional probability over the common frailty density :
By definition the Laplace transform of is . Hence
This averages survivor functions, not hazards. Differentiating its logarithm, when justified, gives
Thus the population hazard function uses the mean frailty among current survivors, explaining why a conditional proportional hazards model may cease to be proportional after frailty is integrated out.