Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Richard Williams <richardwilliams.ndu@gmail.com> |

To |
statalist@hsphsun2.harvard.edu, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: RE: RE: predicted probabilities of interaction term |

Date |
Wed, 18 Jul 2012 12:26:05 -0500 |

At 10:49 AM 7/18/2012, Valle, Giuseppina wrote:

Thank you for your help -- I was unaware that I needed to use thesubpop command when looking at the gender differences with the svycommand. In terms of the postestimation commands, I have not locatedany syntax available that will produced predicted probabilities ofthe interaction terms with a mlogit. I have 4 values for "race" and3 values for "relig." I assume that using prtab along with specifiedvalues of these two variables would not produce the estimates I amlooking for, as that is the only command I have used for predictedprobabilities.

webuse nhanes2f,clear svy: mlogit health i.sex##i.race age margins race#sex, predict(outcome(1)) atmeans margins race#sex, predict(outcome(2)) atmeans margins race#sex, predict(outcome(3)) atmeans margins race#sex, predict(outcome(4)) atmeans margins race#sex, predict(outcome(5)) atmeans

http://www.nd.edu/~rwilliam/stats/Margins01.pdf

Pina Giuseppina Valle, M.S. Department of Sociology Doctoral Candidate Florida State University 526 Bellamy Building Tallahassee, FL 32306-2240 Email: gv08d@my.fsu.edu ________________________________________From: owner-statalist@hsphsun2.harvard.edu[owner-statalist@hsphsun2.harvard.edu] on behalf of William Buchanan[william@williambuchanan.net]Sent: Tuesday, July 17, 2012 5:11 PM To: statalist@hsphsun2.harvard.edu Subject: st: RE: predicted probabilities of interaction term Hi Giuseppina, One suggestion that I have would be to use the -subpop()- option of the -svy:- prefix. This is something that surfaces on the Statalist regularly, although it may not be an issue in your specific case. Either way, the help file for -svy- includes the following line: "Warning: Using if or in restrictions will often not produce correct variance estimates for subpopulations. To compute estimates for subpopulations, use the subpop() option." With regards to your other question, I would look at -help mlogit postestimation- to get an idea of what is already available in Stata to calculate the predicted probabilities of the outcome after a multinomial logit model. HTH, Billy -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Valle, Giuseppina Sent: Tuesday, July 17, 2012 1:38 PM To: statalist@hsphsun2.harvard.edu Subject: st: predicted probabilities of interaction term Hello, I was wondering how to run predicted probabilities for a multinomial regression with an interaction term. Here is the syntax I am using: svy: mlogit timing pledge sexed i.race i.relig i.race#i.relig /// wave4age stepfam singlemo singleda other HSdeg somecoll /// colldeg misseduc lowmidinc highmidinc highinc missinc /// midwest south northeast if gender==0, /// rrr baseoutcome(2) nolog I would appreciate any suggestions. Thanks! Giuseppina Valle * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**RE: st: RE: RE: predicted probabilities of interaction term***From:*"Valle, Giuseppina" <gv08d@my.fsu.edu>

**References**:**st: predicted probabilities of interaction term***From:*"Valle, Giuseppina" <gv08d@my.fsu.edu>

**st: RE: predicted probabilities of interaction term***From:*"William Buchanan" <william@williambuchanan.net>

**st: RE: RE: predicted probabilities of interaction term***From:*"Valle, Giuseppina" <gv08d@my.fsu.edu>

- Prev by Date:
**st: unsort while merging** - Next by Date:
**Re: st: unsort while merging** - Previous by thread:
**st: RE: RE: predicted probabilities of interaction term** - Next by thread:
**RE: st: RE: RE: predicted probabilities of interaction term** - Index(es):