Hi, I hope someone can help me with the STATA 18 codes/commands as I am interested in doing a SEM/GSEM model with 3 different outcomes using Logistic Regression (dichotomous outcome of Yes/No). My model also has mediators. So hypothetically, what codes should I use for the following model?
DV: varB (yes/no).
Mediator1 varA: Latent Construct with 3 Likert scale items.
Key Predictor varC: 4 items with Y/N so constructed as a score/Index
Mediator 1 (varA) goes through varC directly and to DV indirectly.
Mediator 2 (varD) is a score/summation of 3 items with 0 min - 3 max score.
Mediator 2 goes through Latent Construct 2 (varE) with 3 Likert Scale items and direct path to DV.
VarC and VarE are direct predictors to DV.
Can anyone help plese? Thank you so much.
Lena Gan
DV: varB (yes/no).
Mediator1 varA: Latent Construct with 3 Likert scale items.
Key Predictor varC: 4 items with Y/N so constructed as a score/Index
Mediator 1 (varA) goes through varC directly and to DV indirectly.
Mediator 2 (varD) is a score/summation of 3 items with 0 min - 3 max score.
Mediator 2 goes through Latent Construct 2 (varE) with 3 Likert Scale items and direct path to DV.
VarC and VarE are direct predictors to DV.
Can anyone help plese? Thank you so much.
Lena Gan