Description Usage Arguments Value
Fit synthetic controls on outcomes, wrapper around fit_synth_formatted
1 | fit_synth(outcomes, metadata, trt_unit = 1)
|
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
trt_unit |
Unit that is treated (target for regression), default: 0 |
Weights for synthetic controls, control outcomes as matrix, and whether the unit is actually treated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.