Regression · Counts & Categorical

Poisson Regression

Fit a Poisson regression for count outcomes with incidence-rate ratios, deviance, and an overdispersion check.

In the menus Regression › Counts & Categorical › Poisson Regression

Also searched as poisson count regression glm poisson generalized linear model rate regression log linear model

When to use it

Model a count outcome (0, 1, 2, …; events per unit of exposure) and quantify each effect as an incidence-rate ratio.

When not to: The overdispersion check flags phi-hat well above 1 (switch to negative binomial regression instead), rows cover meaningfully different exposure windows without an exposure column supplied (the IRRs would then compare incomparable raw counts), or the outcome shows excess zeros beyond what Poisson's own distribution predicts (a zero-inflated or hurdle model is needed).

Step by step

  1. Open it from the menu

    Click Regression in the menu bar; under Counts & Categorical choose Poisson Regression.

  2. Fill in the form

    Choose the columns: Count to predict, Columns that may explain it, Exposure (time at risk) (optional). The form lists only columns whose type fits each field. Then fill in Combined influences (optional).

  3. Check the options

    The options start at their defaults: Alpha, Confidence level. Change one only when your question needs it.

  4. Run the analysis

    Press Run analysis. The Result Card opens on its Results tab.

What to choose in the form

Fields of the Poisson Regression form
Count to predict Response requiredOne numeric or count column. Non-negative integer count outcome.
Columns that may explain it Predictors requiredOne numeric or categorical or ordered categorical column. One or more predictor columns. Categorical predictors are auto-encoded.
Exposure (time at risk) (optional) ExposureOne numeric or count column. Exposure / time at risk for each row (person-years, batch size, hours observed). Entered as an offset of log(exposure), which turns every IRR into a rate ratio per unit of exposure. Omit when every row covers the same window.
Combined influences Interactions optionalA value you type or choose on the form. Optional pairs of predictors (already chosen above) whose effects on the rate may depend on each other, written 'A × B'. Numeric by numeric, numeric by categorical and categorical by categorical pairs are allowed; main effects are always kept.
AlphaSignificance threshold for per-predictor tests. Default: 0.05.
Confidence levelConfidence level for coefficient / IRR intervals. Default: 0.95.

How to read the card

The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.

What it assumes

Independence of observations

If it does not hold: Poisson regression assumes rows are independent; grouped or repeated counts (clusters, subjects, sites measured more than once) understate the true standard errors.

How to check: Not checked by KernelStats: no clustering diagnostic is run; a clustered design needs a mixed-effects or GEE approach instead.

A worked example

Modeling annual store visits per customer as a function of age and loyalty-program membership, with all customers observed for the full year (no exposure column needed).

Result: Age IRR = 0.98 per year (p = .002); loyalty membership IRR = 1.45 (p < .001); overdispersion phi-hat = 1.12 (Poisson adequate).

Loyalty membership is associated with a 45% higher visit rate, and slightly older customers visit marginally less often, both after adjusting for the other predictor; the overdispersion check near 1 supports trusting the Poisson standard errors and p-values as reported, without needing to switch to negative binomial.

From the Statistics Library.

The code tabs

Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.

Understand the statistics

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • How does customer age relate to the number of store visits per year?
  • Explain the Poisson regression in plain words.
  • What does Poisson distribution mean?

Last reviewed November 16, 2026.

Report an unclear step