Learn / Biostatistics / Logistic and Poisson regression
Poisson regression: counts, rates and person-time
14 minute read · 6-question quiz
What you will learn
Calculate incidence rates and rate ratios from events and person-time
Fit and interpret a Poisson model with an offset
Detect overdispersion and know the alternatives (negative binomial, robust SEs)
When the outcome is a count of events observed over varying lengths of follow-up, with people entering and leaving at different times, a proportion is the wrong summary. Use a rate: events divided by the total person-time at risk.
Incidence rate = (number of new events)/(total person-time at risk)
If 24 children have malaria during 1,200 child-years of follow-up, the rate is 24/1,200 = 0.02 per child-year = 20 per 1,000 child-years. Someone followed for 6 months contributes 0.5 person-years; someone followed for 3 years contributes 3.
The Poisson regression model
To adjust for covariates, model the log of the expected count:
ln(μ) = ln(person-time) + β_0 + β_1 X_1 + …
The ln(person-time) term is an offset: a predictor whose coefficient is fixed at 1 so the model describes the rate rather than the raw count. Then e^(β) is a rate ratio (also called incidence rate ratio, IRR). With a binary arm indicator, e^(β_1) reproduces the 0.44 above. Adding age, sex and season adjusts it.
Poisson regression suits: malaria episodes per child-year, adverse events per patient-month, hospital admissions per year, deaths per 1,000 person-years, deaths by district with the population as offset.
Overdispersion
A true Poisson variable has variance equal to its mean. Real counts are often overdispersed: some children have many episodes, others none, because of unmeasured susceptibility or clustering. Ignoring it makes SEs too small and CIs too narrow, so the intervention appears more convincingly effective than it is.
Check: compare the model's deviance or Pearson chi-square with its degrees of freedom; a ratio well above 1 (say > 1.5) indicates overdispersion.
Remedies:
- Negative binomial regression adds an extra parameter for the extra variation.
- Quasi-Poisson or robust (sandwich) standard errors adjust the SEs.
- For clustered data (villages, schools), use GEE or mixed models with cluster as a random effect.
Also watch for excess zeros: counts with many more zeros than Poisson predicts (children who never attend the clinic) may need zero-inflated or hurdle models.
Summary
A rate = events ÷ person-time; the rate ratio compares two rates.
Poisson regression models log counts with ln(person-time) as an offset; exp(β) is a rate ratio.
Overdispersion (variance > mean) narrows SEs falsely; use negative binomial, quasi-Poisson, robust SEs or cluster methods.
Use logistic regression for binary outcomes at fixed follow-up, Poisson for rates, Cox for time-to-event.
Check your understanding
Draft study guide. Spotted an error or something unclear? Tell us at hello@scintria.com. This is educational material, not clinical or regulatory advice.