Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: graph interaction of continuous and categorical variables
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: graph interaction of continuous and categorical variables
Date
Sat, 14 Jan 2012 17:11:22 +0100
On Sat, Jan 14, 2012 at 3:31 AM, Jess Joe wrote:
> 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?
-help marginsplot-
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/