Skip to content
Prev 29675 / 398500 Next

negative binomial regression

No modification is required.  The standard way in S to handle offsets is
via the offset() function, and that works in glm.nb.  The offset argument
to R's glm is unnecessary.

See ?Insurance and try
glm.nb(Claims ~ District + Group + Age + offset(log(Holders)),data = 
       Insurance)

(which is not over-dispersed and so gives some warnings).
On Mon, 24 Mar 2003, Ross Nelson wrote: