I have a question regarding the creation of ID-variables for equal areas.
I use a Windows7 PC with SPSS20.
Here are more details of my syntax-problem:
I need to create a dataset which in the end will be used for multilevel analysis. Hence, I need ID-variables to built my datasets for the HLM software. The hierachy is people in zipcodes-areas. Since we have a a data security issue we are not allowed to combine the people-data with the zipcodes. So we recoded the zipcodes into HashCodes, which are string variables.
I know how to create ID with the
Code: Select all
Here is my question: is there a way to tell SPSS to create the same ID conditioned for another variable?
So, person 1,2,3, who life in zipcode x, will have the same ID xx,
and person 4,5,6 who life in zipcode y, will have the same ID yx, etc.
Thanks for your help.