model.tables.ate: Statistical Inference for the Average Treatment Effect

View source: R/model.tables.ate.R

model.tables.ateR Documentation

Statistical Inference for the Average Treatment Effect

Description

Export estimated average treatment effects with their uncertainty (standard errors, confidence intervals and p-values).

Usage

## S3 method for class 'ate'
model.tables(
  x,
  contrasts = NULL,
  times = NULL,
  estimator = NULL,
  type = NULL,
  ...
)

Arguments

x

A ate object, i.e. output of the ate function.

contrasts

[character vector] levels of the treatment variable for which the estimates should be assessed or compared. Default is to consider all levels.

times

[numeric vector] The timepoints at which the estimates should be displayed. Default is to consider all timepoints.

estimator

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

type

[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").

...

Additional arguments (meanRisk.transform, ..., method.band, ...) passed to confint.ate.

Value

a data.frame.

Author(s)

Brice Ozenne broz@sund.ku.dk


tagteam/riskRegression documentation built on Oct. 19, 2024, 7:43 p.m.