| lt_attgt | R Documentation | 
Computes estimates of ATT(g,t) using a linear trends model for untreated potential outcomes
lt_attgt(gt_data, xformla = ~1, anticipation = 0, ...)
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   | 
... | 
 extra arguments  | 
attgt_if object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.