Obtain treatment effect and variance from counter-factual prediction
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.