Skip to content
Prev 307903 / 398503 Next

Poisson Regression: questions about tests of assumptions

On Sun, 14 Oct 2012, Eiko Fried wrote:

            
There are various formal tests for this, e.g., dispersiontest() in package 
"AER". Alternatively, you can use a simple likelihood-ratio test (e.g., by 
means of lrtest() in "lmtest") between a poisson and negative binomial 
(NB) fit. The p-value can even be halved because the Poisson is on the 
border of the NB theta parameter range (theta = infty).

However, overdispersion can already matter before this is detected by a 
significance test. Hence, if in doubt, I would simply use an NB model and 
you're on the safe side. And if the NB's estimated theta parameter turns 
out to be extremely large (say beyond 20 or 30), then you can still switch 
back to Poisson if you want.
quasipoisson yields the same parameter estimates as the poisson, only the 
inference is adjusted appropriately.
glm.nb() in "MASS" is one of standard options.
The NB is a likelihood-based model while the quasipoisson is not 
associated with a likelihood (but has the same conditional mean equation).
It's one of the possibilities.
I recommend you read the associated documentation. See 
vignette("countreg", package = "pscl")

For glm.nb() I recommend its accompanying documentation, namely the MASS 
book.

hth,
Z