data_mome_demo_missing | R Documentation |
Generated from a complicated moderated-mediation model for demonstration, with missing data
data_mome_demo_missing
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.
A copy of data_mome_demo with some
randomly selected cells changed to
NA
. The number of cases with no
missing data is 169.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.