Description Usage Arguments Value
This function is used by generate_constraints()
to standardize
covariate vectors to become balance constraints.
The function divides the covariate values by the treated or average group
standard deviation (across strata).
1 | stand(z, x, denom_variance = "treated", treated = 1, autogen_missing = 50)
|
z |
a factor with the |
x |
a covariate vector with |
denom_variance |
character stating what variance to use in the standardization:
either the default "treated", meaning the standardization will use the
treated variance (across all strata), where the treated group is declared in
the |
treated |
which treatment value should be considered the treated units. This
must be one of the values of |
autogen_missing |
whether to automatically generate missingness constraint
and how heavily to prioritize it. Should be a numeric
or |
A list with two components:
a balance constraint for the standardized covariate values of all unites.
a corresponding balance constraint for the rate of missingness if
autogen_missing
not NULL
, otherwise NULL
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.