This dataset contains 400 observations, each generated under a different data generating mechanism:
(1) A collider
(2) A confounder
(3) A mediator
(4) M-bias
causal_quartetA dataframe with 400 rows and 6 variables:
dataset: The data generating mechanism
exposure: exposure
outcome: outcome
covariate: a known factor
u1: an unknown factor
u2: an unknown factor
D'Agostino McGowan L, Barrett M (2023). Causal inference is not a statistical problem. Preprint arXiv:2304.02683v1.