Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Cameron McIntosh <cnm100@hotmail.com> |
To | STATA LIST <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: graph interaction of continuous and categorical variables |
Date | Fri, 13 Jan 2012 21:50:01 -0500 |
Jess, Yes, certainly you can do this in Stata. Have a look at: Karaca-Mandic, P., Norton, E.C., & Dowd, B. (2012). Interaction Terms in Nonlinear Models. Health Services Research, 47(1, Pt. 1), 255–274. Greene, W. (2010). Testing hypotheses about interaction terms in nonlinear models. Economics Letters, 107(2), 291-296. Flom, P.L., & Strauss, S.M. (2003). Some Graphical Methods for Interpreting Interactions in Logistic and OLS Regression. Multiple Linear Regression Viewpoints, 29(1), 1-7.http://mlrv.ua.edu/2003/vol29_n1_a1.pdf Buis, M.L. (2010). Stata tip 87: Interpretation of interactions in non-linear models. The Stata Journal, 10(2), 305-308.http://www.maartenbuis.nl/publications/interactions.pdf Norton, E.C., Wang, H., & Ai, C. (2004). Computing interaction effects and standard errors in logit and probit models. The Stata Joumal, 4(2), 154-167.http://www.unc.edu/~enorton/NortonWangAi.pdf http://www.ats.ucla.edu/stat/stata/faq/logitcatcon.htm Cam > From: jessjoe@live.com > To: statalist@hsphsun2.harvard.edu > Subject: st: graph interaction of continuous and categorical variables > Date: Fri, 13 Jan 2012 21:31:08 -0500 > > Dear Statalist Users, > I have a logistic regression model: > logit(Y) = X1 + (X1)^2 + i.X2 + i.X2*X1 + i.X2*(X1)^2 > X1 is a continuous variable, X2 is a 4-category variable. > How can i graph the interaction effects in STATA? is there any specific command that could do this for me? > Many thanks! > * > * 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/