[Rd] error in dbeta (PR#970)
pwolf@wiwi.uni-bielefeld.de
pwolf@wiwi.uni-bielefeld.de
Wed, 6 Jun 2001 18:31:31 +0200 (MET DST)
Full_Name: Hans Peter Wolf
Version: 1.2.1
OS: hpux10.20
Submission from: (NULL) (129.70.84.25)
dbeta computes a wrong result with parameters (1.3,1)
> version
platform hppa2.0-hp-hpux10.20
arch hppa2.0
os hpux10.20
system hppa2.0, hpux10.20
status
major 1
minor 2.1
year 2001
month 01
day 15
language R
> dbeta((0:5)/5,1.3,1.0)
[1] 0.0 0.0 0.0 0.0 0.0 1.3
> dbeta((0:5)/5,1.30001,1.0)
[1] 0.0000000 0.8021373 0.9875537 1.1152952 1.2158296 1.3000100
> dbeta((0:5)/5,1.29999,1.0)
[1] 0.0000000 0.8021508 0.9875566 1.1152895 1.2158163 1.2999900
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._