Why Repeated Events Need a Rate Model
A patient may experience several adverse events during follow-up. Treating each event as if it came from a different patient discards the fact that events from one patient may be related. At the same time, patients may contribute different amounts of observation time: someone followed for a year has more opportunity to experience an event than someone followed for a month. A safety analysis should therefore describe both the number of events and the time during which each patient was at risk.
The central quantity is often an event rate: the expected number of recurrent events per unit of time at risk. It is not the same as the probability that a patient experiences at least one event. A rate can exceed one event per person-year, because the same patient can contribute multiple events. This tutorial focuses on modeling recurrent counts and rates in relation to exposure, including methods that account for dependence among events from the same patient.
Time at risk must match the safety question and the event definition. It may exclude periods when an event cannot be observed or when a prespecified risk window is inactive. The risk-window decisions established in the earlier material on defining risk windows for exposure-related safety should be applied consistently. Counting events in one window while using a different window for the time-at-risk denominator can distort rates.
Poisson Rate Models and Their Assumptions
A basic model treats each patient’s event count as Poisson, conditional on that patient’s covariates and observation time. Let \(C_i\) denote exposure, \(T_i\) time at risk, and \(x_i\) other covariates. A log-linear rate model is
Equivalently, the log of expected count is modeled with \(\log(T_i)\) as an offset: \(\log(\mu_i)=\log(T_i)+\beta_0+\beta_1C_i+x_i^\top\gamma\). The offset coefficient is fixed at one; it accounts for the fact that twice as much time at risk gives twice the expected count when the rate is unchanged. The exponentiated linear predictor without the offset is the event rate per unit of time.
Under this model, \(\exp(\beta_1)\) is the conditional rate ratio for a one-unit increase in exposure, holding the other covariates fixed. The unit of exposure must be stated. A coefficient for exposure measured in mg/L, for example, describes a one mg/L increase; changing the exposure scale changes the coefficient but not the fitted rates. A rate ratio compares expected event rates, not event probabilities, and does not establish a causal effect of exposure.
Worked Example: Comparing Rates With Unequal Time at Risk
In a hypothetical safety data set, a higher-exposure group contributes 60 person-years and has 18 recurrent events. A lower-exposure group contributes 80 person-years and has 12 events. First calculate the observed rates and their ratio.
The higher-exposure rate is \(18/60=0.3000\) events per person-year. The lower-exposure rate is \(12/80=0.1500\) events per person-year. The rate ratio is therefore \(0.3000/0.1500=2.000\). The observed event rate is twice as high in the higher-exposure group in this hypothetical comparison.
For a simple approximate interval, suppose the group counts are independent Poisson counts and the follow-up times are treated as fixed. The standard error of the log rate ratio is \(\sqrt{1/18+1/12}=0.3727\). The log rate ratio is \(\log(2)=0.6931\), so its approximate 95% interval on the log scale is \(0.6931\pm1.96(0.3727)=(-0.0374,1.4236)\). Exponentiating the limits gives \((\exp(-0.0374),\exp(1.4236))\), or approximately \((0.9633,4.152)\).
This interval is compatible with rate ratios from about 0.9633 to 4.152 under the stated approximation. It includes 1, so these data do not provide strong evidence of a difference at the two-sided 5% level. This calculation treats events as Poisson counts and does not account for additional within-patient heterogeneity or confounding; it is a useful rate comparison, not a substitute for a suitable patient-level model when those features matter.
Accounting for Within-Patient Dependence
Repeated events can cluster within patients. Some patients may be more susceptible to adverse events because of measured or unmeasured characteristics, making one event a marker of elevated risk for later events. A basic Poisson model can then underestimate uncertainty if it treats the observed counts as having only Poisson variation. A larger variance than the mean is called overdispersion. It may reflect patient heterogeneity, misspecified exposure effects, omitted covariates, or other features of the data; it is a diagnostic signal, not a diagnosis of its cause.
One response is to retain the Poisson mean model but use a patient-clustered robust (sandwich) variance estimate. This allows the variance estimate to accommodate dependence or extra variation among events from the same patient, provided there are enough independent patients for the approximation to be reliable. It changes the uncertainty estimate, not the fitted mean structure. It does not by itself model why some patients have higher rates, fix a misspecified mean, or remove confounding.
Another approach is a negative binomial count model, which allows the count variance to exceed its mean according to a specified dispersion structure. This may be useful for patient-level counts, but does not automatically describe event timing or the way a patient’s risk changes after an event. A shared frailty model represents latent patient-level rate differences explicitly.
The conditional interpretation of exposure effects matters. In the shared-frailty model, \(\exp(\beta_1)\) compares rates for a one-unit exposure increase among patients with the same frailty value and the same other covariates. The distribution of frailty describes residual variation across patients, not a measured biological mechanism. Its assumptions, including the chosen frailty distribution and its relationship to exposure, should be treated as modeling choices.
Worked Example: How Shared Frailty Changes Count Variation
Suppose a hypothetical patient has an expected count \(m=0.8\) under the population-average rate component over the patient’s observation time, and the shared gamma frailty variance is \(\theta=0.5\). Conditional on the frailty, the count has mean \(mU\) and Poisson variance \(mU\). Derive the marginal mean and variance, then compare them with a Poisson model.
The marginal mean is \(E(N)=E\{E(N\mid U)\}=E(mU)=mE(U)=0.8\). By the law of total variance, \(\operatorname{Var}(N)=E\{\operatorname{Var}(N\mid U)\}+\operatorname{Var}\{E(N\mid U)\}\). The first term is \(E(mU)=m\). The second is \(\operatorname{Var}(mU)=m^2\theta\). Thus \(\operatorname{Var}(N)=m+\theta m^2=0.8+0.5(0.8^2)=0.8+0.32=1.12\).
A Poisson count with mean 0.8 would have variance 0.8, whereas this frailty mixture has variance 1.12. The extra variation arises because patients with larger frailty values tend to have more events. This calculation illustrates the model’s implication; it does not establish that a gamma frailty distribution is appropriate for a particular data set.
Recurrent-Event Intensity Models
When event times and changing covariates are available, a recurrent-event survival formulation can model the event intensity over follow-up rather than only the total count. Let \(N_i(t)\) be the cumulative number of events for patient \(i\) by time \(t\), and let \(Y_i(t)\) indicate whether that patient is under observation and at risk at time \(t\). A common conditional intensity specification is
Here \(\lambda_0(t)\) is a baseline event intensity, \(C_i(t)\) is exposure at time \(t\), and the other covariates may also vary over time. The intensity is the instantaneous expected event count per unit time, conditional on the patient’s observed history and model variables. A recurrent-event model must specify how follow-up and risk status are represented and how event history enters the model, if it does. The displayed form does not automatically make risk depend on the number or timing of prior events.
A shared frailty \(U_i\) links a patient’s event intensities and induces within-patient dependence after the frailty is integrated out. Without a frailty term, a recurrent-event intensity analysis may still use patient-level robust variance estimation to avoid treating a patient’s multiple events as independent contributions to uncertainty. The exposure coefficient describes a conditional intensity ratio under the specified model; interpretation depends on the time scale, risk process, covariate history, and any frailty conditioning.
Worked Example: Interpreting an Exposure Coefficient
Suppose a hypothetical fitted log-rate model, with exposure \(C\) measured in mg/L, is \(\log(\text{rate})=-2.300+0.400C\), with rate measured in events per person-year. Calculate the rate at \(C=2.000\) mg/L, the expected count for 0.5000 person-years at that exposure, and the rate ratio for a 1.000 mg/L increase.
At \(C=2.000\), the log rate is \(-2.300+0.400(2.000)=-1.500\). Thus the rate is \(\exp(-1.500)=0.2231\) events per person-year. Over 0.5000 person-years, the expected count is \(0.5000(0.2231)=0.1116\) events.
For a 1.000 mg/L increase, the log rate changes by \(0.400(1.000)=0.400\), so the rate ratio is \(\exp(0.400)=1.492\). Under this fitted model, the rate is estimated to be 1.492 times as high per 1 mg/L increase, at otherwise fixed covariates. This is a model-based association, not proof that increasing exposure causes more events.
Choosing and Checking an Approach
The main approaches answer related but not identical needs. Choose the simplest model that reflects the data structure and the estimand, then check whether its assumptions are plausible.
| Approach | What it handles | Key limitation |
|---|---|---|
| Poisson count model with time offset | Unequal follow-up and covariate effects on expected rates | Conditional variance equals the mean; basic formulation does not account for extra patient-level dependence |
| Poisson mean model with patient-clustered robust variance | Uncertainty that allows dependence among observations from the same patient | Does not explain heterogeneity or repair an incorrect mean model |
| Negative binomial count model | Extra-Poisson variation in patient-level counts | Its variance structure does not, by itself, model event timing or all recurrent-event history |
| Shared frailty recurrent-event model | Latent patient heterogeneity and dependence across recurrent event times | Results depend on the frailty and intensity specifications and can be sensitive to sparse data |
Useful checks include comparing observed and model-predicted counts across exposure groups and follow-up durations; examining the distribution of counts per patient, including the fraction with zero events and the upper tail; and checking whether the variance substantially exceeds the Poisson mean. For intensity models, inspect fit over time and whether event patterns differ after prior events. Assess whether exposure values and time at risk are correctly aligned, whether a few patients dominate the event total, and whether the fitted exposure relationship is plausible over the observed range. These checks can reveal misspecification, but no single diagnostic proves the model is correct.
A recurrent-event analysis is limited by how events are defined and recorded. Events that are not independent clinical episodes, or that are subject to inconsistent reporting, may not support a meaningful count-rate interpretation. If dropout or treatment discontinuation is related to event risk, simply using observed time at risk may not remove selection bias. Exposure itself may also be associated with baseline risk or treatment changes. As emphasized in the earlier material on missing outcomes and informative dropout, the observation process can be informative; the model’s conclusions then require careful assumptions and sensitivity analysis. A rate model does not convert observational exposure comparisons into causal effects.
The practical decision is therefore not simply “Poisson or not.” First define the event and risk window; then determine whether the target is a rate based on total counts or a time-varying intensity; include exposure and relevant covariates with appropriate time alignment; and decide how patient-level dependence will be handled. Report the time unit, exposure contrast, rate ratio or rate estimate, uncertainty, and the modeling approach clearly.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A group has 24 events over 120 person-years. What is its observed rate, with units?
- In a log-rate model, exposure has coefficient 0.20 per mg/L. What is the rate ratio for a 2 mg/L increase?
- Why can a patient-clustered robust variance estimate be useful, and what does it not fix?
- Under a shared gamma frailty model with \(E(U)=1\) and variance \(\theta\), derive the marginal variance of a count whose conditional mean is \(mU\).
Solutions. (1) The observed rate is \(24/120=0.2000\) events per person-year. (2) The log rate changes by \(0.20(2)=0.40\), so the rate ratio is \(\exp(0.40)=1.492\) for a 2 mg/L increase. (3) It can adjust the estimated uncertainty for dependence or extra variation among observations from the same patient, subject to adequate numbers of independent patients. It does not change the fitted mean, remove confounding, or correct a misspecified mean model. (4) By total variance, \(\operatorname{Var}(N)=E\{\operatorname{Var}(N\mid U)\}+\operatorname{Var}\{E(N\mid U)\}=E(mU)+\operatorname{Var}(mU)=m+m^2\theta\), because the conditional count is Poisson and \(E(U)=1\).