Generated from a complicated moderated-mediation model for demonstration.
data_mome_demo
A data frame with 200 rows and 11 variables:
Predictor 1. Numeric.
Predictor 2. Numeric.
Mediator 1. Numeric.
Mediator 2. Numeric.
Mediator 3. Numeric.
Outcome Variable 1. Numeric.
Outcome Variable 2. Numeric.
Moderator 1. Numeric.
Moderator 21. Numeric.
Control Variable 1. Numeric.
Control Variable 2. Numeric.
The model:
# w1x1 <- x1 * w1
# w2m2 <- w2 * m2
m1 ~ x1 + w1 + w1x1 + x2 + c1 + c2
m2 ~ m1 + c1 + c2
m3 ~ x2 + x1 + c1 + c2
y1 ~ m2 + w2 + w2m2 + x1 + x2 + m3 + c1 + c2
y2 ~ m3 + x2 + x1 + m2 + c1 + c2
# Covariances excluded for brevity