datamed_cat {ExactMed}R Documentation

Data for Examples (Categorical Mediator)

Description

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

Usage

data(datamed_cat)

Format

A data frame with 1000 rows and 5 variables:

X

exposure, binary variable

M

mediator, categorical variable

Y

outcome, binary variable

C1

first covariate, binary variable

C2

second covariate, continuous variable


[Package ExactMed version 0.3.0 Index]