
Extract average treatment effect estimates and confidence intervals
Source:R/atefit-extract.R
atefit-extract.RdExtract treatment effects from an atefit object on their native
estimation scale: the risk difference for binary outcomes, the log rate ratio for count outcomes, or the log RMTL
ratio, log cumulative hazard ratio, and risk difference at the horizon for survival outcomes. Exponentiate the returned
ratio estimates and interval limits to obtain ratios.
Value
coef() returns a named numeric vector of treatment effect
estimates. confint() returns a matrix with one row per selected
treatment effect and columns for the lower and upper confidence limits.
Details
Confidence intervals are normal (Wald) intervals calculated using
the bootstrap standard errors stored in the fitted object. Changing
level does not repeat the bootstrap. Treatment-specific event rates
and restricted mean survival times are not included.
Author
Thomas Debray tdebray@fromdatatowisdom.com
