Sunday, July 24, 2022

Generating a new variable year-1/year+1

Dear all,

I have one question, if i want to generate a new variable starting from an existing one but the new variable should be year -1 or year +1 from old variable.
What is the command in stata for this operation?

No comments:

Post a Comment