data4.Rd
A toy dataset for causal mediation analysis with 3 uncausally related mediators.
data("data4")
A data frame with 1000 observations on the following 8 variables.
Treatment
a numeric vector
C1
a factor with levels 0 1
0
1
C2
C3
M1
M2
M3
a factor with levels 0 1 2 3
2
3
Outcome