Skip to contents

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

Usage

data("data5")

Format

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

Exposure

a numeric vector

M1

a numeric vector

M2

a numeric vector

M3

a numeric vector

event

event

surv_time

time before event