Skip to contents

[Deprecated]

calc_att() was renamed to att() in fixes 1.0.0. The arguments treatment, fe, covariates, cluster, weights, vcov, and vcov_args were never used and have no equivalent in att().

Usage

calc_att(
  data,
  outcome,
  treatment = NULL,
  time,
  timing,
  fe = NULL,
  covariates = NULL,
  cluster = NULL,
  weights = NULL,
  interval = 1,
  time_transform = FALSE,
  unit = NULL,
  estimator = c("cs", "bjs"),
  aggregation = c("simple", "by_cohort", "by_time"),
  control_group = c("nevertreated", "notyettreated"),
  anticipation = 0L,
  conf.level = 0.95,
  vcov = "HC1",
  vcov_args = list()
)

Arguments

data, outcome, time, timing, unit

Passed to att().

treatment, fe, covariates, cluster, weights, vcov, vcov_args

Ignored (reserved arguments of the old interface; accepted and dropped).

interval, time_transform

Passed to att().

estimator, aggregation, control_group, anticipation

Passed to att().

conf.level

Renamed to conf_level in att().

Value

An att_result object; see att().

See also