Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: accuracy and preserving uniqueness of id


From   "Erik Ø. Sørensen" <sameos@mac.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: accuracy and preserving uniqueness of id
Date   Tue, 25 Feb 2003 18:12:58 -0500

On tirsdag, feb 25, 2003, at 17:33 Canada/Eastern, Radu Ban wrote:
what's bothering me is that ids that are different in text become the same
in stata. is there a way to preserve the accuracy and hence uniqueness of
the ids in this situation?
The only way to preserve accuracy of this many digits is to read it in as a string (or possibly split the id into two parts). If you need to, you can recode the string into running numbers after having read the data in.

Erik
--
Erik Ø. Sørensen, <http://www.geocities.com/erik_oiolf/>.
phd student (economics), Norwegian School of Economics.
currently visiting Queen's University, Kingston, Ontario.

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index