Description Usage Arguments Value Examples
This function allows the user to generate a simulation data frame for evaluating the double machine learning estimator for theta. It requres the user to specify how many observations and control variables to include aside from the treatment variable. There is also an option to set the seed for reproducible results.
1 |
N |
number of desired observations/rows. |
n_controls |
number of control variables/columns. |
theta |
user-defined treatment effect. |
seed_set |
an integer used for set.seed. |
A data frame
1 | dataGen()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.