A predictable intensity is the derivative of an absolutely continuous compensator of a counting process: is a local martingale. It represents the conditional event rate given the immediately preceding history. In survival analysis the individual intensity is an at-risk indicator multiplied by its hazard function.
An observed event counting process has conditional increment , where is the at-risk process. The filtration records the past observed events, censoring, and covariates; the integral of is the compensator of a counting process.
If a counting process has predictable conditional intensity , subtracting its compensator of a counting process gives the associated martingale . Conditional expected event increments and compensator increments agree, so their difference is conditionally centered. With the necessary integrability, is a mean-zero martingale; for a simple no-ties process its predictable quadratic variation is . A predictable weighted martingale integral has mean zero and variance determined by the square of its weights. In survival analysis, produces the event-minus-expected representation used to derive the Nelson–Aalen estimator.
For subject , write , and define the counting process and pre-event at-risk process by
Under independent censoring and a common hazard, each observed event-free subject has conditional event probability in a short interval. Therefore to first order. Equivalently the compensator of a counting process is . Dividing the observed increments by current exposure gives the estimating equation , hence
Here are distinct event times, the number of events at that time, and the number at risk immediately before it. One can also obtain the same increment by maximizing the local multiplicative-intensity likelihood : differentiation gives . This derives the Nelson–Aalen estimator, rather than merely naming it.
A censored observation contributes to the denominator while under observation, and then leaves the risk set; it contributes no event jump. For tied events, use the single increment , not successive one-event increments with shrinking denominators. If censoring and events share a recorded time, a convention is needed; counting the event before removing same-time censored subjects uses the pre-time risk set above. Rounded or interval-censored data may require a model suited to their observation mechanism.
For the distinct ordered observations in the question, let indicate whether is an event. The risk set at contains precisely the subjects whose recorded time is at least . Thus
Therefore the sum of the fitted integrated hazards at all observation times equals the observed number of events, the event-count identity for Nelson–Aalen cumulative hazards. The grouped Nelson–Aalen event-count identity extends the same argument to tied observations with their multiplicities and the stated risk-set convention.
In the counting-process intensity in survival analysis, the counting process jumps once if an observed event occurs; the at-risk process is one immediately before only while individual is still observed and event-free. Conditional on that information, the chance of an event in a short interval is for an at-risk individual and zero otherwise. This is the meaning of
The history is the filtration generated by the observed event and censoring histories, entry information, and available covariates strictly before . In particular, it determines the current risk set but does not reveal future event times. The right-hand side is the infinitesimal compensator of a counting process; the equality is interpreted as an intensity statement to first order in .