Skip to contents

A toy dataset for causal mediation analysis with 3 uncausally related mediators.

Usage

data("data1")

Format

A data frame with 1000 observations on the following 8 variables.

Treatment

a factor with levels 0 1

C1

a factor with levels 0 1

C2

a factor with levels 0 1

C3

a factor with levels 0 1

M1

a numeric vector

M2

a numeric vector

M3

a numeric vector

Outcome

a numeric vector