s-news
[Top] [All Lists]

Re: bug of signif

To: "Molinari, Luciano" <Luciano.Molinari@kispi.unizh.ch>
Subject: Re: bug of signif
From: Spencer Graves <spencer.graves@pdf.com>
Date: Thu, 29 Jan 2004 07:50:52 -0800
Cc: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
In-reply-to: <C89B44E6684BD411A84B0008C7BF17A401343A9E@obelix.kispi.unizh.ch>
References: <C89B44E6684BD411A84B0008C7BF17A401343A9E@obelix.kispi.unizh.ch>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
"signif(1, dig=20)" produced 1 for me on S-Plus 6.2 under Windows 2000, though S+2000 on the same machine reproduced the bug you mentioned. hope this helps. spencer graves

Molinari, Luciano wrote:

S+2000 under Windows 2000.
Notwithstanding past messages concerning a possible bug in signif, which was
not, in one case, a bug, I am puzzled by the following behaviour:
------------------
S+>signif(1)
[1] 1
S+>signif(1,dig=12)
[1] 0.9999999999999998
S+>signif(1,dig=19)
[1] 1
S+>signif(1,dig=20)
[1] 1e-019
----------------------
Using signif(1.,20) or signif(as.numeric(1),20) does not help.
R, of course, does not have this problem.
L. Molinari

--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news


<Prev in Thread] Current Thread [Next in Thread>
  • bug of signif, Molinari, Luciano
    • Re: bug of signif, Spencer Graves <=