Compensator of a counting process Created 2026-10-05 Updated 2026-10-06
The compensator of a counting process is a predictable increasing process such that is a local martingale. For an observed event process with at-risk process and hazard function , it is under independent censoring. It is cumulative intensity, rather than an event probability.
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.
The entry count counts jumps of a continuous-time Markov chain into state by time , excluding initial occupation. It is a counting process. For homogeneous transition intensities, its mean has derivative conditional on initial state , so its expected value is the sum of incoming rates times the expected occupation times of a continuous-time Markov chain. This density is an expected count rate, not necessarily a normalized probability density function.
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.
Keep the counting process and at-risk process notation from the introductory derivation. Because the individual hazards add, the aggregate conditional intensity is
The known individual contributions must be averaged over the current risk set, rather than over the original cohort. Define
Then estimates . Subtract the known average contribution to obtain the offset-adjusted cumulative hazard estimator
Take the quotient to be zero when . If , direct substitution gives
This establishes the target and the mean-zero estimation noise, under the usual integrability conditions. It estimates while there is a nonempty risk set; no data identify its continuation after follow-up has ended. With common known and individuals at risk throughout , it reduces to .
The estimate may decrease between events because the known offset is subtracted continuously. That is not an algebraic error: it is an unconstrained estimating-equation estimator, not automatically a nonnegative monotone cumulative hazard estimate. If such shape constraints are imposed, the fitting procedure must explicitly account for them. The working hazard model itself must satisfy .
For a counting process adapted to its observed history , a predictable counting-process intensity specifies
or more generally is a local martingale. In survival analysis, let record failures and record the risk set, including subjects at their own observation time. Under independent right censoring and a common hazard function , the aggregate intensity is , where and .
Writing , the conditional increment equation is . Replacing by the observed increment gives the Nelson–Aalen estimator
where ranges over the distinct observed event times. Censored observations remove subjects from subsequent risk sets but do not produce hazard jumps.
For these data the Nelson–Aalen estimator gives
Thus the six fitted cumulative hazards sum to , the number of observed failures.
The event-count identity for Nelson–Aalen cumulative hazards follows by exchanging the finite sums. With everyone entering at time zero,
This includes each failure subject in its own risk set. A delayed-entry dataset requires a different risk indicator and is not covered by this particular identity.
Under a constant hazard survival model, . Imposing the same identity gives the events divided by exposure estimator
Its fitted cumulative hazards at the six times are , again summing to four. It is also the maximum-likelihood estimate under independent right censoring, since the parameter-dependent likelihood is . This is a sensible estimate if the exponential survival model is appropriate, but four failures give little precision. The event-count identity by itself does not validate constant hazard; the large final jump in the Nelson–Aalen estimator also reflects a risk set of one, rather than by itself proving an increasing hazard.
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 .
Apply the tower property of conditional expectation to the intensity equation. Since is a specified individual hazard function,
As in the conditional equation, this describes the first-order expected increment of the observed counting process.
Let and be the total observed counting process and size of the risk set. When the individual cumulative hazard functions are all , summing the conditional intensity equations gives
Replace the expected increment by its observed value and divide by the predictable risk set size. Thus the Nelson–Aalen estimator in integral form is
with the integrand defined as zero when . This is an integral against the step counting process, so each event time contributes its event count divided by the risk set just before that time. The Nelson–Aalen estimator estimates integrated hazard over times with observable risk; it does not supply information after observation has ended.
Let count all jumps of the continuous-time Markov chain. Its Markov-chain entry count into state is
Thus
This is a Lebesgue-Stieltjes integral against a counting process, so each jump contributes one. The initial occupation of state is not counted as an entry. An ordinary time integral of an indicator random variable asserting a jump at exactly time would be zero, since individual jump times have zero Lebesgue measure. The requested integral must therefore use this counting-measure interpretation. Assume non-explosion and finite expected jump counts on bounded intervals, as holds for a finite-state continuous-time Markov chain.
Define the event counting process and at-risk process by
Under a common hazard function and independent censoring, the conditional event rate is . Equivalently, the counting-process compensator satisfies . Estimate a cumulative hazard increment by the observed event increment divided by the current risk set:
With no ties, has mass at , and . Thus the Nelson–Aalen estimator is
Only event times contribute, so no empty risk set is divided into an event count. Right-censored observations contribute time to the risk sets, but no event increment.
In the Cox proportional-hazards model, replace the number at risk in the Nelson–Aalen estimator by the sum of relative hazards:
The total event counting process has conditional rate , so the estimated baseline hazard increment is . Integrating gives the Breslow estimator
When , all relative hazards are 1 and this reduces to the Nelson–Aalen estimator. The denominator is positive at each observed event time.
is the event counting process, while is the at-risk process. Their key relationship is that, conditionally on the observed past, the expected event increment is . It separates exposure to risk from event occurrence and naturally incorporates right censoring.
Before the observed endpoint, . If censoring occurs before the event, both processes are zero after the censoring time, so their sum is zero. With the inclusive endpoint conventions in the question, at an observed event time both are one, so the sum is two at that single instant.
Let be the at-risk process and the counting process for observed events. Over a short interval, the multiplicative-intensity model gives
where is the hazard function and the cumulative hazard function. Solving this relation for the infinitesimal hazard increment suggests . Summing over distinct event times gives the Nelson–Aalen estimator
where events occur among individuals at risk. Here there are no ties, so .
Poisson process Created 2026-09-24 Updated 2026-10-14
A Homogeneous Poisson process models arrivals at a constant rate . Its counting process counts arrivals in , with . Its paths are right-continuous nondecreasing functions, take nonnegative integer values, and have unit jumps almost surely. The defining Poisson distribution of each increment is
It has stationary increments: the probability distribution above depends on the duration , not the starting time . It also has independent increments: counts in any finite collection of disjoint time intervals are independent random variables. Together these conditions specify the joint count laws, not merely the Poisson distribution at a single time.[ref]
The rate has units of arrivals per unit time; is dimensionless. The Poisson distribution gives
For a toy rate per minute and a duration of minutes, the expected value and variance of the count are both . The probability of no arrival is , and the probability of exactly three is . In two consecutive one-minute intervals, the probability of exactly two arrivals in the first and exactly one in the second is , using independent increments. These are exact model calculations with rounded decimals, not measured frequencies.
Figure 1.
Synthetic arrival times and their right-continuous counting path, compared with the exact mean at two arrivals per minute
. Details.
The diagram's nine hand-chosen arrivals illustrate a path; the line is an expected value, not a prescribed trajectory. Constant rate does not imply evenly spaced arrivals. Poisson interarrival times connect the count description to waiting, while Poisson thinning explains how independently routing arrivals produces separate streams. This makes the Poisson process useful as a simple arrival model for a queue, provided constant rate and independent increments are plausible. For a deterministic changing rate, use an Inhomogeneous Poisson process; bunching or history-dependent arrivals need additional assumptions. Conditional on , the arrival times are the order statistics of independent uniform distributions on , as developed in Poisson process conditional arrival times.
Poisson thinning Created 2026-09-24 Updated 2026-10-14
Poisson thinning splits a Poisson process by independently marking each arrival as retained or rejected. Let the original Homogeneous Poisson process have rate , and let be a deterministic measurable function of time. Attach independent uniform distributions on , independent of the entire original Poisson process. At arrival time , retain the arrival if . Given all arrival times, these decisions are independent and have the specified retention probabilities. Define the two counting processes using an indicator function:
The Poisson thinning theorem gives independent retained and rejected Inhomogeneous Poisson processes. Their rates are and , respectively, in the sense of the intensity function of a point process. In particular, for ,
The independence is of the two whole processes: every finite collection of retained counts is independent of every finite collection of rejected counts. It is not merely zero covariance for one interval. For constant , the streams are Homogeneous Poisson processes of rates and ; the endpoints include the identically zero stream.[ref]
For an exact toy calculation, take per minute and retain with on and on . In the first two minutes, the retained and rejected expected values are and . In the next two minutes they are and . Over all four minutes, are independent Poisson distributions with mean each, and their sum has mean . Thus
These probabilities and expected values describe the model, not empirical measurements. In the diagram, the original nine synthetic arrivals split into five retained and four rejected arrivals; those realized counts need not equal their expected values.
Figure 1.
Independent marks split a synthetic Poisson arrival path, with exact expected counts for two time-dependent retention probabilities
. Details.
The mechanism explains why mutually exclusive labels can yield independent counts: randomness of the original total offsets the dependence from allocating a fixed total. For constant and an interval with original mean , the conditional retained count has a binomial distribution given . The joint probability generating function is
This factorization proves the two independent Poisson distributions; disjoint original intervals give independent pairs. For varying , the Independent marking theorem for Poisson point processes gives the same conclusion with the two integrated intensities. The joint red and green Poisson count formula gives the corresponding direct calculation with probability mass functions.
Independence here is unconditional. After conditioning on , the identity gives covariance for constant . Thus the retained and rejected counts are dependent for and , even though their unconditional covariance is zero. Poisson thinning can model independent routing of arrivals, or independent detection of arrivals with a known efficiency schedule; using only a retention fraction without checking the marking mechanism can give a wrong count law.
For a bounded Borel set , the window count of a locally finite point process is a finite nonnegative integer random variable. It counts multiplicities, and the convention for window boundaries matters. On the time half-line, is a counting process and . For pairwise disjoint observation windows , the measure identity
is valid for every realization. Additivity of counts supplies no independence assumption.
Figure 1.
Window counts include multiplicity and depend on boundary conventions
. One locally finite point measure is . The half-open windows and have counts three and two; . The atom at three lies outside both windows. Two stacked dots denote the double atom at , and the step plot records , which includes the atom at three. Details.