I have a data set with a series of dates for each id. I have generated a series of lead and lag variables, and now I want to generate another set of variables with the diffe