Description Usage Arguments Value Examples
Takes in a data set and outputs a data.frame of the estimated average treatment effects.
1 |
data |
Data set to perform the analysis. |
dep |
The dependent outcome binary variable that will be used to measure the effect (e.g. "success"). |
treat |
The treatment variable (e.g. "treatment"). |
predictors |
Vector of predictor variables. |
level |
Level of allowed interactions. Level = (1, 2, 3) and correspond to one-way, two-way and three-way interactions respectively. |
n.sims |
Number of desired simulated models. |
matched.data |
Additional data set of pre-processed data to compare the same random models on both data sets. |
Returns a data.frame composed by the list of estimated treatment effects and the model used in each iteration. In the case of including an additional data set, the data.frame will have to columns with the respective estimates.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.