Description Usage Arguments Value
Find Balancing weights by solving the dual optimization problem
1 2 3 4 5 |
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
trt_unit |
Unit that is treated (target for regression), default: 0 |
r |
Rank of matrix for SVD |
hyperparam |
Regularization hyperparameter |
link |
Link function for weights |
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
|
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.