[Rd] Bug in qbinom? (PR#511)
Fri, 7 Apr 2000 08:33:13 -0700 (PDT)
On Fri, 7 Apr 2000 email@example.com wrote:
> n_10;p_0.5;jjx_0:n;qbinom(pbinom(jjx,n,p),n,p) # This one works as
> n_100;p_0.5;jjx_0:n;qbinom(pbinom(jjx,n,p),n,p) # This one causes
> severe problems
The problem is in qbinom(1-epsilon,100,0.5) for epsilon between 10^-15 and
10^-17. It appears to go for ever.
An even simpler version is
Presumably a check for zero needs some fuzz.
Assistant Professor, Biostatistics
University of Washington, Seattle
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: firstname.lastname@example.org