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
Data mergeHi Statalist, I am new to Stata and need help to merge two data sets. The merge or by variables are…
Not a numberHi, While trying to import a CSV dataset with Covid data for France, I realized there are numeric v…
Measuring the average Wage before and After movingHello Members, I have data on individuals moving across regions and I have grouped each region into…
removing intercepts from groups of dummy variables in panel datahi there, so i have a panel regression of 174 nations and their GDP growth for every year 1994-2017,…
Reshape the data-set into a specified formI have a data-set contains the following variables. And, I want to reshape the data-set into a speci…
Subscribe to:
Post Comments (Atom)
0 Response to gsem with interaction terms
Post a Comment