| cov_pre_test | R Documentation | 
Pre-test for time invariant effects of covariates in an interactive fixed effects model for untreated potential outcomes
cov_pre_test(
  yname,
  gname,
  tname,
  idname,
  data,
  nife,
  xformla = ~1,
  anticipation = 0
)
| yname | Name of outcome in  | 
| gname | Name of group in  | 
| tname | Name of time period in  | 
| idname | Name of id in  | 
| data | balanced panel data | 
| nife | the number of interactive fixed effects to include in the model | 
| 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  | 
ptetools::pte_results object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.