I would appreciate instruction how to generate the marginal effects in a gsem mediation model such as:
gsem (social -> behavior,) (social -> health, family(binomial) link(probit)) (behavior -> health, family(binomial) link(probit)
In particular, I would like to generate the marginals for the indirect effect of social, mediated by behavior, on health.
I have thus far generated the overall or average indirect effect, standard error, and confidence intervals with
nlcom _b[health:behavior]*_b[behavior:social], post
I wish to generate the marginal indirect effects for several points over the range of social for subsequent plotting of these in relation to health.
Related Posts with marginal effects for indirect effect in gsem mediation model
How to use marker symbols with twoway graphDear Statalists, I have two questions that I am sure are relatively easy for you. First: I am plott…
Error while using _N in forvalues loopI want to use _N in place of the total count of observations in a loop like this: forvalues i = 1(1…
Using -xtile- to assess the impact of a variable on an outcomeHi All, I am looking to understand at what number of kids or distribution does a household member g…
Help Stata SE 16.1 | Structural equation modelingGood morning. I would like to get the same format of result as the picture (Result.PNG). My question…
How to make a new variable from a group of variables answered on a rickert scaleHi All, I am using a firm-level data set and I have 11 questions relating to the obstacles to innov…
Subscribe to:
Post Comments (Atom)
0 Response to marginal effects for indirect effect in gsem mediation model
Post a Comment