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.
Assume independent individuals and independent censoring conditional on their explanatory variables, with the censoring mechanism carrying no parameter . A failure contributes its failure-time probability density function , while a censored observation contributes the survival function because its failure time exceeds . Terms from the censoring distribution then factor out of the survival-parameter likelihood. Thus the survival likelihood and its logarithm are
The individual subscripts allow the same parameter vector to act through different covariate values.
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.
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 is
Censored 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 gives
Treating all durations as failures instead gives
Relabelling 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 . Since
it 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.
For independent individuals under fixed administrative censoring, an observed failure contributes the probability density function , while a censored observation contributes the survivor function . Hence the survival likelihood and log-likelihood are
For , the score function vanishes at , and . This is the unique maximum over :
Thus maximum likelihood estimation agrees with the observed-exposure estimating equation. If there are no failures, the likelihood decreases with : its supremum is approached as , or attained at zero if that boundary is admitted.
Assume independent individuals and independent censoring: conditional on any modelled covariates, the censoring mechanism gives no additional information about the latent event time and has no parameter shared with its survival distribution. An observed event at contributes the probability density function . A right-censored observation contributes the survivor function , since it establishes only .
More formally, let be an independent censoring time with density and survivor function . The observed pair , has a parameter-dependent factor if and if . The factors involving only the censoring distribution can be omitted from the event-time likelihood. Thus
Using also gives the useful survival likelihood form
Every individual therefore contributes survival exposure, whether or not an event is observed. These formulas do not justify ignoring informative censoring; that situation requires a model for the observation mechanism as well.
Write and . The exponential survival likelihood has . Its score is , and for its second derivative is . Thus the exponential-rate estimation from censored exposure gives
All observation times, including censoring times, belong in . If , the likelihood decreases with positive and has its supremum as ; under the stated strict positivity constraint there is no interior maximum.
Under independent censoring conditional on the modelled covariates, an observed event contributes , and a right-censored observation contributes . Factors from the censoring distribution may be omitted when they contain no survival-model parameters. The survival likelihood and log-likelihood are therefore
Censored individuals still contribute their observed exposure through ; they are not deleted from the analysis.
Assume independent individuals and independent censoring, with the censoring law not involving the event-rate parameters. If is the survival time and its censoring time, we observe and . The exponential distribution gives
An observed event contributes , while a right-censored observation contributes , because it only says the event has not occurred by . Multiplying these survival likelihood contributions and omitting censoring factors independent of the parameters gives
Without independent censoring the censoring factors cannot generally be discarded in this way.
An exact observed event contributes its event-time density:
For exponential-rate estimation from censored exposure, the event-model survival likelihood under independent censoring is . For the exponential distribution, put and . Then
If and , vanishes at
The second derivative is strictly negative, so this is the unique global maximum-likelihood estimate. The likelihood also tends to zero at both ends of the positive parameter range. If and , the likelihood decreases on ; its supremum is at , with no attained positive estimate. Thus every censored time belongs in the exposure denominator.
A right-censored subject contributes survival up to the recorded censoring time, not no information. Under independent censoring, write and . For exponential death rate , the event-model survival likelihood is
Discarding censored subjects drops observed exposure and selects people whose death occurred before censoring. Their recorded event times are not an unselected sample of all death times. The death-only conditional distribution can differ from the marginal death-time distribution even when censoring is independent. A correct maximum-likelihood estimate uses the total observed person-time, including censored follow-up.
Let be the number of events at potential time and let be the size of the risk set immediately before that time, including observations censored at . Define the discrete conditional event probability
Under independent censoring, and ignoring the separate censoring distribution, the survival likelihood factorizes as
This follows by multiplying a survival factor for each individual at risk who does not fail at , and an event factor for each failure. The log factor is maximized at , with the corresponding boundary values when or .
The survival function is the product of successive conditional survival probabilities. Therefore
This is the Kaplan–Meier estimator. A product over no event times is 1. If everyone remaining experiences an event, the product becomes zero and stays zero; subsequent empty risk sets supply no additional factor.
The set must contain every observed event time. Otherwise a discrete survival likelihood would assign probability zero to at least one exact event observation.
The set can include additional times without observed events. Include time zero when events at zero are present, and allow remaining tail probability beyond the fitted range. Estimation of a conditional event mass requires a nonempty risk set; once follow-up ends, later probability masses are not identified by the data. The usual Kaplan–Meier estimator retains the final estimated survival probability as its tail convention.
Choose a parametric baseline hazard and fit
Under independent right censoring, the full survival likelihood is
Estimate by maximum likelihood estimation and test with a likelihood-ratio test, Wald test, or score test. Equality of the two event-time distributions is exactly within this model.
Suppose the recorded durations retain an exponential distribution of rate , but an independent fraction are relabelled as failures and the rest as right-censored. Applying the ordinary survival likelihood gives , rather than . A censoring flag chosen independently of the recorded duration does not establish independent censoring of a latent failure time. Genuine simulation instead draws an event time and an independent censoring time and records their minimum.
Right censoring Created 2026-09-24 Updated 2026-10-14
An unobserved survival time is right-censored when it is known to exceed the last event-free follow-up time. For a potential survival time and potential observation-ending time , record
When , the occurrence was observed at ; when , only is known. An intact machine at the study's closing date and an event-free subject who stops attending follow-up can both yield right censoring, but the reasons for stopping matter for independent censoring. A subject right-censored at year two has contributed two years to person-time at risk and belongs to earlier risk sets. Neither recording a failure at year two nor discarding that subject preserves this information.
Under independent censoring and separate parameters for the observation mechanism, the part of the survival likelihood involving an absolutely continuous probability distribution for is . Thus a right-censored observation contributes the survival function , rather than the event probability density function . See Lu Tian's Stanford notes, Section 2.1, equations (2.1)–(2.2). The Kaplan–Meier six-subject cohort shows exactly how this distinction changes the calculation.