UNSW Sydney · FACULTY OF ENGINEERING

CVEN9407 Chap.9 Poisson and Negative Binomial Count Models

- one subject, every graph, every model, every mark
7 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 9 of 12 · CVEN9407

Poisson and Negative Binomial Count Models

Crash frequency is a count, and this chapter replaces the linear model with models built for counts. It sets out Poisson regression with its log link and its equal mean and variance restriction, shows how an exposure offset such as segment length enters, and explains why overdispersed crash data call for the negative binomial.

A worked Poisson model is turned into predicted counts and incidence rate ratios, and the chapter ends by comparing models with log-likelihood and BIC, as the course reading on speed enforcement does.

This step forms the count half of the second deliverable.

The brief asks for a count specification of crash frequency, Poisson or negative binomial, set against the linear regression from the first report, and discuss overdispersion and model fit. Rate ratios are the most useful way to report the results to a road safety reader.

In this chapter

What this chapter covers

  • 01

    Why crash counts are not continuous outcomes

  • 02

    Poisson regression and the log link

  • 03

    Exposure offsets for segment length or traffic

  • 04

    Overdispersion and its consequences

  • 05

    The negative binomial model

  • 06

    Incidence rate ratios

  • 07

    Comparing models with BIC

Worked example · free

Predicted crashes and a zero-crash probability

Q [3 marks]. A Poisson model of yearly crashes on one-kilometre segments gives ln(lambda) = -0.40 + 0.50 Int + 0.02 Speed, where Int marks an intersection and Speed is the speed zone in km/h. For a 60 km/h segment with no intersection, find the expected count and the probability of a crash-free year. The mark allocation is our own practice weighting and is not an official university scheme.
Same mean, different spread.Same mean, different spread. Both distributions have a mean of 3 crashes; the amber negative binomial, with overdispersion 0.5, piles more probability on zero and on high counts, so its variance is 7.5 against the Poisson’s 3.02468100.10.2Poisson, variance 3negative binomial, variance 7.5crashes per segment-year
Same mean, different spread. Both distributions have a mean of 3 crashes; the amber negative binomial, with overdispersion 0.5, piles more probability on zero and on high counts, so its variance is 7.5 against the Poisson’s 3.
  • 1Linear predictor: -0.40 + 0.50(0) + 0.02(60) = 0.80.
  • 1Expected count: lambda = e to the power 0.80 = 2.23 crashes a year.
  • 1Crash-free year: P(0) = e to the power -2.23 = 0.108, about one segment-year in nine.
About 2.23 expected crashes a year, with an 11% chance of none.
Sia tip — Always exponentiate the linear predictor before interpreting a count model; the raw sum is a log of the expected count, not a count.
Glossary

Key terms

Log link
A log link connects the expected count to the covariates through its logarithm, so predicted counts are always positive.
Exposure offset
An exposure offset is the log of an exposure measure, such as segment length, entered with its coefficient fixed at one.
Negative binomial model
The negative binomial model is a count regression that adds an overdispersion parameter so the variance can exceed the mean.
Incidence rate ratio
An incidence rate ratio is the exponentiated count-model coefficient: the factor by which expected crashes change for a one-unit change.
Bayesian information criterion
The Bayesian information criterion is minus twice the log-likelihood plus a penalty for parameters; the lower value is preferred.
Equidispersion
Equidispersion is the Poisson model's assumption that the variance of a count equals its mean.
FAQ

Poisson and Negative Binomial Count Models FAQ

How do I know if my crash counts are overdispersed?

Compare the variance of the counts with their mean, or the residual deviance with its degrees of freedom after fitting a Poisson model. Values well above 1 point to overdispersion, and a negative binomial fit with a clearly positive dispersion parameter confirms it.

Why can't I compare a count model with the linear model by R squared?

Count models are estimated by maximum likelihood on a log scale, so R squared is not defined in the same way. Compare log-likelihoods or BIC across count models, and compare predictions and signs against the linear model in words.

What does an offset do?

It puts exposure into the model without estimating a coefficient for it. With log length as an offset, the other coefficients describe crashes per kilometre, so long and short segments are compared fairly.

What is a random parameters negative binomial model?

It is an extension, used in the course reading on speed enforcement, in which some coefficients vary across road segments to capture unobserved differences between sites. It goes beyond what the project requires, but it shows where count modelling of crashes leads in research.

Why do so many segments record zero crashes?

Many sites carry little traffic or are simply short, so in a given year the most likely count is zero. A Poisson model with a small expected count predicts many zeros; if there are even more zeros than a negative binomial predicts, a zero-inflated model may be considered.

Study strategy

Assessment move

Fit a Poisson model to the counts you used for the linear regression, check the variance-to-mean ratio, and refit as negative binomial if it is well above 1. Convert every coefficient into a rate ratio before writing about it. In Report 2, set the linear and count results side by side and explain each disagreement. Note the dispersion parameter and its test in your model log, since it decides which standard errors you report.

Working through Poisson and Negative Binomial Count Models in CVEN9407? Sia is AskSia’s AI Engineering tutor — ask any CVEN9407 Poisson and Negative Binomial Count Models question and get a clear, step-by-step explanation grounded in how CVEN9407 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 100 of your UNSW Sydney subjects - and 1,000+ Bibles across every Australian university.
Sia - your CVEN9407 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
CVEN9407 · Transport Demand Modelling - independent study guide on the AskSia Library. More UNSW Sydney subjects · Microeconomics across all universities