.weights_calc | R Documentation |
Called from ate()
or ett()
.
.weights_calc(specification, target, weightAlias, dichotomy, by, data)
specification |
a |
target |
One of "ate" or "ett"; |
weightAlias |
An alias for the weight target, currently one of "ate",
"ett", "att". Chosen by |
dichotomy |
optional; a formula defining the dichotomy of the treatment
variable if it isn't already |
by |
optional; named vector or list connecting names of unit of
assignment/ variables in |
data |
optionally the data for the analysis to be performed on. May be
excluded if these functions are included as the |
a WeightedStudySpecification
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.