treatment_effect {RobinCar2} | R Documentation |
Treatment Effect
Description
Obtain treatment effect and variance from counter-factual prediction
Usage
treatment_effect(
object,
pair = pairwise(names(object$estimate)),
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 |
( |
eff_measure |
( |
eff_jacobian |
( |
... |
Additional arguments for variance. |
Value
A list of treatment_effect
object with following elements:
-
estimate
: estimate of the treatment effect. -
pair
:contrast
object indicating the pairwise treatment effect. -
contrast
: name of the contrast function. -
euqal_val
: the value for no treatment effect given the contrast. -
marginal_mean
: theprediction_cf
object. -
fit
: the fitted model. -
treatment
: the treatment assignment. -
variance
: the variance of the treatment effect. -
jacobian
: the Jacobian matrix.
[Package RobinCar2 version 0.1.1 Index]