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.
Under independent censoring, order the distinct observed failure times as . Let be the size of the risk set just before , and let be the number of failures there. The estimated conditional probability of surviving that event time is . Multiplying these conditional survival probabilities gives the Kaplan–Meier estimator
A censored observation leaves the risk set after its censoring time but does not create a downward survival jump. With tied failure and censoring times, the displayed risk-set convention includes those censored at the time while processing failures, then removes them.
Since , the Kaplan–Meier estimator of the cumulative hazard function is
This is not exactly the Nelson–Aalen estimator , although the two are close when the individual fractions are small. If a jump exhausts the risk set, becomes zero and becomes infinite; transformed residuals beyond that point require a finite-tail modelling convention or restriction of follow-up.
The transformed values are Cox–Snell residuals. Under a correct common survival function and a good fitted cumulative hazard function, the complete transformed failure times should have unit exponential distribution. Transform the observed times and retain their original censoring indicators, then estimate residual survival with a Kaplan–Meier estimator. Its target is
so a plot of its logarithm against should lie approximately on a line of slope . Censored residuals must not be treated as fully observed failure times.
There is a useful caution for this particular common nonparametric fit. The shared-fit Cox–Snell residuals reproduce the fitted survival curve property means that the pooled residual plot is largely built into the transformation. With event ordering and compatible tie processing preserved, at a transformed failure time its residual Kaplan–Meier estimator equals . Finite steps, coalesced censoring times and estimation uncertainty still matter, and an infinite final residual arises if the fitted survivor becomes zero. Separate group plots are more informative about a common-distribution assumption than this pooled fit alone.
If both groups share the same survival function and the common fit is adequate, their complete Cox–Snell residuals have the same unit exponential distribution. Under independent censoring in each group, both groupwise Kaplan–Meier estimators should therefore be close to and to each other, subject to ordinary sampling variation and the number of subjects still at risk. Different censoring patterns can change precision without changing the residual survival target.
Both group curves should approximately follow the same unit-exponential survival curve.
Let be the distinct group survival functions, and let denote the common pooled cumulative hazard function used for the residuals. At a point where its inverse is defined, residual survival in group is
Thus the group residual curves generally differ. On intervals where , the same common increasing transformation gives : the better-surviving group has more large residual failure times. If the original survival curves cross, the residual curves can also cross, so no fixed ordering or proportional hazards assumption is implied.
Distinct group distributions generally produce distinct residual survival curves, even when the pooled residual curve looks exponential. Separate correctly fitted group hazards would restore the unit-exponential target within each group, but that is a different transformation from the common fit under discussion.
For the population identity, write , , and . Assume independent censoring, with . Then
while the Tonelli theorem and the cumulative hazard function give
This is mean accumulated hazard under independent censoring, proving . For the fitted martingale residual ,
Hence its expectation is approximately zero when the fitted hazard error at the observed time is small in mean. This spells out the required sense of a good estimate; pointwise consistency alone does not control a divergent tail. In particular, a Kaplan–Meier estimator with zero final survival gives infinite transformed times there and cannot supply finite residuals without a tail restriction. Neither exact finite-sample zero mean nor validity under informative censoring is being assumed.
To check an omitted explanatory variable , plot the martingale residuals against or compare groupwise mean residuals, using a smooth trend or appropriate uncertainty intervals. Under a correct conditional survival model and conditionally independent censoring, should be approximately zero. A systematic positive trend indicates more observed failures than the fitted accumulated hazard predicts; a negative trend indicates fewer. Such patterns suggest adding , a nonlinear term or an interaction and reassessing the fit. The bounded-above, often long negative tail of martingale residuals means that the diagnostic is a mean-pattern check, not a requirement for symmetric Gaussian residuals.

Articles by others on the same topic (0)

There are currently no matching articles.