BPG06dat {multilevelmediation} | R Documentation |
Simulated dataset from Bauer, Preacher, and Gil (2006)
Description
In supplementary materials, Bauer, Preacher, and Gil (2006) provide a simulated dataset in SAS format. That dataset is replicated here.
Usage
BPG06dat
Format
A data frame with 800 observations (from 100 subjects) and 4 variables
- id
Level 2 or subject ID
- x
Predictor
- m
Mediator
- y
Outcome
Source
https://psycnet.apa.org/doi/10.1037/1082-989X.11.2.142
References
Bauer, D. J., Preacher, K. J., & Gil, K. M. (2006). Conceptualizing and testing random indirect effects and moderated mediation in multilevel models: New procedures and recommendations. Psychological Methods, 11(2), 142–163. doi:10.1037/1082-989X.11.2.142
[Package multilevelmediation version 0.3.1 Index]