Skip to contents

Simulated data set containing 1000 observations on 5 measured variables with no missing values. The first three variables are the binary exposure, the continuous mediator and the binary outcome, respectively, while the last two variables are the potential adjustment covariates (one binary and one continuous).

Usage

data(datamed_c)

Format

A data frame with 1000 rows and 5 variables:

X

exposure, binary variable

M

mediator, continuous variable

Y

outcome, binary variable

C1

first covariate, binary variable

C2

second covariate, continuous variable