Creates a dataset with covariates in a uniform distribution where the covariates’ importance can be pre-specified by the user. The treatment effect will be normally distributed.
The importance each covariate has in determining the outcome. Must be of length num_cov
bi_mean
numerical
The treatment effect is normally distributed with this mean
bi_stdev
numerical
The treatment effect is normally distributed with this standard deviation
Return Name
Type
Description
data_frame
Pandas Dataframe
A dataframe that is according to the specifications. Units 0 through num_treated are treatment group, and num_treated through num_treated+num_control are control group units.
true_catt
array
The CATE of each treated unit, where the ith has the treatment effect of the ith unit in the dataframe.
Creates a dataset with covariates in a binomial distribution where the covariates’ importance on outcome can be pre-specified by the user. The treatment effect will be normally distributed.
The bernoulli parameter determining the distribution of the covariates
covar_importance
array
The importance each covariate has in determining the outcome. Must be of length num_cov
bi_mean
numerical
The treatment effect is normally distributed with this mean
bi_stdev
numerical
The treatment effect is normally distributed with this standard deviation
Return Name
Type
Description
data_frame
Pandas Dataframe
A dataframe that is according to the specifications. Units 0 through num_treated are treatment group, and num_treated through num_treated+num_control are control group units.
true_catt
array
The CATE of each treated unit, where the ith has the treatment effect of the ith unit in the dataframe.
Creates a dataset with covariates in a binomial distribution where the covariates’ importance on outcome exponentially decays rather than being determined by the user. The treatment effect will be normally distributed.
The bernoulli parameter determining the distribution of the covariates
bi_mean
numerical
The treatment effect is normally distributed with this mean
bi_stdev
numerical
The treatment effect is normally distributed with this standard deviation
Return Name
Type
Description
data_frame
Pandas Dataframe
A dataframe that is according to the specifications. Units 0 through num_treated are treatment group, and num_treated through num_treated+num_control are control group units.
true_catt
array
The CATE of each treated unit, where the ith has the treatment effect of the ith unit in the dataframe.