View source: R/simulation_data.R
HDCATE.get_sim_data | R Documentation |
Get simulation data
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 )
n_obs |
Num of observations |
n_var |
Num of covariates |
n_rel_var |
Num of relevant variables, only the first |
sig_strength_propensity |
signal strength in propensity score functions |
sig_strength_outcome |
signal strength in outcome functions |
intercept |
value of intercept in outcome functions |
a data.frame, which is the simulated observed data.
HDCATE.get_sim_data() HDCATE.get_sim_data(n_obs=50, n_var=4, n_rel_var=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.