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
glm.nb.
I hope this helps,
John
------------------------------
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]
On> 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
the> MASS package.
> Is there a command or a simple procedure for computing marginal effects
from> 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
http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.