print_covariance | R Documentation |
See balance statistics of covariance for specified variables between treatment and control groups.
print_covariance(
.data,
treatment,
confounders,
estimand = c("ATE", "ATT", "ATC")
)
.data |
dataframe |
treatment |
the column denoted treatment. Must be binary. |
confounders |
character list of column names denoting the X columns of interest |
estimand |
character of either ATE, ATT or ATC the causal estimand you are making inferences about |
tibble
George Perrett
data(lalonde)
print_covariance(lalonde, 'treat', confounders = c('re78', 'age', 'educ'), estimand = 'ATE')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.