Description Usage Arguments Value
Fit l2_entropy regularized synthetic controls on outcomes
1 2 3 4 |
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
trt_unit |
Unit that is treated (target for regression), default: 0 |
eps |
Bound on synthetic control differences |
outcome_col |
Column name which identifies outcomes, if NULL then assume only one outcome |
lasso |
Whether to do lasso (every covariate is separate) |
cols |
Column names corresponding to the units, time variable, outcome, and treated indicator |
max_iters |
Maximum number of iterations |
tol |
Convergence tolerance |
outcomes with additional synthetic control added and weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.