Tutorials › Biostatistics › Sample Size for Count/Poisson Outcomes

Sample Size & Study Design

Sample Size for Count/Poisson Outcomes

How to plan sample size for count outcomes using Poisson event rates, rate ratios, person-time, unequal follow-up, and overdispersion, with worked examples and practical guidance for negative binomial designs.

Advanced 14 min read

What You'll Learn

  • How count outcomes differ from binary and continuous endpoints
  • How Poisson event rates and person-time determine information
  • How rate ratios translate into sample-size requirements
  • Why exposure time and follow-up are central to Poisson designs
  • How overdispersion changes the required sample size
  • When negative binomial models are more appropriate than Poisson models

Introduction

Count outcomes occur frequently in clinical research. Examples include the number of disease exacerbations, hospitalizations, seizures, migraine attacks, infections, rescue-medication uses, or other recurrent events observed during a specified period of follow-up.

Unlike a binary endpoint, where each participant contributes an outcome such as yes or no, a count endpoint can take values such as 0, 1, 2, 3, and so forth. This creates a different statistical structure and requires a different approach to sample size planning.

A common starting point is the Poisson distribution, particularly when events are relatively uncommon and the variance is approximately equal to the mean.

Key idea: For count outcomes, the amount of information is closely related to the number of events observed and the amount of person-time at risk, not simply the number of participants. A study with 500 participants followed for one month may contain far less information than a study with 500 participants followed for two years.

What Is a Count Outcome?

Let \(Y_i\) denote the number of events observed for participant \(i\) during a defined period. For example:

Participant Follow-Up Number of Events
112 months0
212 months2
312 months1
48 months3
512 months0

The resulting endpoint is not simply whether an event occurred. A participant can contribute multiple events during follow-up.

Count outcomes can therefore contain substantially more information than binary endpoints when recurrent events are common and appropriately analyzed.

The Poisson Distribution

The Poisson distribution is commonly used to model the number of events occurring during a fixed amount of exposure time. If:

$$ Y_i\sim\text{Poisson}(\mu_i) $$

then:

$$ E(Y_i)=\mu_i $$ $$ Var(Y_i)=\mu_i $$

The equality between the mean and variance is the defining feature of the Poisson model.

For example, if the expected number of events per participant is 2:

$$ E(Y)=2 \qquad\text{and}\qquad Var(Y)=2 $$

This assumption is convenient mathematically, but it is frequently violated in clinical data. That issue becomes important later when we discuss overdispersion.

Event Rates and Person-Time

Count outcomes are often expressed as an event rate:

$$ \lambda = \frac{\text{Number of Events}} {\text{Total Person-Time}} $$

For example, suppose a treatment group experiences 120 events over 600 person-years of observation. The estimated event rate is:

$$ \lambda = \frac{120}{600} = 0.20 $$

Thus, the rate is 0.20 events per person-year, or equivalently 20 events per 100 person-years.

Measure Interpretation
0.20 events/person-year Average of 0.20 events per year of observation
20 events/100 person-years Equivalent presentation of the same rate
200 events/1,000 person-years Another equivalent presentation

Using person-time is particularly useful when participants have different amounts of follow-up.

Poisson Regression

A common analysis is Poisson regression. The expected event count can be modeled as:

$$ \log(\mu_i) = \beta_0+\beta_1X_i $$

When exposure time differs between participants, an offset is commonly included:

$$ \log(\mu_i) = \beta_0+\beta_1X_i+\log(t_i) $$

where \(t_i\) is the participant's exposure time. Equivalently:

$$ \log\left(\frac{\mu_i}{t_i}\right) = \beta_0+\beta_1X_i $$

The logarithm of exposure time is therefore called an offset because its coefficient is fixed at one.

Why this matters for sample size: If participants contribute different amounts of follow-up, the relevant quantity is expected total person-time and the resulting expected number of events—not simply the number of randomized participants.

The Rate Ratio

Suppose the control-group event rate is:

$$ \lambda_C $$

and the treatment-group event rate is:

$$ \lambda_T $$

The rate ratio is:

$$ RR = \frac{\lambda_T}{\lambda_C} $$

A rate ratio below 1 indicates fewer events per unit of person-time in the treatment group.

For example:

$$ RR=0.70 $$

corresponds to a 30% reduction in the event rate.

Rate Ratio and the Log Scale

Poisson regression operates naturally on the logarithmic scale. The treatment effect is:

$$ \beta_1=\log(RR) $$

Therefore, if:

$$ RR=0.70 $$ $$ \beta_1=\log(0.70)\approx-0.357 $$

The logarithmic scale is important because rate ratios are multiplicative, whereas regression coefficients are additive on the log-rate scale.

Basic Sample Size Principle

For a simple two-group Poisson comparison with equal exposure time, sample size can be understood primarily through the expected number of events.

Let:

  • \(R_C\) = control event rate
  • \(R_T\) = treatment event rate
  • \(RR=R_T/R_C\) = rate ratio
  • \(T\) = follow-up time per participant
  • \(n\) = participants per group

The expected number of events in each group is approximately:

$$ E_T=nR_TT $$ $$ E_C=nR_CT $$

The total expected number of events is therefore:

$$ E_{total}=nT(R_T+R_C) $$

This illustrates why longer follow-up or a higher event rate can substantially reduce the number of participants required.

Approximate Power Formula for Comparing Two Poisson Rates

For two independent Poisson rates with equal exposure, a useful large-sample approximation for testing:

$$ H_0:R_T=R_C $$ $$ H_A:R_T\ne R_C $$

can be expressed in terms of the expected event rates. For equal follow-up time, an approximate number of participants per group is:

$$ n \approx \frac{ \left[ Z_{1-\alpha/2} \sqrt{R_T+R_C} + Z_{1-\beta} \sqrt{\frac{R_T}{RR^2}+R_C} \right]^2 } { T(R_T-R_C)^2 } $$

This expression is useful for understanding the major drivers of sample size, although software-based calculations are generally preferable for final protocol planning.

A more intuitive approach is often to formulate the design in terms of the expected event counts and then convert the required exposure into participants.

A Complete Worked Example

Suppose a randomized trial evaluates a treatment intended to reduce recurrent hospitalizations. The primary endpoint is the number of hospitalizations during one year.

Parameter Planning Assumption
Control event rate 0.50 events/person-year
Treatment event rate 0.35 events/person-year
Rate ratio 0.70
Follow-up 1 year
Two-sided α 0.05
Power 90%

The anticipated rate ratio is:

$$ RR= \frac{0.35}{0.50} = 0.70 $$

Thus, the treatment is assumed to reduce the hospitalization rate by 30%.

Step 1: Determine the Relevant Rate Difference

The absolute difference in event rates is:

$$ R_C-R_T = 0.50-0.35 = 0.15 $$

The treatment group is therefore expected to experience 0.15 fewer events per person-year.

Step 2: Determine the Critical Values

For a two-sided α of 0.05:

$$ Z_{1-\alpha/2}=1.96 $$

For 90% power:

$$ Z_{1-\beta}=1.282 $$

Step 3: Approximate the Required Participants

Using the large-sample approximation:

$$ n \approx \frac{ \left[ 1.96\sqrt{0.35+0.50} + 1.282\sqrt{\frac{0.35}{0.70^2}+0.50} \right]^2 } { (0.35-0.50)^2 } $$

This produces an approximate requirement of about:

$$ \boxed{n\approx166\text{ participants per group}} $$

Thus, approximately 332 participants would be required before allowing for non-evaluable participants or other design complications.

Interpretation: The calculation is driven by the expected event rates, the magnitude of the rate ratio, the amount of follow-up, the type I error rate, and the desired power. It is not determined by the number of participants alone.

Expected Number of Events

With 166 participants per group and one year of follow-up, the expected number of events is approximately:

$$ E_C=166(0.50)=83 $$

and:

$$ E_T=166(0.35)=58.1 $$

The total expected number of events is therefore approximately:

$$ E_{total}=83+58.1\approx141 $$

This provides a useful way to sanity-check the design. The study is expected to observe roughly 141 events across both treatment groups.

Why Event Counts Matter

Imagine two studies with the same 300 participants.

Study Participants Follow-Up Event Rate Expected Events
A 300 1 year 0.10/year 30
B 300 1 year 0.50/year 150

Study B contains substantially more events and therefore substantially more information for estimating and comparing event rates.

This is one of the fundamental differences between count-outcome studies and binary-outcome studies.

Follow-Up Time and Sample Size

Suppose the same trial can follow participants for two years instead of one. Ignoring losses to follow-up and other complications, the available person-time approximately doubles.

$$ \text{Person-Time} = N\times T $$

Therefore:

$$ N(2T) = 2NT $$

Longer follow-up can consequently reduce the number of participants required, although the relationship is not always as simple in real clinical trials.

For recurrent-event outcomes, longer follow-up can also change the event process, treatment effect, censoring distribution, and risk of informative dropout.

Do not assume that doubling follow-up automatically halves sample size. The simple relationship applies under restrictive assumptions. In practice, administrative censoring, staggered entry, dropout, changing event rates, and time-varying treatment effects can all alter the effective information.

Unequal Follow-Up

Participants in clinical studies frequently contribute different amounts of person-time. For example, one participant may contribute 12 months while another contributes only 7 months.

The total exposure is:

$$ T_{total} = \sum_{i=1}^{N}t_i $$

If the average exposure is approximately 0.8 years per participant, then 500 participants provide approximately:

$$ 500(0.8)=400 $$ $$ \text{person-years} $$

The expected event count can then be approximated as:

$$ E(Y) = \lambda T_{total} $$

Accounting for Loss to Follow-Up

Suppose the study requires 332 evaluable participants and investigators expect 10% to become non-evaluable. A simple enrollment inflation is:

$$ N_{enroll} = \frac{332}{1-0.10} = 368.9 $$

Therefore:

$$ \boxed{N_{enroll}=369} $$

However, for recurrent-event studies, dropout may reduce person-time rather than simply remove participants. That distinction can matter substantially.

Person-Time Inflation Is Often More Appropriate

Suppose participants are expected to contribute an average of 12 months of follow-up, but the expected average is only 10.8 months because of dropout. The effective exposure is:

$$ \frac{10.8}{12}=0.90 $$

or approximately 90% of the planned exposure.

If the original calculation requires 300 participants under complete follow-up, a rough exposure-based adjustment would therefore be:

$$ N_{adjusted} \approx \frac{300}{0.90} = 333.3 $$

giving approximately 334 participants.

Practical point: For Poisson designs, consider whether the inflation factor should be based on participants, expected person-time, or expected events. These are not always equivalent.

Poisson Assumption: Mean Equals Variance

The Poisson model assumes:

$$ Var(Y)=E(Y) $$

Clinical count data often violate this assumption. A common situation is:

$$ Var(Y)>E(Y) $$

This is called overdispersion.

For example, suppose the mean number of events is 1.5 but the observed variance is 4.5.

$$ \frac{Var(Y)}{E(Y)} = \frac{4.5}{1.5} = 3 $$

The data exhibit substantial overdispersion relative to the Poisson assumption.

Why Overdispersion Matters for Sample Size

If the true variance is larger than assumed under the Poisson model, standard errors are larger than expected. A study designed under the strict Poisson assumption may therefore have less power than planned.

A simple approximation is to apply a dispersion inflation factor to the Poisson sample size:

$$ N_{adjusted} = \phi N_{Poisson} $$

where \(\phi\) is the dispersion factor.

For example, if:

$$ \phi=1.5 $$

and the original Poisson calculation requires 332 participants:

$$ N_{adjusted} = 1.5(332) = 498 $$

Approximately 498 participants would therefore be required under this simple inflation approach.

Important: The dispersion factor should not be selected arbitrarily. It should be justified using historical data, pilot data, literature, or a defensible planning assumption.

Negative Binomial Models

When substantial overdispersion is anticipated, the negative binomial model is often a more appropriate primary analysis than a Poisson model.

One common parameterization gives:

$$ Var(Y) = \mu+\alpha\mu^2 $$

where:

  • \(\mu\) is the mean count
  • \(\alpha\) is an overdispersion parameter

When \(\alpha>0\), the variance exceeds the Poisson variance.

The negative binomial distribution can therefore accommodate heterogeneity in event rates across participants that is not captured by the Poisson model.

Why Clinical Count Data Are Often Overdispersed

Suppose two patients have the same nominal follow-up. One patient experiences no events, while another experiences repeated events because of a much higher underlying susceptibility.

This patient-to-patient heterogeneity can create greater variability than the Poisson model permits.

Overdispersion can arise from:

  • Heterogeneity in baseline event risk
  • Unmeasured prognostic factors
  • Clustering of recurrent events
  • Subgroups with different event rates
  • Time-varying event intensity
  • Dependence between recurrent events

Excess Zeros

Another common feature of clinical count data is a large number of zero counts. For example, many participants may never experience a hospitalization during follow-up, while a smaller subgroup experiences several.

A high proportion of zeros does not automatically imply that a zero-inflated model is required.

The investigator should first determine whether the observed zero frequency can reasonably arise from the chosen count distribution and study design.

Potential models include:

  • Poisson regression
  • Negative binomial regression
  • Zero-inflated Poisson models
  • Zero-inflated negative binomial models
  • Hurdle models
Model choice should follow the data-generating process. A large number of zeros alone is not sufficient justification for a zero-inflated model.

Rate Ratio vs. Mean Ratio

For count outcomes, investigators sometimes describe treatment effects using different terminology. With an exposure offset, the primary parameter from Poisson or negative binomial regression is naturally interpreted as a rate ratio.

If every participant has exactly the same follow-up duration, a ratio of expected counts can be numerically equivalent to a rate ratio.

When exposure times differ, however, the rate interpretation becomes particularly important.

Equal vs. Unequal Allocation

The most statistically efficient allocation for a simple two-group comparison is often close to equal allocation.

However, unequal allocation may be appropriate when:

  • One treatment is substantially more expensive
  • One treatment is difficult to administer
  • The control group is ethically or scientifically prioritized
  • The event rates differ substantially
  • External controls are available

Changing the allocation ratio changes the amount of information contributed by each group and should therefore be incorporated into the sample-size calculation.

Unequal Allocation and Exposure

Let the allocation ratio be:

$$ r=\frac{n_T}{n_C} $$

where \(r\) is the ratio of treatment to control participants.

The expected event counts become:

$$ E_T=n_TR_TT $$ $$ E_C=n_CR_CT $$

A design with very unequal allocation may therefore require more total participants to obtain the same statistical information.

Testing a Rate Ratio

A typical hypothesis is:

$$ H_0:RR=1 $$ $$ H_A:RR\ne1 $$

For a treatment expected to reduce the event rate:

$$ H_A:RR<1 $$

The analysis is generally performed on the logarithmic scale:

$$ H_0:\log(RR)=0 $$

and the estimated effect can be converted back to a rate ratio using:

$$ RR=e^{\hat{\beta}} $$

Precision-Based Sample Size for a Rate Ratio

Not every study is designed around statistical power. A study may instead seek a specified confidence interval width for the rate ratio.

Because the rate ratio is analyzed on the logarithmic scale, precision is often specified for:

$$ \log(RR) $$

Suppose the standard error of the log rate ratio is approximately:

$$ SE\{\log(\widehat{RR})\} $$

Then the approximate 95% confidence interval is:

$$ \log(\widehat{RR}) \pm 1.96SE\{\log(\widehat{RR})\} $$

Exponentiating gives the confidence interval for the rate ratio itself.

Therefore, precision-based planning can be performed by specifying an acceptable width on either the log scale or the rate-ratio scale.

Count Outcomes With Exposure Offsets

Suppose the study records the number of infections and each participant has different follow-up time. The model may be:

$$ \log(\mu_i) = \beta_0+\beta_1X_i+\log(t_i) $$

The expected count is therefore:

$$ \mu_i = t_i\exp(\beta_0+\beta_1X_i) $$

The offset ensures that the model compares event rates rather than raw event counts.

Common mistake: Do not analyze raw counts without accounting for exposure time when participants have materially different follow-up durations. The appropriate estimand may be an event rate rather than an event count.

Recurrent Events Are Not Always Simple Poisson Events

A recurrent event can occur multiple times within the same participant. Those observations are therefore not necessarily independent.

For example, if one patient experiences three exacerbations, those events may share underlying patient-level characteristics.

Depending on the scientific question, the analysis might use:

  • Poisson regression
  • Negative binomial regression
  • Generalized estimating equations
  • Frailty models
  • Andersen–Gill models
  • Prentice–Williams–Peterson models
  • Other recurrent-event survival models

The sample-size calculation should correspond to the planned primary analysis.

Event Rate Assumptions Are Critical

Suppose the control event rate is assumed to be 0.50 events per person-year. If the true rate is only 0.20, substantially fewer events will be observed than anticipated.

For 300 participants followed for one year:

$$ E(Y)=300(0.50)=150 $$

under the original assumption, but:

$$ E(Y)=300(0.20)=60 $$

under the lower rate.

The difference is substantial.

Event-rate misspecification can be as consequential as treatment-effect misspecification. If the baseline rate is overestimated, the planned study may observe too few events to achieve its intended power.

Event Rate Uncertainty

Historical studies may provide several plausible estimates of the control event rate. For example:

Scenario Control Rate Expected Rate Ratio
Optimistic0.600.70
Base Case0.500.70
Conservative0.350.70

A useful planning strategy is to calculate sample size under all plausible scenarios rather than relying on a single point estimate.

This creates a sensitivity analysis of the sample-size assumptions.

Sample Size Sensitivity to the Rate Ratio

The treatment effect is another major driver. Suppose the control rate is 0.50 events/person-year. Consider several possible treatment effects:

Rate Ratio Treatment Rate Interpretation
0.900.4510% rate reduction
0.800.4020% rate reduction
0.700.3530% rate reduction
0.600.3040% rate reduction
0.500.2550% rate reduction

Smaller treatment effects require substantially more information. A trial designed to detect a 10% reduction may therefore require many more participants than a trial designed to detect a 30% reduction.

Count Outcomes With a Clinically Meaningful Effect

The rate ratio used for sample size should correspond to a clinically meaningful difference rather than simply the largest effect that appears plausible.

For example, if a treatment reducing exacerbations by 20% would be considered clinically worthwhile, the sample size should generally be designed around:

$$ RR=0.80 $$

rather than an optimistic assumption such as:

$$ RR=0.50 $$

unless there is strong evidence supporting the larger effect.

Poisson vs. Negative Binomial Planning

Feature Poisson Negative Binomial
Mean-variance relationship Variance = mean Variance exceeds mean
Overdispersion Not directly accommodated Explicitly modeled
Common clinical use Relatively homogeneous event processes Heterogeneous recurrent-event counts
Sample-size risk Can be optimistic if overdispersed Usually requires larger sample
Typical analysis Poisson regression Negative binomial regression

When a Simple Poisson Calculation Is Appropriate

A Poisson-based calculation may be reasonable when:

  • The event process is approximately Poisson
  • Overdispersion is minimal
  • Exposure time is well characterized
  • The expected event rate is reasonably known
  • The planned analysis is Poisson-based
  • The event counts are not dominated by structural zeros

Even then, assumptions should be examined using historical or pilot data when available.

When a Negative Binomial Calculation Is Preferable

A negative binomial design is generally more appropriate when:

  • Historical data demonstrate overdispersion
  • There is substantial heterogeneity in event rates
  • Recurrent events cluster within participants
  • The planned primary analysis is negative binomial regression
  • A Poisson design would clearly underestimate variability

The sample-size method should incorporate the anticipated dispersion parameter rather than simply assuming the Poisson variance structure.

Sample Size Planning in R

A simple Poisson approximation can be implemented directly in R. For the worked example:

alpha <- 0.05
power <- 0.90

z.alpha <- qnorm(1 - alpha / 2)
z.beta  <- qnorm(power)

rate.control <- 0.50
rate.treatment <- 0.35
followup <- 1

n <- (
  z.alpha * sqrt(rate.treatment + rate.control) +
  z.beta * sqrt(
    rate.treatment / (rate.treatment / rate.control)^2 +
    rate.control
  )
)^2 / (
  followup *
  (rate.treatment - rate.control)^2
)

ceiling(n)

The calculation gives an approximate sample size per group of:

# Approximately
# 166 participants per group

The exact implementation used for a protocol should reflect the planned analysis, allocation ratio, exposure assumptions, and any dispersion adjustment.

Applying a Dispersion Inflation Factor in R

Suppose the Poisson calculation gives 332 total participants and historical data suggest a dispersion factor of 1.5:

N.poisson <- 332
dispersion <- 1.5

N.adjusted <- ceiling(
  N.poisson * dispersion
)

N.adjusted
# 498

This is a planning approximation rather than a universal negative-binomial sample-size formula. For important confirmatory studies, the final calculation should preferably use software or simulation that matches the planned negative-binomial model.

Simulation-Based Sample Size Planning

Simulation is particularly valuable when the planned analysis is more complicated than a simple Poisson comparison.

For example, simulation can incorporate:

  • Negative binomial dispersion
  • Unequal follow-up
  • Dropout
  • Staggered enrollment
  • Unequal allocation
  • Covariate adjustment
  • Excess zeros
  • Variable event rates
  • Recurrent-event dependence

A simulation-based calculation can repeatedly generate trial datasets under the assumed data-generating mechanism and determine the proportion of simulated trials that achieve statistical significance.

That proportion estimates the empirical power.

$$ \widehat{Power} = \frac{ \text{Number of simulated trials rejecting }H_0 }{ \text{Total simulated trials} } $$

Simulation becomes especially attractive when the analytical assumptions become too restrictive to represent the actual protocol.

Example Simulation Structure in R

set.seed(123)

nsim <- 2000
n.per.group <- 250

rate.control <- 0.50
rate.treatment <- 0.35

p.values <- numeric(nsim)

for(i in seq_len(nsim)) {

  y.control <- rpois(
    n.per.group,
    lambda = rate.control
  )

  y.treatment <- rpois(
    n.per.group,
    lambda = rate.treatment
  )

  test <- poisson.test(
    c(sum(y.treatment), sum(y.control)),
    T = c(n.per.group, n.per.group)
  )

  p.values[i] <- test$p.value
}

mean(p.values < 0.05)

The resulting value is an empirical estimate of the statistical power under the specified assumptions.

For a more realistic study, the simulation should generate participant-level exposure times, dropout, overdispersion, and the exact analysis model specified in the statistical analysis plan.

Exposure Time as an Offset in R

A Poisson regression with exposure time can be fit using:

fit <- glm(
  events ~ treatment + offset(log(followup)),
  family = poisson,
  data = dat
)

summary(fit)

exp(coef(fit)["treatment"])

The exponentiated treatment coefficient estimates the rate ratio.

For example, if:

coef(fit)["treatment"]
# -0.357

then:

$$ e^{-0.357}\approx0.70 $$

corresponding to an estimated 30% lower event rate.

Negative Binomial Regression in R

A negative binomial model can be fit using the MASS package:

library(MASS)

fit.nb <- glm.nb(
  events ~ treatment + offset(log(followup)),
  data = dat
)

summary(fit.nb)

exp(coef(fit.nb)["treatment"])

The exponentiated treatment coefficient is again interpreted as a rate ratio, but the negative binomial model allows the variance to exceed the mean.

Common Sample Size Mistakes

  1. Using a binary-outcome sample-size formula. Count outcomes have a different variance structure and often require event-rate and exposure assumptions.
  2. Ignoring follow-up time. Person-time is a fundamental source of information for rate-based outcomes.
  3. Assuming the Poisson variance without checking overdispersion. This can produce an overly optimistic sample size.
  4. Using an unrealistic baseline event rate. If the control event rate is overestimated, the study may observe fewer events than planned.
  5. Choosing an unrealistically large treatment effect. A smaller true effect can require substantially more participants.
  6. Ignoring unequal exposure. Different follow-up durations should generally be handled through person-time or an exposure offset.
  7. Ignoring recurrent-event dependence. Multiple events within the same participant are not necessarily independent.
  8. Automatically choosing a zero-inflated model because many observations are zero. The underlying data-generating process should determine the model.
  9. Inflating only for participant dropout. For rate outcomes, loss to follow-up reduces person-time and expected events.
  10. Using a Poisson sample-size calculation for a negative-binomial analysis without accounting for dispersion. The resulting design may be underpowered.
  11. Failing to align the sample-size calculation with the primary analysis. The design should reflect the actual statistical model that will be used.

A Practical Count-Outcome Sample Size Workflow

A useful workflow is:

  1. Define the count endpoint precisely.
  2. Determine whether the endpoint represents recurrent events, events per exposure time, or a fixed-period count.
  3. Specify the primary estimand, such as a rate ratio.
  4. Specify the planned analysis model.
  5. Estimate the control event rate.
  6. Specify the clinically meaningful rate ratio.
  7. Specify the allocation ratio.
  8. Specify the planned follow-up and expected person-time.
  9. Specify the type I error rate and desired power.
  10. Calculate the required sample size or expected event count.
  11. Assess overdispersion using historical or pilot data.
  12. Consider negative binomial or simulation-based planning when appropriate.
  13. Inflate for loss of person-time, dropout, and other sources of non-evaluable exposure.
  14. Perform sensitivity analyses across plausible event rates and treatment effects.
  15. Ensure that the final calculation matches the planned SAP analysis.

Scenario Analysis

Because event-rate assumptions can be uncertain, a protocol should often examine several scenarios. For example:

Scenario Control Rate Rate Ratio Planning Implication
Favorable 0.60 0.70 More events expected
Base case 0.50 0.70 Primary planning assumption
Conservative 0.35 0.70 Fewer events expected
Small effect 0.50 0.80 More participants required

The final sample size can then be selected based on a scientifically defensible scenario rather than a single optimistic assumption.

Fixed Follow-Up vs. Event-Driven Designs

Some clinical studies specify a fixed number of participants and follow-up period. Others are effectively event-driven.

In an event-driven design, the study continues until a prespecified number of events has accumulated.

This can be attractive when the event rate is uncertain because statistical information is more directly tied to the number of observed events.

However, event-driven designs require assumptions about:

  • Event accrual rate
  • Enrollment rate
  • Follow-up duration
  • Dropout
  • Administrative censoring
  • Potential treatment effects

The number of participants and calendar duration are therefore still important even when the statistical target is expressed in terms of events.

When an Event-Driven Approach Is Attractive

An event-driven design can be particularly useful when:

  • The primary analysis is strongly event-based
  • The event rate is relatively stable
  • Enrollment can continue until the required event count is reached
  • The sponsor can tolerate uncertainty in the total number enrolled
  • The event endpoint is clinically meaningful

For fixed-duration studies, however, the event rate and expected person-time remain central to sample-size planning.

What a Protocol Should State

A count-outcome sample-size section should clearly document:

  • Primary count endpoint
  • Primary estimand
  • Planned statistical model
  • Control-group event rate
  • Expected treatment-group event rate
  • Expected rate ratio
  • Allocation ratio
  • Follow-up duration
  • Expected person-time
  • Type I error rate
  • Target power
  • Expected dispersion parameter, if applicable
  • Expected dropout or loss of exposure
  • Required total sample size
  • Expected total number of events
  • Method used to account for overdispersion
  • Any simulation methodology used

These assumptions should be sufficiently explicit that another statistician can reconstruct the sample-size calculation.

How the Major Inputs Affect Sample Size

Input Increasing the Input Generally...
Control event rate Increases expected events and may reduce N
Follow-up time Increases person-time and may reduce N
Magnitude of treatment effect Larger effects generally reduce N
Power Increases required N
Type I error stringency Increases required N
Overdispersion Increases required N
Dropout Increases enrollment requirements

The Central Planning Relationship

The fundamental relationship for count outcomes can be summarized conceptually as:

$$ \text{Expected Events} = \text{Event Rate} \times \text{Person-Time} $$

and:

$$ \text{Person-Time} = \sum_{i=1}^{N}t_i $$

Therefore:

$$ \boxed{ E(\text{Events}) = \lambda \sum_{i=1}^{N}t_i } $$

The sample-size problem is then to determine how much exposure is required to distinguish the treatment and control event rates with the desired statistical power or precision.

Central insight: For count outcomes, the most useful question is often not “How many participants do I need?” but rather “How much information—person-time and events—do I need to estimate or detect the rate ratio?”

Summary

Sample-size planning for count outcomes requires a different framework from binary or continuous endpoints. The most common starting point is the Poisson model, in which the number of events is related directly to the amount of exposure time.

The central relationship is:

$$ E(Y)=\lambda T $$

where \(\lambda\) is the event rate and \(T\) is total person-time.

When comparing two treatment groups, the treatment effect is commonly expressed as a rate ratio:

$$ RR= \frac{\lambda_T}{\lambda_C} $$

Sample size is driven by the expected event rates, the clinically meaningful rate ratio, follow-up duration, allocation ratio, type I error rate, and desired power.

A crucial complication is overdispersion. The Poisson model assumes that the variance equals the mean, but clinical recurrent-event data frequently exhibit greater variability. When this occurs, a negative binomial model or an appropriate dispersion adjustment may be required.

Another important consideration is exposure. Participant dropout does not merely reduce the number of participants—it can reduce the amount of person-time and therefore the number of events available for analysis.

For simple designs, analytical approximations can provide useful planning calculations. For complex recurrent-event studies involving negative binomial models, substantial overdispersion, unequal follow-up, staggered enrollment, or other features, simulation is often the most defensible approach.

Bottom line: For count/Poisson outcomes, determine the clinically meaningful rate ratio, baseline event rate, expected person-time, power, and type I error rate. Calculate the information required under the planned model, then assess overdispersion, loss of exposure, and other sources of uncertainty. For recurrent clinical events, do not assume that a simple Poisson calculation is adequate without evaluating whether the mean-variance assumption is reasonable.

References

Cameron, A.C. & Trivedi, P.K. (2010). Microeconometrics Using Stata. Stata Press.
Hilbe, J.M. (2011). Negative Binomial Regression, 2nd ed. Cambridge University Press.
McCullagh, P. & Nelder, J.A. (1989). Generalized Linear Models, 2nd ed. Chapman & Hall.
Rao, C.R. (1965). Linear Statistical Inference and Its Applications, 2nd ed. Wiley.
Whitehead, J. (1980). Sample size calculations for ordered categorical data. Statistics in Medicine, 1, 29–41.
Zou, G. (2004). A modified poisson regression approach to prospective studies with binary data. American Journal of Epidemiology, 159(7), 702–706.