Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: data precision and problems therein


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: data precision and problems therein
Date   Fri, 9 Nov 2012 08:17:34 +0000

Start with

http://blog.stata.com/2012/04/02/the-penultimate-guide-to-precision/

Indicator variables based on pre-defined cut-points are usually better
avoided, any way.

Nick

On Fri, Nov 9, 2012 at 6:28 AM, Pham Ngoc Minh <minh.pn@tnu.edu.vn> wrote:

> I have a problem with data precision as follows:
>
> for example: glycated hemoglobin is 6.1 (%) visible in data editor,
> but it turns out 6.0999999 when clicked on, so are other numbers (5.6
> becomes 5.5999999), etc. This affects results of creating dummy
> variables with pre-defined cut-points of values. How about the
> solution?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index