lt_attgt: lt_attgt

View source: R/lt_attgt.R

lt_attgtR Documentation

lt_attgt

Description

Computes estimates of ATT(g,t) using a linear trends model for untreated potential outcomes

Usage

lt_attgt(gt_data, xformla = ~1, anticipation = 0, ...)

Arguments

gt_data

data frame that is local to the specific groups and times for which we'll be computing a treatment efect estimate.

xformla

Formula for which covariates to include in the model. Default is ~1.

anticipation

Number of periods that treatment is anticipated. Default is 0. This is in “periods”; e.g., code will work in time periods are equally spaced but 2 years apart. In this case, to allow for treatment anticipation of 2 year (<=> 1 period), set anticipation = 1.

...

extra arguments

Value

attgt_if object


bcallaway11/ife documentation built on Sept. 15, 2023, 12:33 a.m.