Description Usage Arguments Details References
computes average standardized absolute mean distance (ASAM)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
data |
data |
treatment |
column name of treatment |
trt_indicator |
value that indicates the unit is treated, e.g. 1 or TRUE |
outcome |
outcome variable included in the data. It should be specified because it is not covariate. |
exclude |
Additional columns to exlude |
object |
A |
formula |
If not, write a formula to be fitted. Remember that you don't have to worry about group variable. .SD do exclude |
method |
Estimating methods
|
weighting |
Weighting methods, IPW or SIPW |
mc_col |
Indicator column name for MC simulation if exists |
sc_col |
Indicator column name for various scenarios if exists |
parallel |
parallelize some operation |
... |
Additional arguments of fitting functions |
For each covariate, compute absolute (standardized difference of means between treatment and control groups), and take average. Denote that standardization is done by sd of treatment group covariates.
Lower ASAM means that treatment and control groups are more similar w.r.t. the given covariates.
Lee, B. K., Lessler, J., & Stuart, E. A. (2010). Improving propensity score weighting using machine learning. Statistics in Medicine. Statistics in Medicine, 29(3), 337-346. https://doi.org/10.1002/sim.3782
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.