sim.CATE: Simulate a dataset with known constant CATE

View source: R/sim.R

sim.CATER Documentation

Simulate a dataset with known constant CATE

Description

Simulate a dataset with known constant CATE

Usage

sim.CATE(
  n = 1500,
  p = 2,
  prop_active = 1,
  sigma = NULL,
  formula_estimand = ~1,
  formula_A = ~.,
  formula_Y0W = ~.,
  beta = NULL,
  beta_A = NULL,
  beta_Y = NULL
)

Arguments

n

Sample size

p

Dimension of W

prop_active

Proportion of active (nonzero coef) variables


Larsvanderlaan/causalGLM documentation built on April 14, 2022, 12:51 a.m.