Dear Professor Muthen Here are two questions for moderating syntax for SEM. All are continuous variables. The moderation model is that organizational trust (OT) moderates the relationship between breach (PCBR) and violation (PCVI).
1. Should I use "Analysis: Estimator = MLM;" in my model? Or use "ANALYSIS: TYPE = RANDOM; ALGORITHM = INTEGRATION;"?
2. The interaction term always becomes a separate latent variable in my output. Following <mplus> on page 71, I write syntax as follows:
TITLE: SEM three indicator with moderation model DATA: FILE =/Users/xi/Documents/voice&silence/new reverse listwise deletion.csv; VARIABLE: NAMES = CASE_t1 CASE_t2 sex age otenure ft ot1 ot2 ot3 ot4 ot5 ot6 ot7 pcb1 pcb2 pcb3 pcb4 pcb5 pcv1 pcv2 pcv3 pcv4; Usevariables = ot1 ot4 ot7 pcb3 pcb4 pcb5 pcv2 pcv3 pcv4; ANALYSIS:TYPE = RANDOM; ALGORITHM = INTEGRATION; MODEL: OT BY ot1 ot4 ot7; PCBR BY pcb3 pcb4 pcb5; PCVI BY pcv2 pcv3 pcv4; PCVI ON PCBR; BROT | PCBR XWITH OT; PCVI ON BROT; OUTPUT:
Unlike figure in page 71, the output shown in my example is that the interaction term becomes a separate latent variable.Thanks so much.