From | David Kantor <[email protected]> |
To | [email protected] |
Subject | Re: st: combine 3 numeric vars. to create 1 unique id. var |
Date | Tue, 13 Aug 2002 10:44:32 -0400 |
At 10:14 AM 8/13/2002 +0600, Nyima wrote:
Greetings,First, does the other data set have the same three identifiers? If so, then there is no need to combine them into one variable. Use the three together as you key:
I need to create a unique id variable by combining three different numeric variables viz. "district", "house" and "person". "District" has been entered as a four digit number code (1000 to 1500). Each "District" has "house"s numbered 1 to 150 (no zero in front) and each "house" has "person" with numbers ranging from 1 to 12 (again no zero in front). I need the uniqe id variable to merge this dataset with another data file having other information about these particular people.
[...]
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |