Poisson Regression — IRR for count outcomes (auto-flags overdispersion)
VerifiedAdvanced & specialized
Run this test straight away on a free built-in teaching dataset — no data of your own needed — or bring your own. Either opens the guided workspace: variable setup, assumption diagnostics, results with effect sizes and confidence intervals, figures, and APA-ready reporting.
Loading teaching datasets…
Or use your own dataset
Loading your datasets…
Models a count outcome (non-negative integers) as a function of predictors via the Poisson GLM with log link: log(μ) = β₀ + Σ β_i x_i.
Reports per-predictor incidence rate ratios (IRR = exp(β)) with 95% CI, model fit (deviance, Pearson χ², log-likelihood, AIC, BIC, deviance-based pseudo-R²), and a Pearson dispersion check that auto-flags overdispersion (variance >> mean) and recommends negative-binomial regression as the appropriate next step. Optional exposure offset (person-years, person-time) to model rates rather than raw counts.
Worked example
Does a safety programme reduce workplace-accident counts?
Monthly accident counts across 60 site-months were modelled on programme status (on/off) with Poisson regression; effects read as incidence-rate ratios.
The programme cut the accident rate by 34% (IRR = 0.66, 95% CI [0.51, 0.85], p = .002).
A Poisson regression showed the safety programme significantly reduced accident counts, IRR = 0.66, 95% CI [0.51, 0.85], p = .002.
Try it yourself: Load this ready-made sample and follow the run above.
When to use it
- Event counts per case (equidispersed)ED visits per patient per year (n = 5000) ~ age + chronic conditions + insurance status + offset(log(person-years)).
- Rate modelling with exposure offsetInsurance claims per policyholder ~ vehicle-age + driver-age + region + offset(log(policy-years)).
When NOT to — use instead
- Overdispersed counts (variance > mean)Poisson SEs are too narrow under overdispersion. → Negative Binomial \u2014 overdispersed counts (Var = \u03bc + \u03b1 \u03bc\u00b2)
- Excess zeros (more zeros than Poisson predicts)Use zero-inflated Poisson (ZIP) or hurdle model. → Negative Binomial \u2014 overdispersed counts (Var = \u03bc + \u03b1 \u03bc\u00b2)
- Continuous outcomePoisson is for non-negative integer counts. → Linear Regression \u2014 OLS (continuous y + predictors)
- Binary outcomeUse logistic regression for binary outcomes. → Binomial Logistic Regression \u2014 odds ratios + ROC AUC + classification
Hypotheses
Parameter tested: vector of population log-rate coefficients β
Assumptions (and what to do if they fail)
Check: Pearson dispersion ratio.
If violated: Overdispersion → SEs are too small → spuriously significant predictors.
Check: Observed vs expected zero proportion.
If violated: Excess zeros (e.g., observed 30% zeros vs Poisson-expected 10%) → fit zero-inflated or hurdle model.
Check: Max Cook's D.
If violated: Influential cases can flip IRR signs.
Check: Max VIF.
If violated: High VIF inflates IRR standard errors.
Ready to run a Poisson Regression — IRR for count outcomes (auto-flags overdispersion) on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →