Estimation of pre- and posttreatment average treatment effects with binary time-varying treatment using Stata