Description Usage Arguments Value
Estimate the variance of the SC estimate
1 2 3 | di_standard_error(outcomes, metadata, trt_unit = 1, use_weights = FALSE,
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 |
use_weights |
Whether to use weights in se estimate, default: FALSE |
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.