get_outcome_weights {OutcomeWeights} | R Documentation |
Outcome weights method
Description
This is a generic method for getting outcome weights. It calculates the outcome weights for objects created by other packages. See get_outcome_weight.<compatible_fct> in the package documentation for compatible functions.
Usage
get_outcome_weights(object, ...)
Arguments
object |
An object, obtained from other packages. |
... |
Additional arguments specific to object class implementations. See the documentation which object requires which additional arguments. |
Value
A list of at least these components:
omega: matrix (number of point estimates x number of estimation units) of outcome weights
treat: the treatment indicator to make it compatible with the cobalt package
References
Knaus, M. C. (2024). Treatment effect estimators as weighted outcomes, https://arxiv.org/abs/2411.11559.
[Package OutcomeWeights version 0.1.1 Index]