Multivariate Mediation & Path Analysis Syntax/Diagram Simulator

Select the model configuration to automatically generate lavaan syntax examples and a conceptual path diagram.



1. Number of Final Outcome Variables (Y):
2. Number of Intermediate Mediators (M):

【Variable Label Legend】

  • X, X1~X3: Independent Variables (Predictors)
  • M1~M3: Intermediate Mediators
  • Y, Y1, Y2: Final Outcome Variables (Criteria)