Dear Statalist,
I am currently dealing with the analysis of a three-way interaction of all continuous variables, XZW. My regression equation looks like this:
Essentially, one of my hypotheses is that the effect of the interaction "X*Z," that is the slope of how X is moderated by Z, should vary across levels of "W." In particular, I'm interested in testing whether the difference in the effect of the X*Z interaction is statistically different between the 10th (value of -.25) and 90th (value of .75) percentile values of W. Graphically, they appear to be different and often go in opposite directions, but I need a way to formally test this difference. Margins, of course, does not allow me to compute this using:
I've looked at the contrast function and it appears as though that would work if the W variable were dichotomous, but since it is continuous (and dichotomizing it would lose a lot of information), I am stuck.
I've read through Aiken and West's (1991) Multiple Regression: Testing and Interpreting Interactions and received good advice from a number of individuals who I've reached out to. These have helped orient me in figuring out what exactly my question was (what I am interested in to test my hypothesis), but I'm still stuck in executing it.
If anyone has any help or suggestions I would much appreciate them. Thank you!
Clinton
I am currently dealing with the analysis of a three-way interaction of all continuous variables, XZW. My regression equation looks like this:
Code:
reg y c.X##c.Z##c.W control1 control2 control3 control4 control5
Code:
margins, dydx(c.X##c.Z) at(W=(-.25 .75)
I've read through Aiken and West's (1991) Multiple Regression: Testing and Interpreting Interactions and received good advice from a number of individuals who I've reached out to. These have helped orient me in figuring out what exactly my question was (what I am interested in to test my hypothesis), but I'm still stuck in executing it.
If anyone has any help or suggestions I would much appreciate them. Thank you!
Clinton
Comment