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?