coef.ate: Estimated Average Treatment Effect.

View source: R/coef.ate.R

coef.ateR Documentation

Estimated Average Treatment Effect.

Description

Estimated average treatment effect.

Usage

## S3 method for class 'ate'
coef(
  object,
  contrasts = NULL,
  times = NULL,
  estimator = NULL,
  type = NULL,
  ...
)

Arguments

object

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

...

Not used. For compatibility with the generic method.

Value

A numeric vector.

Author(s)

Brice Ozenne broz@sund.ku.dk


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