CoOL_0_mediation_simulation {CoOL}R Documentation

Mediation example

Description

To reproduce the mediation example.

Usage

CoOL_0_mediation_simulation(n)

Arguments

n

number of observations for the synthetic data.

Value

A data frame with the columns Y, A,B ,C, D, E, F and n rows.

References

Rieckmann, Dworzynski, Arras, Lapuschkin, Samek, Arah, Rod, Ekstrom. 2022. Causes of outcome learning: A causal inference-inspired machine learning approach to disentangling common combinations of potential causes of a health outcome. International Journal of Epidemiology <https://doi.org/10.1093/ije/dyac078>


[Package CoOL version 1.1.2 Index]