monogift
2008-May-13 02:54 UTC
[R] How to get predicted marginal (aka predicted mean) after multinomial logistic?
I tried to use the effect() to get predicted marginals for multinomial logistic as I did for general logistic regression, but failed. Is there anyway to do that? Thx! -- View this message in context: nabble.com/How-to-get-predicted-marginal-(aka-predicted-mean)-after-multinomial-logistic--tp17200114p17200114.html Sent from the R help mailing list archive at Nabble.com.
John Fox
2008-May-13 10:59 UTC
[R] How to get predicted marginal (aka predicted mean) after multinomial logistic?
Dear monogift, effect() doesn't currently handle mulinom objects. You'll find a paper, some functions, and some example code at <socserv.mcmaster.ca/jfox/Misc/polytomous-effect-displays/index.html> for effect displays for multinomial and proportional odds logit models, with standard errors computed by the delta method. A plan to incorporate this code in the effects package is nearly complete, but for the time being, you'll have to set up the displays yourself, as in the examples. 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 monogift > Sent: May-12-08 10:54 PM > To: r-help at r-project.org > Subject: [R] How to get predicted marginal (aka predicted mean) after > multinomial logistic? > > > I tried to use the effect() to get predicted marginals for multinomial > logistic as I did for general logistic regression, but failed. Is there > anyway to do that? > Thx! > > -- > View this message in context: nabble.com/How-to-get-predicted- > marginal-%28aka-predicted-mean%29-after-multinomial-logistic-- > tp17200114p17200114.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guideR-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.