BPG06dat: Simulated dataset from Bauer, Preacher, and Gil (2006)

BPG06datR 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

\Sexpr[results=rd]{tools:::Rd_expr_doi("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. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1037/1082-989X.11.2.142")}


falkcarl/multilevelmediation documentation built on Jan. 11, 2025, 5:16 a.m.