Description Usage Arguments Value
Use leave out one estimates (placebo gaps) to estimate unit-level variance Do this for ridge-augmented synth
1 2 3 4 |
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
covs |
Dataframe of covariates if not null then uses covariates in outcome model; default NULL |
trt_unit |
Treated unit |
lambda |
Ridge hyper-parameter, if NULL use CV |
scm |
Include SCM or not |
ridge |
Include ridge or not |
use_weights |
Whether to use weights in se estimate, default: FALSE |
hc |
Type of HC variance estimate (-1 for homoskedastic) |
trt_effect |
Whether to compute standard errors for treatment effect or counterfactual mean |
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.