Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "William Buchanan" <william@williambuchanan.net> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: predicted probabilities of interaction term |
Date | Tue, 17 Jul 2012 14:11:07 -0700 |
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/