Description Usage Arguments Value
Bootstrap standard errors for estimated counterfactual with synth
1 2 3 | bootstrap_sc(outcomes, metadata, n_boot, trt_unit = 1, pred_int = F,
cols = list(unit = "unit", time = "time", outcome = "outcome", treated =
"treated"))
|
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
n_boot |
Number of bootstrap samples |
trt_unit |
Treated unit |
pred_int |
Whether to add outcome control variance to make pred interval |
cols |
Column names corresponding to the units, time variable, outcome, and treated indicator |
att estimates, test statistics, p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.