How this calculation works
Each subject contributes a censoring time and its complete ordered event list. All supported subjects enter observation at time zero.
M̂(t)=Σs≤t dN(s)/Y(s); V̂(t)=Σi[Σs≤t {dNi(s)−Yi(s)dN(s)/Y(s)}/Y(s)]².A worked example
Complete follow-up has6 events across5 subjects, final mean6/5. Subject counts[2,1,0,2,1] give variance sum((count−1.2)^2)/25=0.112 using uncorrected infinitesimal-jackknife convention.
Good to know
5–300 independent subjects, each with positive censoring time and0–30 ordered recurrent event times≤censor time, total≤3000 events; all subjects enter at0; Lawless-Nadeau variance and pointwise intervals; no terminal-event competing risk, left truncation or covariate rate regression.
Reference: reda authors MCF reference (opens in a new tab) ↗
Keep all recurrent events attached to each subject
Each subject contributes a censoring time and its complete ordered event list. All supported subjects enter observation at time zero.
After an event the subject remains at risk for another event until censoring. Removing it at its first event would answer a survival question instead.
Compare this with the Kaplan Meier survival from censored observations calculator. Estimate expected cumulative event count by summing dN/Y over recurring event times, retaining each subject in the risk set after an event and accounting for its repeated contributions in robust variance. KM estimates probability of surviving a single terminal first event.
Estimate expected event count over follow-up
At each event time, divide the number of events by the number of subjects still followed. Sum those increments to form the mean cumulative function.
The result can exceed one because subjects can experience several events. It is an expected count, not a probability of ever having an event. The default five subjects are followed to time5 and have six recurrent events in total. The mean cumulative function therefore ends at6/5=1.2. At time1, two events among five at-risk subjects add0.4; later increments add0.2,0.4 and0.2. Subjects with an earlier event remain in the risk set until their censoring time. Removing them after the first event would convert the problem into a first-event survival calculation and undercount the recurrent-event process.
Handle ties using a visible risk convention
Events occurring at a censoring time are counted before that subject leaves the risk set. Several subjects can contribute events at the same time.
Every event must fall within its subject follow-up. An event beyond censoring is a data error here, not a reason to extend the observation window automatically.
Work through the checked default example
Complete follow-up has6 events across5 subjects, final mean6/5. Subject counts[2,1,0,2,1] give variance sum((count−1.2)^2)/25=0.112 using uncorrected infinitesimal-jackknife convention.
Event increments at times1,2,3,4 are0.4,0.2,0.4,0.2. The final cumulative mean is1.2 and the uncorrected subject-influence variance is0.112, corresponding to standard error approximately0.334664. At each event time t, divide the total events at t by the number of subjects still followed at t. Tied events are counted together, and events at the exact censoring time occur before that subject is removed. Subject-level influence contributions accumulate event-minus-risk-weighted mean increments across times. Squaring and summing those complete subject contributions captures the dependence of repeated events within one subject; treating every event as a separate independent person would not. The variance convention here is the Lawless–Nadeau infinitesimal-jackknife form without an added n/(n−1) multiplier.
Keep recurrent contributions together in the variance
A subject-level influence accumulates its observed event increments minus expected increments while at risk. Squaring the cumulative subject contributions retains within-subject recurrence.
Treating every event as an independent subject discards that structure. The reported variance uses the stated uncorrected Lawless-Nadeau influence convention.
Read counts and follow-up together
The risk set shrinks as subjects are censored. Late increments based on few remaining subjects can be large and uncertain.
Independent censoring is an assumption. If frequent-event subjects systematically leave observation earlier, the remaining observed risk set can give a misleading event burden. With complete common follow-up, the default final robust variance is0.112. Unequal censoring changes the risk denominator over time, so simply dividing all observed events by the initial subject count no longer estimates the same curve. Independent censoring relative to the recurrent process remains essential. A terminal event that permanently prevents future recurrence is not handled as an ordinary independent censoring event here. The page also excludes left-truncated entry and covariate adjustment. With no observed events it reports a zero curve estimate, which does not prove that the population recurrence rate is identically zero.
Compare complete follow-up with a direct average
With common censoring beyond all events, the final mean is the average observed event count per subject. This identity checks the cumulative calculation.
Terminal competing events, delayed entry and covariate-adjusted event rates require a richer model. A recurrent-event curve should not silently substitute for those processes. The vertical rise at a tied event time is the aggregate event increment, not an interpolated event rate. Between event times the estimated cumulative function stays flat. The illustration therefore uses a step curve. A linearly interpolated drawing can look smooth but would imply intermediate changes that are not part of the nonparametric estimate.
A few questions, answered
Why can the curve exceed one?
It estimates expected cumulative event count, so multiple events per subject allow values above one.
Is a subject removed after an event?
No. The subject remains in the risk set until its censoring time.
How are events tied with censoring handled?
They are counted using the pre-censoring risk set, then the subject leaves observation.
Are recurrent events treated as independent?
No. The variance aggregates their contributions within each subject before squaring.