Dear All: I have flags for certain dates. I want to construct two variables, for VarA and VarB, called VarA_BF and VarB_BF, that are lagged two days from the date of the flag and two days forward from the flag date. Thanx in advance My Data is as Follows Date VarA VarB VarA_BF VarB_BF 06/20/2019 1 06/20/2019 1 06/20/2019 1 06/20/2019 1 06/21/2019 1 1 06/21/2019 1 1 06/21/2019 1 1 06/22/2019 1 1 1 06/22/2019 1 1 1 06/22/2019 1 1 1 06/22/2019 1 1 1 06/23/2019 1 1 1 06/23/2019 1 1 1 06/23/2019 1 1 1 06/24/2019 1 1 06/24/2019 1 1 06/24/2019 1 1 06/24/2019 1 1 06/26/2019 1 06/26/2019 1 06/27/2019 06/27/2019 06/27/2019 06/28/2019
... View more