An example dataset in the CMAverse package

cma2020

Format

A data frame with 1000 rows and 8 variables:

ID

the id number for each subject

C1

a continuous baseline confounder

C2

a binary baseline confounder

A

the binary exposure

M1

a binary mediator

M2

a categorical mediator with 3 levels

contY

a continuous outcome

binY

a binary outcome