Bookmark and Share

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   Cameron McIntosh <[email protected]>
To   STATA LIST <[email protected]>
Subject   RE: st: graph interaction of continuous and categorical variables
Date   Sun, 15 Jan 2012 18:38:10 -0500

I'm not sure about Stata specifically, but you should take a look at:
Bauer, D. J., & Curran, P. J. (2005). Probing interactions in fixed and multilevel regression: Inferential and graphical techniques. Multivariate Behavioral Research, 40(3), 373-400.http://www.unc.edu/~dbauer/manuscripts/bauer-curran-MBR-2005.pdf ;
Preacher, K. J., Curran, P. J., & Bauer, D. J. (2006). Computational tools for probing interaction effects in multiple linear regression, multilevel modeling, and latent curve analysis. Journal of Educational and Behavioral Statistics, 31(4), 437-448.http://www.unc.edu/~dbauer/manuscripts/preacher-curran-bauer-2006.pdf
http://www.people.ku.edu/~preacher/interact/index.html
Davison, M.L., Kwak, N., & Seo, Y.S. (2002). Using Hierarchical Linear Models to Examine Moderator Effects: Person-by-Organization Interactions. Organizational Research Methods, 5(3), 231-254.http://www.personal.psu.edu/jxb14/EDEN/Articles/Davison_ORM_2002.pdf

Bedeian, A.G., Kemery, E.R., & Mossholder, K.W. (1989). Testing for cross-level interactions: An empirical demonstration. Behavioral Science, 34(1), 70–78.

Tate, R.L. (1985). Cross-Level Interaction in Multilevel Models. Journal of Applied Behavioral Science, 21(2), 221-234.

Cam
----------------------------------------
> From: [email protected]
> To: [email protected]
> Subject: RE: st: graph interaction of continuous and categorical variables
> Date: Sun, 15 Jan 2012 13:45:36 -0500
>
> hi,
> The interaction is of individual-level SES (low/med/high) and community-level GDP per capita(continuous variable)
> basically, the model is like:
> xtmelogit access age female i.race i.individualSES##c.ComGDP || ComID:, variance
> what i want to do is to graph the interaction effect of individualSES & community GDP per capita.
>
> ----------------------------------------
> > From: [email protected]
> > To: [email protected]
> > Subject: RE: st: graph interaction of continuous and categorical variables
> > Date: Sat, 14 Jan 2012 20:01:14 -0500
> >
> > Well, your initial post said nothing about multiple levels. Is the interaction at level 1 only or is it cross-level?Cam
> >
> > ----------------------------------------
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: RE: st: graph interaction of continuous and categorical variables
> > > Date: Sat, 14 Jan 2012 14:17:02 -0500
> > >
> > > Thank you very much!
> > > i have a follow-up question: the -margins- command does not work for multilevel logistic regressions. i got the error message "default prediction is a function of possibly stochastic quantities other than e(b)".
> > > is there any way to graph interaction of a continuous and categorical variable in a multilevel logistic regression in STATA?
> > > Thanks again.
> > >
> > > ----------------------------------------
> > > > Date: Sat, 14 Jan 2012 17:11:22 +0100
> > > > Subject: Re: st: graph interaction of continuous and categorical variables
> > > > From: [email protected]
> > > > To: [email protected]
> > > >
> > > > 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/
> > >
> > > *
> > > * 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/
 		 	   		  
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index