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: data precision and problems therein


From   Nick Cox <[email protected]>
To   [email protected]
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 <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index