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
how to suppress display of the interval from -1 to 1 of x-axisHere is the code: Code: * Example generated by -dataex-. To install: ssc install dataex clear inpu…
how to suppress the interval from -1 to 1 of x-axisHere is the code: Code: * Example generated by -dataex-. To install: ssc install dataex clear inpu…
Multinomial Logit ModelingGreetings- I am looking for some advice on a multinomial logit model with marginal effects. The mod…
Twoway spline with multiple variablesHi All, I am currently using a twoway connected graph, with multiple variables as follows: Code:…
average weighted scoresDear Statalists, I have a survey data that contains categorical variables in the Likert scale (typi…
Subscribe to:
Post Comments (Atom)
0 Response to -gsem- with binary variables
Post a Comment