Estimated average treatment effect.
# S3 method for ate
coef(
object,
contrasts = NULL,
times = NULL,
estimator = NULL,
type = NULL,
...
)
A numeric vector.
A ate
object, i.e. output of the ate
function.
[character vector] levels of the treatment variable for which the estimates should be assessed or compared. Default is to consider all levels.
[numeric vector] The timepoints at which the estimates should be displayed. Default is to consider all timepoints.
[character] The type of estimator relative to which the estimates should be displayed.
[character] should the average risk per treatment be displayed ("meanRisk"
),
or the difference in average risk between any two pairs of treatments ("diffRisk"
),
or the ratio in average risk between any two pairs of treatments ("ratioRisk"
).
Not used. For compatibility with the generic method.
Brice Ozenne broz@sund.ku.dk