DGP for testing IsoXshift with mediation

simulate_mediation_data(n_obs = 1e+05, delta = 1, n_bins = 10)

Arguments

n_obs

Number of observations

delta

Delta for M1 Exposure

n_bins

Number of bins to discretize exposure

Value

A data frame of simulated mediation data