I asked for the following multilevel mediation model where my mediator is a binary variable with 0 and 1.
Is this possible in gsem command? I read the help file but found nothing to this topic.
Code:
gsem (V1 —> i.binaryvariable) (V —> dep.Variable) (i.binaryvariable —> dep. Variable) (x1 x2 x3 —> dep. Variable), nocapslatent vce(robust)
Related Posts with -gsem- with binary variables
Tracking executive changes in datasetHi, I'm doing a tracking analysis of executive changes. In the dataset, I divide the positions into …
Collapse command error message that has me stumpedI'm using the Collapse command in Stata to aggregate a series of numbers by different categories. Th…
tab command in Stata 17Hi everybody, just a quick general question: the new Stata 17 modifies the command table, suppressi…
why xtile nq(3) only builds two groups, instead of three groups?I would like to build three groups (terciles) by using xtile. However, it turned out that xtile nq(3…
Interpretation of mlogit regressionHey there, I'm trying to interpret multinomial logistic regression where my dependent variable is fo…
Subscribe to:
Post Comments (Atom)
0 Response to -gsem- with binary variables
Post a Comment