--- On Jul 23, 2007, at 8:32 PM, Susan Olivia wrote:
> > I think the culprit is due to having the id as numeric variable
> > that comes with 18 digits and stored as double as suggested by
> > Profs Buis and Cox.
As I said before, you can store only 16 digits in a double variable, so
the last two digits of the variable id are now random noice and do not
correspond to the variable id in your original dataset.
--- "Michael S. Hanson" <[email protected]> wrote:
> Assuming your original data are in Excel, I suspect you'd be in much
> better shape overall if you read the "id" variable in as a string
> from the start.
This is actually the only way to store all 18 digits of your id
variable.
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/
*
* 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/