Description Usage Arguments Value
Cross validation for l2_entropy regularized synthetic controls Take bootstrap samples over the controls and evaluate balance Modified version of Wang & Zubizaretta (2018)
1 2 3 4 |
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
hyperparams |
Vector of hyper-parameter settings to consider |
regularizer |
Dual of balance criterion |
normalized |
Whether to normalize the weights |
outcome_col |
Column name which identifies outcomes, if NULL then assume only one outcome |
cols |
Column names corresponding to the units, time variable, outcome, and treated indicator |
opts |
Optimization options
|
best hyperparameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.