HDCATE.get_sim_data {hdcate}R Documentation

Get simulation data

Description

Get simulation data

Usage

HDCATE.get_sim_data(
  n_obs = 500,
  n_var = 100,
  n_rel_var = 4,
  sig_strength_propensity = 0.5,
  sig_strength_outcome = 1,
  intercept = 10
)

Arguments

n_obs

Num of observations

n_var

Num of covariates

n_rel_var

Num of relevant variables, only the first n_rel_var covariates are actually present in the expectation function of potential outcome, and only the last n_rel_var covariates are present in the propensity score function.

sig_strength_propensity

signal strength in propensity score functions

sig_strength_outcome

signal strength in outcome functions

intercept

value of intercept in outcome functions

Value

a data.frame, which is the simulated observed data.

Examples

HDCATE.get_sim_data()
HDCATE.get_sim_data(n_obs=50, n_var=4, n_rel_var=2)

[Package hdcate version 0.1.0 Index]