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" <>
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 Ø. Sørensen, <>.
phd student (economics), Norwegian School of Economics.
currently visiting Queen's University, Kingston, Ontario.

* For searches and help try:

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