Why Recurrent Events Need Their Own Definition
Many clinical outcomes can occur more than once for the same patient: hospital admissions, exacerbations, infections, or rescue-medication episodes. A time-to-first-event analysis discards later events, while a simple total count ignores how long each patient could be observed. Comparing trial patients with routine-care external controls therefore requires both a prespecified event definition and an appropriate measure of observation time.
The basic rate is events divided by person-time at risk. This handles unequal observation duration at the group level, but does not by itself make trial and external-control populations comparable. Differences in prognosis, care pathways, event recording, or eligibility can still distort an external comparison. The earlier material on outcome regression, standardization, overlap, and external-control bias applies to recurrent-event rates as well as to other endpoints.
The event definition must specify what counts as a new event, whether a minimum event-free interval is required, how transfers or duplicate records are handled, and when observation begins and ends. For example, two emergency visits on consecutive days may represent either two events or one continuous episode, depending on the clinical definition. Follow-up should contribute only time during which the patient is eligible to experience the endpoint and the record system can plausibly capture it. Death, loss to follow-up, treatment discontinuation, and database exit may end or alter observation, but their handling must be stated rather than inferred from the event count.
A patient can contribute many events but only one accumulated person-time value. If event occurrence itself changes subsequent eligibility or risk time, the convention must be explicit. In particular, a rate based on time until treatment discontinuation estimates a different quantity from one based on continued follow-up after discontinuation.
Person-Time Rates and a Bayesian Count Model
For group \(g\), let \(D_g=\sum_i N_i\) be the total event count and \(T_g=\sum_i Y_i\) the total person-time. The observed rate is \(D_g/T_g\). A group with fewer events can have a higher rate if it contributed substantially less observation time, so counts alone are not a fair rate comparison.
A simple model treats the group count as Poisson conditional on its total person-time: \(D_g\mid \lambda_g,T_g\sim \operatorname{Poisson}(\lambda_gT_g)\), where \(\lambda_g\) is the event rate. This model assumes a common rate within each group over the analyzed follow-up, conditionally independent event increments, and no extra variation in counts beyond Poisson variation. It also requires comparable event definitions and sufficiently complete ascertainment. The model is a useful starting point, not a guarantee that recurrent events are independent within patients.
The prior parameters have rate units: \(b_g\) is measured in person-time, so \(b_g+T_g\) is also person-time. The shape parameter behaves like an event-count contribution in the posterior update. Priors should be chosen on a clinically sensible rate scale and examined for sensitivity; a prior that seems numerically small in one unit of time may not be small after changing years to days.
For independent group-specific priors and likelihoods, the posterior distributions for \(\lambda_T\) and \(\lambda_C\) are independent, where \(T\) denotes trial and \(C\) denotes external control. A central comparative quantity is the rate ratio \(\theta=\lambda_T/\lambda_C\). Its posterior summarizes uncertainty in the relative event rate, conditional on the model, prior, observed data, and comparison assumptions.
Why the Posterior Update Has This Form
The likelihood for a group count \(D\), given person-time \(T\), is proportional as a function of \(\lambda\) to \(\lambda^D e^{-\lambda T}\); factors not involving \(\lambda\) can be omitted. Multiplying by a Gamma prior kernel gives
This is the kernel of a Gamma distribution with shape \(a+D\) and rate \(b+T\), which establishes the posterior update. The same result also shows why person-time, not merely the number of patients, enters the rate update.
Worked Example: Defining Events and Calculating Person-Time
Suppose a hypothetical routine-care cohort defines a new exacerbation as an episode requiring a qualifying treatment after at least 14 event-free days. Four patients contribute 1.5, 2.0, 1.0, and 2.5 years of eligible, observable follow-up. Their qualifying event counts are 0, 2, 1, and 3.
The total count is \(D=0+2+1+3=6\), and total person-time is \(T=1.5+2.0+1.0+2.5=7.0\) person-years. The observed event rate is
This calculation is meaningful only if the four follow-up durations represent time under the same eligibility and ascertainment rules, and if the 14-day episode rule was applied consistently. It describes an average event rate over the contributed person-time; it does not imply that every patient has the same underlying rate.
Worked Example: Bayesian Trial-to-External-Control Rate Ratio
In a hypothetical comparison, trial patients have 18 events over 72 person-years, while external controls have 30 events over 60 person-years. Assume the Poisson model stated above and independent \(\operatorname{Gamma}(1,1)\) priors for both rates, with the rate parameter measured per year.
The assumptions here are that the event definition and follow-up rules are aligned, each group has a stable rate over its analyzed period, and the Poisson model is adequate. Those assumptions are substantive and need diagnostics; the calculation alone cannot establish them. The posterior distributions are
The posterior mean trial rate is \(19/73=0.2603\) events per person-year. The posterior mean control rate is \(31/61=0.5082\) events per person-year. The ratio of these posterior mean rates is \(0.2603/0.5082=0.5122\), but that is not the posterior mean of the rate ratio.
Since the posteriors are independent and a Gamma variable with shape \(k>1\) and rate \(r\) has \(E(1/\lambda)=r/(k-1)\), the posterior mean rate ratio is
Thus, under this model and prior, the posterior mean of the trial-to-control rate ratio is about 0.530. It is a summary of a posterior distribution, not a probability that the trial rate is lower. A full uncertainty statement would report a credible interval or a posterior probability such as \(P(\lambda_T/\lambda_C<1\mid\text{data})\), calculated from the joint posterior, for example by drawing paired posterior samples and computing their ratios.
Adjustment and a Common Target Population
A crude rate comparison can be misleading if trial and external-control patients differ in prognostic characteristics. Adjustment can be performed by estimating rates within covariate strata and standardizing them to a shared target distribution. This requires adequate overlap and measured covariates sufficient for the intended comparison; it does not eliminate bias from unmeasured or poorly measured differences.
One transparent rate-standardization calculation uses target weights \(w_j\), where \(w_j\geq0\) and \(\sum_j w_j=1\), across strata \(j\). If \(r_{gj}\) is the estimated rate for group \(g\) in stratum \(j\), then the standardized rate is \(\sum_j w_jr_{gj}\). The weights define the target population and must be the same for both groups. A Bayesian analysis can carry uncertainty in the stratum-specific rates through to the standardized rates and their ratio.
Worked Example: Standardizing Rates to the Trial Mix
Consider two hypothetical age strata. In the younger stratum, the trial has 10 events over 40 person-years and external controls have 8 over 40. In the older stratum, the corresponding figures are 8 over 20 and 20 over 40. Suppose the target is the trial’s person-time distribution: two-thirds younger and one-third older.
The stratum-specific observed rates are trial: \(10/40=0.250\) and \(8/20=0.400\) events per person-year; external control: \(8/40=0.200\) and \(20/40=0.500\) events per person-year. The trial crude rate is \(18/60=0.300\). The external crude rate is \(28/80=0.350\), giving a crude rate ratio \(0.300/0.350=0.8571\).
Standardizing both groups to the stated trial mix gives
events per person-year, and the standardized rate ratio is \(0.300/0.300=1.00\). Here the crude and standardized comparisons differ because the groups have different age distributions. This arithmetic illustrates adjustment, not proof that age is the only source of noncomparability. A causal interpretation additionally requires appropriate design and assumptions about confounding and selection.
Diagnostics, Alternatives, and Limitations
Before interpreting a rate ratio, examine whether the count model and data construction are credible. Useful checks include plotting cumulative events against person-time, comparing rates over calendar time and follow-up intervals, inspecting patient-level event-count distributions, and checking whether a small number of patients contribute a large share of events. Compare mean and variance of counts across clinically meaningful groups; substantial excess variation is a warning that a simple Poisson model may understate uncertainty.
Routine-care records can miss events, duplicate encounters, or change coding practices over time. Unequal sensitivity of event capture between the trial and external data source can bias a rate ratio even when person-time is calculated perfectly. Also inspect how observation ends. If loss to follow-up is related to event risk, treating the remaining observed time as representative may be misleading. Calendar-time drift, selection into the external cohort, and residual confounding remain concerns from external-control analyses generally.
| Approach | What it summarizes | Key caution |
|---|---|---|
| Poisson person-time rate | Events per unit of observed time | Can understate uncertainty when counts are overdispersed or clustered within patients |
| Negative binomial count model | Counts with extra-Poisson variation, often using log person-time as an offset | Requires an appropriate dispersion model and still needs comparable groups |
| Time to first event | Time until a patient’s first qualifying event | Does not use subsequent recurrences and answers a different question |
| Recurrent-event survival models | Event timing and potentially changing risk over follow-up | Require assumptions about event dependence, risk structure, and censoring |
The aggregate Gamma-Poisson model is attractive for its clear person-time interpretation and conjugate update. It is limited when rates vary substantially across patients or time, recurrent events are strongly dependent, or event intensity changes after a prior event. In those settings, a hierarchical model, negative binomial model, or recurrent-event model may better represent the data. Model complexity does not solve poor endpoint harmonization or external-control confounding, and alternative models should be justified by the estimand and data structure rather than chosen only to obtain a preferred result.
A further interpretive pitfall is to describe a rate ratio below one as a reduction in the probability that a patient has any event. A rate ratio compares event rates per person-time, not the proportion of patients who ever experience an event. Recurrent events can also make a group’s total count sensitive to a few patients with many episodes. Report the event definition, total events, person-time, rate units, model, uncertainty, and the limitations of the external comparison together.
Check Your Understanding
Answer each question, then compare your reasoning with the brief solutions.
- A group has 12 events over 30 person-years. What is its rate, and what are the units?
- Why can two groups with the same event count have different rate estimates?
- With a Gamma prior of shape \(a\) and rate \(b\), and a Poisson count \(D\) over person-time \(T\), state the posterior distribution.
- When is the posterior mean of a Gamma-distributed control rate’s reciprocal finite?
- Give one reason why a correctly calculated external-control rate ratio may still be biased.
Solutions. (1) \(12/30=0.400\) events per person-year. (2) Their person-time may differ; rate divides the count by contributed time. (3) The posterior is \(\operatorname{Gamma}(a+D,b+T)\) in shape-rate form. (4) For shape \(k>1\); then \(E(1/\lambda)=r/(k-1)\) when the rate parameter is \(r\). (5) Examples include residual confounding, differential event ascertainment, non-overlap, or informative loss to follow-up. Correct rate arithmetic does not remove these sources of bias.