Description Usage Arguments Value
svyglm standard errors
svyglm standard errors
1 2 3 4 5 6 7 | svyglm_se_synth(outcomes, metadata, trt_unit = 1, pred_int = F,
cols = list(unit = "unit", time = "time", outcome = "outcome", treated =
"treated"))
svyglm_se_synth(outcomes, metadata, 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 |
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 |
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
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 |
outcomes with additional synthetic control added and weights
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.