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 on April 23, 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   Pham Ngoc Minh <minh.pn@tnu.edu.vn>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: data precision and problems therein
Date   Fri, 9 Nov 2012 18:08:11 +0900

Dear Nick,

I got the solution after reading Gould's instructions . I meant to
create categorical but not indicator variables, actually.

Thank you very much
Minh

On Fri, Nov 9, 2012 at 5:17 PM, Nick Cox <njcoxstata@gmail.com> wrote:
> 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/
*
*   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