From p.dalgaard@biostat.ku.dk  Thu Feb 17 12:34:13 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 17 Feb 2000 13:34:13 +0100
Subject: [Rd] bug in rbinom? (PR#448)
In-Reply-To: dtrenkler@nts6.oec.uni-osnabrueck.de's message of "Thu, 17 Feb 2000 13:08:53 +0100 (MET)"
References: <200002171208.NAA29527@pubhealth.ku.dk>
Message-ID: <x2r9ecatyy.fsf@blueberry.kubism.ku.dk>

dtrenkler@nts6.oec.uni-osnabrueck.de writes:


> > .Random.seed
> [1]     0 21012  4461 28299
> > rbinom(10,10,.3)
>  [1] 4 5 5 1 5 2 4 2 6 2
> > rbinom(10,9,.3)
>  [1] 0 0 0 0 0 0 0 0 0 0
> > rbinom(10,10,.3)
>  [1] 3 3 2 2 3 1 3 3 3 2
> > rbinom(10,11,.3)
>  [1] 0 0 0 0 0 0 0 0 0 0

Ow!!!! The current snapshot does that too. (On Linux/i386)

>  rbinom(10,11,.3) 
 [1] 0 0 0 0 0 0 0 0 0 0
>  rbinom(10,11,.3) 
 [1] 0 0 0 0 0 0 0 0 0 0
>  rbinom(10,11,.3) 
 [1] 0 0 0 0 0 0 0 0 0 0
>  rbinom(10,11,.3) 
 [1] 0 0 0 0 0 0 0 0 0 0
>  rbinom(10,11,.3) 
 [1] 0 0 0 0 0 0 0 0 0 0

and 0.65.1 had it with size=100, but not with size=11.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] bug in rbinom? (PR#448)
Peter Dalgaard BSA