Description Usage Arguments Value
Get the weighted permutation distribution of SC estimate test statistics estimating p-scores with logit-link synth
1 2 3 | wpermtest_sc(outcomes, metadata, trt_unit, statfuncs = c(rmse_ratio, mean_abs,
abs_tstat), 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 |
Unit that is treated (target for regression), default: 0 |
statfuncs |
Function to compute test stats |
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.