Learn R Programming

causalSLSE (version 0.4-1)

simDat4: Simulated Data.

Description

This dataset is used in several documentation files to illustrate the different functionalities of the package.

Usage

data("simDat4")

Arguments

Format

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.