Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Identifying unique values with codebook


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Identifying unique values with codebook
Date   Thu, 17 Jun 2010 16:51:40 +0000 (GMT)

--- On Thu, 17/6/10, Michael N. Mitchell wrote:
> It seems to me that many of the "gotchas" arise
> from the fact that the default data type is "float"
> instead of "double". 

The typical variable in a dataset contains some sort
of measurement, and most measurements are nowhere 
near as precise to warant anything more than 2 or
3 digits of precision, so "float" is a perfectly
sensible default. This leaves variables that are
supposed to represent a unique identification 
number. Here double or long may help, but these
too can easily become too short for those cases,
which would then require you to switch to strings. 
So, I am not convinced about the usefulness if a 
switch of the default to double. 

-- Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index