Description Usage Arguments Value Examples
View source: R/Data_Generation.R
Data_Generation
generates synthetic data, where each covariate is a
binary variable.
1 | Data_Generation(ncontrol, ntreated, nimportant, ntrivial, non_linear, U)
|
ncontrol |
number of samples in the control group |
ntreated |
number of samples in the treated group |
nimportant |
number of important covariates |
ntrivial |
number of unimportant covariates |
non_linear |
number of covariates with non-linear relationship |
U |
coefficient of non-linear term |
synthetic data
1 | Data_Generation(10, 10, 10, 5, 5, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.