simDat4 {causalSLSE} | R Documentation |
This dataset is used in several documentation files to illustrate the different functionalities of the package.
data("simDat4")
A data frame with 500 observations on the following 7 variables.
Z
Treatment indicator.
Y
Observed outcome.
X1
Continuous covariates with a large proportion of zeros.
X2
A categorical variable with 3 character levels (not expressed as factor).
X3
A categorical variable with 3 numerical levels (not expressed as factor).
X4
A binary variable.
treat
A character variable.