DGP for testing InterXshift without mediation

simulate_data(
  n_obs = 1e+05,
  sigma_mod = matrix(c(1, 0.5, 0.8, 0.5, 1, 0.7, 0.8, 0.7, 1), nrow = 3, ncol = 3),
  delta = 1
)

Arguments

n_obs

Number of observations

sigma_mod

Sigma matrix of exposures

delta

Amount to shift exposure by exposure to shift

Value

A dataframe of simulated data