Skip to content
Prev 67057 / 398503 Next

GLMs: Negative Binomial family in R?

On Tue, 5 Apr 2005 11:20:37 -0600 nflynn at ualberta.ca wrote:

            
glm.nb() from package MASS fits negative binomial GLMs.
For known theta, you can plug negative.binomial(theta) into glmmPQL()
for example. (Both functions are also available in MASS.) I'm not sure
whether there is also code available for unknown theta.
Look at package zicounts for zero-inflated Poisson and NB models. For
these models, there is also code available at
  http://pscl.stanford.edu/content.html
which also hosts code for hurdle models.

hth,
Z