Greetings! Longtime lurker here at statalist, but this will be my first post. So please let me know if there are any details I omitted that would make responses easier.
Using Stata v15.1, I ran a multilevel logistic regression model using the melogit command to examine how the interaction of X*Z predicts Y. Both X and Z are continuous variables. After running melogit, I used the margins command to examine the interaction of X*Z. Since X and Z are continuous, I specified the values =(-1SD, mean, +1SD) for both variables to be computed. I then plotted the results, which I've included here:
Array
Now I would like to test whether the means (red circle) and slopes (green circle) for the three groups are significantly different from each other. Unfortunately, I have not been able to figure out how to do this using contrast or margins commands. Any help with this issue is greatly appreciated!
Related Posts with Post-estimation: How do I test mean and slope differences for continuous by continuous interaction?
data sorting helpHello, I am trying to find segregation by city and census tract. Attached is a snapshot of the data …
Count the number of global variables defined and input it in another global variableHi, I would like to count the number of global variables defined and input it in another global var…
Meta ForestplotHi everyone, I hope someone can help me. When creating a forest of lnRR with the Stata16 new command…
create and call subroutine from the same .do fileHi, I have a large piece of code that I would like to break down in several smaller pieces of code …
ITSA lincom command to estimate the difference in outcome after a training periodHi I would be grateful for your help. I have run a ITSA using Lindens ITSA command for a survival …
Subscribe to:
Post Comments (Atom)
0 Response to Post-estimation: How do I test mean and slope differences for continuous by continuous interaction?
Post a Comment