Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


PanelMatch (version 3.0.0)

expand_treated_ts: 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

Description

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

Usage

expand_treated_ts(lag, treated.ts)

Value

list. Contains all times in a lag window that correspond to a particular treated unit

Arguments

lag

lag value

treated.ts

times of treated observations