My co-author and I are using gsem for our empirical analysis, but we have problems with how to interpret the results when we include interaction terms.
Our current model looks like this:
gsem (M1 <-c.X1##i.X2)(Y1 <- M1 c.X1##i.X2) logit nocapslatent
where X1 is our continuous independent variable and X2 is dichotomous. Since both of our dependent variables (i.e. M1 and Y1) are dichotomous, we use gsem with a link function of logit.
We are interested in the mediating effect of X1 on Y1 via M1, but we also hypothesize that this mediation effect is moderated by X2. We have struggled to demonstrate the substantive significance of the interaction effect. We use sembuilder to generate a graph, but it seems weird to show the result of an interaction term with a diagram. Also, we tried several margins commands, but it does not seem to reflect the indirect effect.
Do you happen to know any solutions? Thank you for your help!
Related Posts with gsem with interaction terms
Effect size logit regression with sqaure terms and interactionsDear STATA users, I am running a model with a logit regression (binary DV), in which I include my I…
adding 100 rows in a matrix from different 100 matricesHello, I am trying to make a column matrix (100X1) using different 100 matrices? What is the best po…
Getting STATA to loop phrases (2 or more words with spaces in between)Hello, I'm trying to construct a foreach loop where I am using a few words as the phrase to loop o…
weighted averageHi, I have a database of donations and I want to use it to generate a new var to indicate donors ide…
creating a variable from frequencies and percent from tab commandDear statalist Members, other than using contract, is there a way i can create a variable from the …
Subscribe to:
Post Comments (Atom)
0 Response to gsem with interaction terms
Post a Comment