Description Usage Arguments Value
Bootstrap standard errors for estimated counterfactual with synth
1 2 3 | bootstrap_ridgeaug(outcomes, metadata, n_boot, trt_unit = 1, pred_int = F,
lambda = NULL, scm = T, ridge = T, 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 |
lambda |
Ridge hyper-parameter, if NULL then CV |
scm |
Whether to augment SCM with ridge |
ridge |
Include ridge or not |
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.