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

Re: st: Precision


From   "Ronnie Babigumira" <[email protected]>
To   <[email protected]>
Subject   Re: st: Precision
Date   Fri, 11 Nov 2005 17:33:11 +0100

Hi Many thanks Maarten, Tom, Sergio, Nick, and Micheal for your responses.

Turns out it was all in the eyes..or as Nick pointed out
(paraphrasing)...what I saw or what I thought I saw.

Inputting the data as string, destring-ing, and specifying the correct
format %20.10f (the magic wand..thanks Tom and Micheal for pointing this
out) is what I needed.

Inputting as double (Sergio) and again formating %20.10f does the same
thing.

Nick, thanks for the tutorial on precision (what exists) vs illusion
(what I saw).

To close this thread

-  if you have raw data with many decimals then input as double and
format correctly,
- otherwise, destring and format correctly

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