Learn R Programming

riskRegression (version 2020.12.08)

summary.ate: Summary Average Treatment Effects

Description

Summary average treatment effects.

Usage

# S3 method for ate
summary(
  object,
  estimator = object$estimator[1],
  short = FALSE,
  type = c("meanRisk", "diffRisk"),
  se = FALSE,
  quantile = FALSE,
  estimate.boot = TRUE,
  digits = 3,
  ...
)

Arguments

object

object obtained with function ate

estimator

[character] The type of estimator relative to which the estimates should be displayed.

short

[logical] If TRUE, only displays the estimated risks.

type

[character vector] what to displayed. Can be "meanRisk" to display the risks specific to each treatment group, "diffRisk" to display the difference in risks between treatment groups, or "ratioRisk" to display the ratio of risks between treatment groups,.

se

[logical] should the standard error of the risks be displayed?

quantile

[logical] should the quantile of the confidence bands be displayed?

estimate.boot

[logical] should the average estimate on the bootstrap samples be displayed?

digits

[integer, >0] Number of digits.

...

passed to confint

Details

to display confidence intervals/bands and p.value, the confint method needs to be applied on the object.

See Also

as.data.table to extract the estimates in a data.table object. autoplot.ate for a graphical representation the standardized risks. confint.ate to compute p-values and adjusted p-values or perform statistical inference using a transformation. confint.ate to compute (pointwise/simultaneous) confidence intervals and (unadjusted/adjusted) p-values, possibly using a transformation.