simdat | R Documentation |
This simulated dataset contains a hypothetical moderating variable that is dichotomously coded. The true model dictated that the moderator moderated both a and b paths of the mediational model, though the strength of moderation may be small.
simdat
A data frame with 800 observations (from 50 subjects) and 5 variables
Level 2 or subject ID
Predictor
Mediator
Outcome
Moderator
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.