Obtain treatment effect and variance from counter-factual prediction
Usage
treatment_effect(
object,
pair = pairwise(names(object)),
eff_measure,
eff_jacobian = eff_jacob(eff_measure),
...
)
difference(object, ...)
risk_ratio(object, ...)
odds_ratio(object, ...)
Arguments
- object
Object from which to obtain treatment effect.
- pair
(contrast
) Contrast choices.
- eff_measure
(function
) Treatment effect measurement function.
- eff_jacobian
(function
) Treatment effect jacobian function.
- ...
Additional arguments for variance.