Description Usage Arguments Value
Fit synthetic controls for multiple outcomes together with an index
1 |
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
syn_func |
Function to get synthetic controls |
name |
Name of the synthetic control method |
trt_unit |
Unit that is treated (target for regression), default: 0 |
alpha |
Vector of size (n_outcomes - 1) or n_outcomes which specifies the weights, if no input then alpha = 1/n_units |
both outcomes with additional synthetic controls added weights for synthetic controls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.