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?
Merge DifficultiesHello, I'm having difficulty merging together two data sets that contain population estimates for m…
Remove observations when there are more than 2 rows with the same IDHi, I have a data set that uniquely defines a household via 2 variables: conglome vivienda Within …
Macros for 2 graphs. Invalid name errorHello, I have to draw I have to draw a variety of similar graphs and decided to use macros at first…
Random Marginal Agreement CoefficientHi everyone. I am comparing intra rater agreement between two continous variables, both predicted co…
Creating upper and lower thresholdsHi, I need help if someone can help me as soon. The following is my data set: Country_Name id Coun…
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