Dear all,
I would like to generate a new variable that takes as a constant an observation for another variable in a specific year.
I would use this to e.g. keep track on an initial position.
Below a simplified version of my data set:
Country GDP Year StartPos
AT 1 2000 1
AT 2 2001 1
AT 3 2002 1
BE 4 2000 4
BE 5 2001 4
BE 6 2002 4
StartPos would then take the observation for GDP in 2000...
Many thanks for your help!
Joao
I would like to generate a new variable that takes as a constant an observation for another variable in a specific year.
I would use this to e.g. keep track on an initial position.
Below a simplified version of my data set:
Country GDP Year StartPos
AT 1 2000 1
AT 2 2001 1
AT 3 2002 1
BE 4 2000 4
BE 5 2001 4
BE 6 2002 4
StartPos would then take the observation for GDP in 2000...
Many thanks for your help!
Joao
Comment