I sort my data according to ID in ascending order and then according to year in descending order. firm years with the same ID belong to the same firm. Imagine a firm has got 5 year observations, 2009, 2007, 2006, 2005, 2004. I would like to transform them into a new variable called relative years: 0, -2, -3, -4, -5.
I know how to do this in excel. But it took me considerable time even in a very small test sample. I was wondering whether this is achievable in SPSS. Thanks very much!
Tim
I know how to do this in excel. But it took me considerable time even in a very small test sample. I was wondering whether this is achievable in SPSS. Thanks very much!
Tim