expand_treated_ts Builds a list that contains all times in a lag window that correspond to a particular treated unit. This is structured as a list of vectors. Each vector is lag + 1 units long. The overall list will be the same length as the number of matched sets
expand_treated_ts Builds a list that contains all times in a lag window that correspond to a particular treated unit. This is structured as a list of vectors. Each vector is lag + 1 units long. The overall list will be the same length as the number of matched sets
expand_treated_ts(lag, treated.ts)
Arguments
lag: lag value
treated.ts: times of treated observations
Returns
list. Contains all times in a lag window that correspond to a particular treated unit