Dear statalist,
In my cross-sectional data I have one id -variable, but I also want to create a couple id variable. The couples that belong to each other have id+10 000. This means that id: 1551 belongs to id: 11 551.
I would really appreciate if someone could tell me how to write the command so that I can create a couple id variable.
Many thanks.
Sunniva
In my cross-sectional data I have one id -variable, but I also want to create a couple id variable. The couples that belong to each other have id+10 000. This means that id: 1551 belongs to id: 11 551.
I would really appreciate if someone could tell me how to write the command so that I can create a couple id variable.
Many thanks.
Sunniva
Comment