Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: creating an unique identification number


From   "Simo Hansen" <[email protected]>
To   <[email protected]>
Subject   st: creating an unique identification number
Date   Fri, 1 Sep 2006 18:40:10 +0300

I am not sure whether the list received my question or nor. I am resending
it. I am sorry for any inconvenience I may cause. Thanks.
Dear All,
I have a household level data that includes a batch number and within each
batch number  household id number. It looks like in the following form:

Batch_nu          hhid_nu
10100025          1                 
10100025         2        
10100025         3      
10100031          1
10100031          2
10100031          3
10100037          1
10100037          2
10100037          3
 My question is that how I can create an unique identification number for
each household usign batch_nu and hhid_nu.
Thank you.
Best regards,
Simo



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index