Documentation

32.14 Count and rate endpoints

Count and rate endpoints
Executed or calculated Chapter 32 evidence

Count models use log E(Y)=f(C)+covariates+log(follow-up). With an offset, coefficients describe event rates rather than raw counts. Poisson assumes variance equals mean; quasi-Poisson scales SEs for overdispersion; negative binomial estimates extra heterogeneity.

Core concepts

  • Offset time must be positive and measured consistently.
  • Pearson χ²/df diagnoses dispersion; default auto uses quasi scaling above 1.5.
  • An unbounded negative-binomial size means extra dispersion tends to zero and Poisson is adequate.

Keep five layers separate: the dose assignment, the individual exposure, the endpoint definition, the statistical estimand, and the clinical decision. A fitted curve connects exposure and endpoint within the analysed data; it does not automatically identify the effect of changing dose or exposure in another population.

Worked interpretation

The executed Poisson slope was −0.0245 with IQR rate ratio 0.566. The NB size was about 195,000 with a huge interval, correctly noted as no overdispersion.

Counts, rates, and dispersion

With follow-up T, the model is log μ = f(C)+…+log(T), so μ=T×exp(f(C)+…). The offset coefficient is fixed at one: doubling observation time doubles expected count, all else equal. Without an offset, the model answers a raw-count question and can mistake longer follow-up for higher event risk.

Poisson requires conditional mean equal to variance. Pearson dispersion much above one suggests unmodelled heterogeneity or dependence; quasi-Poisson keeps fitted means but inflates covariance. Negative binomial introduces a dispersion parameter; as its size tends to infinity it approaches Poisson. An enormous, imprecise size therefore indicates no supported extra dispersion, as in the executed analysis.

Check excess zeros, repeat events within subjects, event dependence, recurrent-event risk intervals, and whether terminal events stop observation. A zero-inflated, hurdle, frailty, or recurrent-event model may be needed outside nlmx. Report total person-time and translate a coefficient contrast to a rate ratio and expected rates at clinically relevant exposures.

For a novice, translate every coefficient back to the endpoint scale. Name the starting exposure, ending exposure, predicted outcome at both, contrast, interval, and observed support. For categorical or survival endpoints, also show absolute probabilities or survival estimates because odds and hazard ratios can be hard to interpret clinically.

Quality control and scientific review

Compare observed mean/variance, zero frequency, follow-up distribution, residual dispersion, and recurrent-event assumptions.

Review sample size alone only after checking events, category cells, visit counts, placebo support, exposure overlap, exclusions, and missingness. A statistically precise curve can still be clinically irrelevant, confounded, extrapolated, or based on an endpoint definition that does not match the intended estimand.

Common mistakes

  • Using follow-up as an ordinary covariate instead of offset
  • Choosing NB solely because it is more flexible
  • Treating a significant exposure term as proof that the selected shape or causal story is correct

Evidence to retain

  • exposure definition, window, units, derivation, estimation uncertainty, and distribution by arm;
  • endpoint derivation, time origin/visit, analysis population, missing/censoring rules, and exclusions;
  • candidate models, covariate rationale, contrasts, selection criterion, diagnostics, failed/unstable fits;
  • effect estimates with intervals, observed range, sensitivity analyses, software version, settings, and checksums.

See the previous page, next page, and model and estimand catalogue.