causal_mediator | R Documentation |
This dataset contains 100 observations, generated under the following mechanism: X ~ N(0, 1) (exposure) Z ~ X + N(0,1) (measured factor: mediator) Y ~ Z + N(0, 1) (outcome)
causal_mediator
A dataframe with 100 rows and 3 variables:
exposure
: exposure
covariate
: a known factor (mediator)
outcome
: outcome
D'Agostino McGowan L, Barrett M (2023). Causal inference is not a statistical problem. Preprint arXiv:2304.02683v1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.