|
|
Mediation Analysis with the Logistic ... |
|
Message/Author |
|
|
Dear Drs. Muthen, I would like to run a mediation analysis with a binary outcome variable (choice = 1 vs. 0). My model is Y (choice) = X1 X2 X3 X4 X5 in which I predict that M mediates the relationship between X3 and Y. Could you please provide me with MPlus code to run this model? Thank you very much! Dr. Nguyen |
|
|
Look at UG ex 3.18 where M takes the role of your X3. The example also has an interaction XZ which you can ignore. |
|
Back to top |
|
|