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
skewed GARCHHello Statalist, I'm a Ph.D student and I'm currently working on my project, basically I'm trying to…
program mimrgns already defined (error occurred while loading MIMRGNS.ado)Hi Statalisters, I have mi data and I want to obtaing ajusted mean and CI after "mi estimate, post:…
Generalized/Staggered DiD w/ state variationHello all, I'm considering running a generalize/staggered differences-in-differences model to analy…
Using the LR test to discriminate between a random intercepts and a random slopes multilevel modelHi all. I have Brazilian survey data with political and socio-economic variables. To this dataset, I…
help with -esttab- (how to show variable names in csv output)Hello, I recently learned how to use -esttab- to export my regression output in csv format but I ca…
Subscribe to:
Post Comments (Atom)
0 Response to marginal effects for indirect effect in gsem mediation model
Post a Comment