From p.dalgaard at biostat.ku.dk  Thu May 21 10:29:33 2009
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Thu, 21 May 2009 10:29:33 +0200
Subject: [Rd] qbinom (PR#13711)
In-Reply-To: <20090520211011.0C04E283031D@mail.pubhealth.ku.dk>
References: <20090520211011.0C04E283031D@mail.pubhealth.ku.dk>
Message-ID: <4A1510ED.60405@biostat.ku.dk>

wolfgang.resch at gmail.com wrote:
> Full_Name: Wolfgang Resch
> Version: R 2.8.1 GUI 1.27
> OS: OS X 10.4.11
> Submission from: (NULL) (137.187.89.14)
> 
> 
> Strange behavior of qbinom:
> 
> 
>> qbinom(0.01, 5016279, 1e-07)
> [1] 0
>> qbinom(0.01, 5016279, 2e-07)
> [1] 16
>> qbinom(0.01, 5016279, 3e-07)
> [1] 16
>> qbinom(0.01, 5016279, 4e-07)
> [1] 16
>> qbinom(0.01, 5016279, 5e-07)
> [1] 0

Confirmed with 2.9.0 patched (r48590) on Fedora 32bit.

-- 
    O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



[Rd] qbinom (PR#13711)
Peter Dalgaard