[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Thanks (was st: Float-type variables)
Dear Drs. Cox and Sorensen:
Thanks for your reply to my inquiry on float-type variables (especially Dr.
Cox, who must have spent an hour or so writing up such a lengthy detailed
response). As Dr. Cox suggests of other users, I, too, mostly deal with
categorical variables and felt a little annoyed by the problem I encountered
with float-type variables, although I had known about it (I am also aware of
the "set type double" command Dr. Sorensen suggested). I just find rather
counter-intuitive the way Stata "demotes" computationally generated "double"
variables to "float" ones (as documented in the FAQ page entitled "How many
significant digits are there in a float?"), producing seemingly inaccurate
results which are indeed accurate. But it's merely one person's
opinion/feeling. Anyway, I will make a mental note to watch for a value
larger than 16,777,215, the threshold beyond which Stata becomes seemingly
inaccurate but actually not. Thanks. ---Hiroshi
P.S. To those who don't see the context here, what I've written above is a
thank-you note to Dr. Cox's lengthy response to my even more lengthy initial
inquiry, both of which I've chosen not to reproduce here to save space.
University of Illinois at Chicago
* For searches and help try: