Re: [R] glm with negative binomial family

From: Elizabeth Rainwater <>
Date: Sat 10 Jun 2006 - 06:08:59 EST

Many thanks to Dr Ripley, who told me to use negative.binomial instead of neg.bin, and to Dr Lancelot, who pointed toward the excellent aod. My models are now converging and the output I am getting seems reasonable. Cheers,

On 6/9/06, Prof Brian Ripley <> wrote:
> Did you consult the help page for neg.bin?
> Details:
> These are not intended to be called by the user. Some are for
> compatibility with earlier versions of MASS (the book).
> The book discusses the family negative.binomial() on p.206, and it is that
> which glm.nb uses.

On 6/9/06, Renaud Lancelot <> wrote:Hi Elizabeth,

You might want to try the function negbin in package aod (on CRAN) which uses another parameterization (phi = 1 / theta). There are anova and AIC methods for this function in the package. The AIC methods computes AIC and AICc, and setting the argument k to log(n) provides the BIC. Let me know if you meet problems.

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide! Received on Sat Jun 10 06:15:46 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 11 Jun 2006 - 05:34:59 EST.

Mailing list information is available at Please read the posting guide before posting to the list.