Aalen–Johansen estimator Created 2026-10-06 Updated 2026-10-07
The Aalen–Johansen estimator is a product of empirical state-transition matrices over event times. In competing risks, the estimated cumulative incidence function for cause jumps by , while overall survival is updated using all event causes. Right censoring changes subsequent risk sets but does not itself create a probability jump.
Let eventual outcome have probability , with . An observed outcome at time contributes to the likelihood, while right censoring at contributes . The expectation-maximization algorithm imputes both the censored outcome and its latent log event time. Its E-step uses the displayed conditional weights and the first two moments of a truncated normal distribution above . With and Inverse Mills ratio , these moments are and . Observed outcomes use deterministic class weights and moments . The M-step updates each class probability to its average weight, its mean to the weighted first moment, and its variance to the weighted second moment minus the squared new mean. Outcome-specific cumulative probabilities are cumulative incidence functions, not the conditional distributions themselves.
Events divided by exposure estimator Created 2026-10-06 Updated 2026-10-14
For independent exponentially distributed failure times subject to independent right censoring, let be observed failures and total follow-up exposure. The parameter-dependent likelihood is , giving maximum-likelihood estimator . The fitted individual cumulative hazards sum to , but this estimating identity alone does not establish that a constant hazard model fits.
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 isThe 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]
https://doi.org/10.1080/01621459.1958.10501452. Nonparametric Estimation from Incomplete Observations, Journal of the American Statistical Association 53(282), 457–481 (1958)
. 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]
https://garfield.library.upenn.edu/classics1983/A1983QS51100001.pdf. 1983 Citation Classic recollection
, 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. Kaplan–Meier six-subject cohort 2026-10-14
Consider six subjects observed from time zero. Recorded survival data are , , , , , and , with each pair giving in years. Thus have observed events, while are right-censored. The letters label subjects, not treatment groups. Here are all exit times, including rows without events:
| Time (years) | Risk set just before | At risk | Events | Right censoring count | Survival factor | Kaplan–Meier estimator |
|---|---|---|---|---|---|---|
At year one, . Removing at year two leaves the Kaplan–Meier estimator unchanged. Immediately before year three, are still in the risk set: the two events give . Only afterwards do leave, leaving alone. Removing before counting the tied events would incorrectly use and give . The event-first convention is part of the recorded-time interpretation; coarsely rounded timestamps do not reveal a hidden ordering within that time bin.
The exact Kaplan–Meier estimator is on , on , and on . The three right censoring ticks are , , and ; at a shared event time the tick is on the post-event step. Beyond year five the risk set is empty, so the horizontal endpoint does not determine later survival. The Kaplan–Meier median survival time is three years, since this is the first step at or below .
Now separate the tied events by changing only 's recorded event time from year three to year four. At year three the risk set still has four subjects, but , so . After the event and 's right censoring, only remain. At year four , giving . The intervening right censoring prevents the factors from telescoping to the original tied-event factor. If instead remained observed past year four, the factors would be , giving the original after both events. This is Kaplan–Meier telescoping across a censor-free interval in numbers.
Incorrectly counting every right-censored exit as an event estimates the distribution of observation-ending times , rather than survival times . For the original tied cohort, the spurious curve is at year one, at year two, at year three, and zero at year five. That zero asserts a failure for , whose only known information is .
Six observed histories and the effect of ties and right censoring on Kaplan–Meier steps
. Details. The computation uses the risk set and event-before-censoring convention in Lu Tian's STAT331 notes, Unit 3, pages 2–6; this six-subject example supplies its own exact counts.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 37 1 Solution Created 2026-10-03 Updated 2026-10-14
Let be an event time and a potential censoring time. Under independent censoring, observe and . For an exponential distribution of rate , an observed failure contributes to the survival likelihood, whereas a right-censored observation contributes . The censoring-law factors may be discarded when they are independent of . Thus, writing and for total observed person-time,For the unique maximum-likelihood estimate isCensored times belong in : they record time during which failure was not observed. With and , the likelihood decreases with , so the supremum is at the boundary ; there is no positive interior estimate. This is exponential-rate estimation from censored exposure.
Uninformative censoring means that the potential censoring time supplies no information about the latent failure time after conditioning on the modeled variables. A study ending at a fixed follow-up duration independent of prognosis is an example of administrative censoring. Informative censoring occurs, for example, when a seriously deteriorating patient withdraws because of that deterioration and the prognostic information is omitted from the model. Under informative censoring, those remaining in the risk set are selected by their future failure propensity, so the ordinary survival likelihood and its estimate need not target the true rate.
Using the reported durations and flags as though they were valid right-censored records givesTreating all durations as failures instead givesRelabelling has halved the event count without shortening any observed follow-up. The resulting estimate is therefore exactly half the complete-data estimate.
This is not a simulation of uninformative ordinary right-censoring. For a record declared censored at , ordinary right censoring requires ; the construction instead took to be the simulated failure time itself. Keeping a failure time and hiding only its flag does not produce the minimum of that time and an independent earlier censoring time. Even choosing labels at random does not fix this: independence of a flag from the recorded duration is different from independent censoring of a latent event time. Indeed the labelled durations still have mean one while the failure fraction is one half, so their ordinary censored estimate converges to , not the generating rate one. Thus it is not a valid uninformative censoring scheme for the intended failure distribution; strictly, it has not implemented ordinary right-censoring of those simulated failure times at all. One could reproduce the randomly labelled record distribution with independent latent event and censoring times both of rate , but that would be a different failure model, not the claimed rate-one model. Calling the flags random is therefore insufficient to justify the target distribution or its censored likelihood. This is the random relabelling is not independent right censoring issue.
A valid simulation draws independently and , and records . Sinceit gives independent censoring with the requested probability. Equivalently generate and from independent uniform random numbers. Another valid choice is fixed censoring at , since . These give a random censored fraction with expectation one half; they do not promise exactly 500 censored records. For the independent-exponential scheme, observed durations have rate two and mean one half, so correctly converges to one.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 38 1 Solution 2026-10-14
A censoring observation means an event time is not observed exactly: the information supplies a bound or interval instead. Under right censoring, one observes and the event indicator ; if , one knows only . Left censoring gives an upper bound, while interval censoring locates the event between two observations.
Uninformative censoring means that, conditional on the covariates used in the analysis, the censoring mechanism supplies no additional information about the event time. Independence within those covariate strata is a sufficient formulation: subjects remaining in the observed risk set have the same future hazard as the corresponding event-free population. A fixed study cutoff unrelated to prognosis is an example of administrative censoring.
Informative censoring occurs when that condition fails. For example, students at high risk of leaving may also become harder to contact before their departure is formally recorded; censoring at loss of contact selectively removes high-risk students. Ordinary Kaplan–Meier estimator and Nelson–Aalen estimator calculations then use an unrepresentative risk set. The distinction determines whether ordinary survival estimates can be interpreted as population survival. Merely knowing that an observation is censored does not establish independence.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 44 1 d Solution Created 2026-10-03 Updated 2026-10-14
Differentiating the log-likelihood again givesThus 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 arePrecision 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.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 44 3 Solution Created 2026-10-03 Updated 2026-10-14
Use , a nonincreasing right-continuous survivor function. The empirical likelihood treats an exact event as a probability mass rather than maximizing an unrestricted probability density function at isolated data points. Under a noninformative observation mechanism, the event-time likelihood contributions areThe second, third and fourth rows account for right censoring, left censoring and interval censoring, respectively. A censoring mechanism with unknown dependence on cannot simply be dropped; these are the event-time factors under independent censoring or another ignorable mechanism.
There is a useful finite-dimensional reduction before optimization. Let be the set in which observation tells us its event time lies. Partition the time axis using all observed endpoints, keeping endpoint singletons when required. Within each cell, membership in every is constant. Assign cell masses , with , including a tail cell when necessary, and let be the cell-membership indicator. ThenMass locations within a cell are not identifiable and need not be separate parameters. Repeated observation sets can be grouped and their factors raised to their counts. Cells with the same membership column can also be combined. If one column is componentwise dominated by another, transferring its mass to the dominating column weakly increases every factor; hence an unconstrained maximizing distribution can omit the dominated cell. This proves likelihood support reduction under censoring directly. The remaining log-likelihood is a concave function of the probability masses on a simplex, often far smaller than the original unrestricted distribution problem. Added constraints can restrict which transfers remain permissible.
For right censoring alone, take a grid of all distinct observation times and initially allow a discrete hazardLet be the number of events at and the risk set immediately before that time. For tied recorded times, use the convention that events precede censoring, so those censored at remain in this risk set. The mass at is , and the probability of surviving past is . Substitution into the exact-event and right-censoring factors yieldsThe exponent counts all observed individuals whose information requires survival beyond that jump. In particular, censoring observations affect the risk set even though they give no event factor.
Each factor can now be maximized separately. For , its derivative is , giving ; the second derivative is negative. The same result holds at the boundaries: if , and if . The Kaplan–Meier estimator is thereforeOnly event times contribute nontrivial factors. Residual mass after the last observation may be placed anywhere later without changing the empirical likelihood. A terminal plateau is therefore not evidence of permanent survival; the tail is unobserved.
For a constrained Kaplan–Meier estimator with , first split the support cells at . In the probability-mass representation the exact optimization problem isThe last sum excludes a singleton mass at , because . This is a concave maximization with linear equality constraints, so it directly gives a constrained nonparametric maximum-likelihood estimator. It also handles a time lying between observed events or beyond all follow-up.
An equivalent hazard formulation adds to the grid, permits zero-event jumps when needed, and imposesFor an interior solution using only positive-event jumps before , add to the log-likelihood. Differentiating givesThe multiplier is found by solving the scalar equationwith denominators and fitted hazards in their admissible ranges. On an admissible event-only interior branch, this product is increasing in , making a one-dimensional root search straightforward.
A constraint can require mass at a time with no observed event. The event-only multiplier equation must not be used blindly. To include boundary cases, put . Before , the constraint becomes , and each contribution isFor its multiplier equation again gives . For , its derivative is , so the maximum has when , and may have when . Such a jump supplies mass needed by the constraint; an unobserved tail with is included by the same rule. For example, if every observation is right-censored after and there are no events, the ordinary estimate has . To impose , put mass at and the remaining after all censoring times. The maximized likelihood is , although there are no event-time factors at all. The mass-constrained optimization above automatically accounts for this possibility and for any remaining tail nonuniqueness.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 46 3 Solution Created 2026-10-03 Updated 2026-10-14
Use the standard right censoring setup with everyone entering observation at time zero. At each observed time , the pre-exit risk set has size . The Nelson–Aalen estimator of the cumulative hazard function isCensoring removes an individual from later risk sets but contributes no event increment.
Exchange the two finite sums:Each event increment appears in exactly as many subjects' fitted cumulative hazards as there were subjects at risk for that increment. This proves the event-count identity for Nelson–Aalen cumulative hazards. Common entry is relevant: with delayed entry, a subject does not accumulate the increments before entering, so an entry-time subtraction would be needed.
One method for ties is to group observations at each distinct recorded time. If events occur at , use the pre-time risk set size including observations censored at that same recorded time, and take one jump . This is the usual events-before-censoring convention within a recorded tie. Since ,Thus the grouped Nelson–Aalen event-count identity preserves the required identity at the recorded observation times. It is a sum over individuals, not an unweighted sum over distinct times.
A second method, suitable when ties reflect rounded times, is to break ties by small perturbations or an artificial ordering, then apply the untied estimator. The event-count identity holds on that new, untied time grid. It does not generally persist if all estimates are mapped back to the original common time. For example, two tied failures among two individuals give a grouped jump , so the original-time sum is . Sequentially breaking the failures gives jumps and , whose total is ; assigning the completed jump to both original tied observations gives sum . On the perturbed grid the two values are and , whose sum is again . This distinction states exactly what the second method does and does not preserve.
Another common grouped survival approach is the Kaplan–Meier estimator, from which one may estimate cumulative hazard by . Its jump is , not , and it likewise does not have the Nelson–Aalen event-count identity. In particular it becomes infinite at a time when all remaining individuals fail.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 46 4 Solution 2026-10-14
Use the question's decreasing survivor function convention , rather than interpreting as a cumulative distribution function. An exact failure at contributes the mass . The right censoring contribution is , and the interval censoring contribution is . Under independent observations and a noninformative observation mechanism, the empirical likelihood with mixed censoring, omitting observation-mechanism factors, isThis is a likelihood over probability distributions with possible atoms; replacing the exact-event masses by a smooth density would be a different model.
Set and . Monotonicity and giveFor instance, while , proving the second inequality. The interval-censoring factor already equals . Multiplying gives the monotonicity bound for a mixed-censoring likelihoodFor any , this bound is attained by a distribution with masses , and at , and respectively. Its survivor function is one before the first mass, between the first and second, between the second and third, and zero thereafter.
The maximum likelihood is positive, because such a three-mass distribution has positive likelihood. At any maximizer all the above inequalities must therefore be equalities; otherwise replacing it by that three-mass distribution at the same would strictly improve its likelihood. Equality, together with monotonicity, yieldsThus these relations are consequences of maximum likelihood, not assumptions about where an arbitrary distribution must put its mass.
The reduced log-likelihood isIts stationary equations areThe second gives . Substituting in the first gives , henceThe reduced log-likelihood is strictly concave: its second directional derivative in a nonzero direction isThe likelihood vanishes on the boundary of the admissible triangle, so this stationary point is the unique maximum. The corresponding nonparametric maximum-likelihood estimator puts masses , and at the three exact failure times.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 41 5 a ii Solution Created 2026-10-03 Updated 2026-10-14
With right censoring, an event has not occurred by the last observation time , so the data establish only . One records and , distinguishing an observed event from a censored exit. A business still operating at the follow-up deadline is administratively right-censored. Its observed age is a lower bound on its lifetime, not its eventual closure age. Standard survival analysis requires suitable independent censoring, possibly conditional on the fitted covariates.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 41 5 b i Solution Created 2026-10-03 Updated 2026-10-14
Statistician B uses the more appropriate analysis. Its start–stop representation includes left truncation as well as right censoring. Both entry and exit are ages since opening, so a business belongs to the risk set at age only when . The event indicator distinguishes closure from a censored end of observation. The counting-process representation does not mean that multiple closures per business have been observed.
Statistician A records only exit and status and treats every sampled business as at risk from opening. That incorrectly adds already-established businesses to risk sets at ages before they entered observation, ignoring their necessary survival to entry. Its first risk count is , whereas B's is . The extra non-events dilute early estimated closure hazards and here bias the estimated survival upward. Correcting left truncation makes later risk sets capable of increasing as businesses enter at their respective ages.
For the Kaplan–Meier estimator with delayed entry, at event ages with closures and businesses at risk,The standard error follows from the Greenwood formula. Between event times this survival function estimate is constant. At age five the last preceding event is at , and at age ten it is at . Thus the requested estimates, including their precision, areandThese correspond to estimated proportions 46.2% and 28.0%, not to the probability of surviving five or ten additional years conditional on being sampled at an arbitrary age. A's corresponding estimates and use the inappropriate risk sets.
This interpretation assumes appropriately independent entry and censoring and a suitable common lifetime distribution across entry cohorts. A delayed-entry correction does not remove arbitrary informative sampling or calendar effects. More generally, if no observation covers the earliest ages, absolute survival from opening requires additional information about survival before the first observable age; the reported product-limit normalization is the one used in the supplied analysis.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 37 5 a Solution Created 2026-10-03 Updated 2026-10-14
Let denote eventual death or recovery, respectively; is the time from admission to that terminal event, and . A patient still hospitalized at collection has right censoring: only is known, where is the elapsed time since admission. Both eventual outcomes are then unobserved. A recorded death or discharge is an observed terminal event in this competing risks model; discharge is not censoring of an otherwise observable later in-hospital death. Assume the observation deadline, conditional on relevant admission information, is noninformative for .
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 5 a i Solution Created 2026-10-03 Updated 2026-10-07
Right censoring occurs when a subject's exact failure time is unobserved but it is known that , where is the censoring time. The observed pair is and . For example, a living participant at study closure contributes a survival lower bound rather than a recorded death at closure. Right censoring differs from simply omitting the subject: time spent in the risk set remains informative.
