[R] Marginal effects in negative binomial

John Fox jfox at mcmaster.ca
Tue Oct 28 18:29:08 CET 2008

Dear Roberto,

It depends on what you mean by "marginal effects," but the effects package
will calculate what I would prefer to call "partial effects" for terms in a
generalized linear model; it should work fine with objects produced by

I hope this helps,

John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> Behalf Of Roberto Patuelli
> Sent: October-28-08 7:25 AM
> To: r-help at r-project.org
> Subject: [R] Marginal effects in negative binomial
> Dear All,
> I carry out negative binomial estimations using the glm.nb command from
> MASS package.
> Is there a command or a simple procedure for computing marginal effects
> a glm.nb fitted object?
> If these are the same as for a Poisson fitted object (glm), my question
> remains how to compute them.
> Thanks in advance for your help.
> Roberto Patuelli
> ********************
> Roberto Patuelli, Ph.D.
> Post-doc researcher
> Institute for Economic Research (IRE)
> University of Lugano (USI)
> via Maderno 24, CP 4361
> CH-6904 Lugano
> Switzerland
> Phone: +41-(0)58-666-4166
> Email: roberto.patuelli at lu.unisi.ch
> ********************
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list