ASB | R Documentation |
Compute the absolute standardized bias of given confounders and return some useful statistics.
ASB(data, confounders, treatment, verbose = TRUE)
data |
A dataframe or equivalent. |
confounders |
A vector with the column names of the confounders to balance by. |
treatment |
A string with the column name of the treatment variable. |
verbose |
Set to FALSE to suppress any console output. Default is TRUE |
A list of objects, containing the ASB matrix and some summary statistics.
ASB(data = MARMoT_data, confounders = c("race", "age"), treatment = "hospital")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.