Bug in rnorm. (PR#1664)
p.dalgaard@biostat.ku.dk
p.dalgaard@biostat.ku.dk
Fri, 14 Jun 2002 00:39:58 +0200 (MET DST)
Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:
> rolf@math.unb.ca writes:
>
> > There appears to be a mild bug, or at least a deficiency, in
> > rnorm. The bug becomes apparent when one looks at extremes
> > of the squares of the values generated by rnorm; rnorm is not
> > generating quite enough extreme values.
> >
> > The R version that I am using is 1.4.1; I never got around to installing
> > 1.5.0, and now since 1.5.1 is about to come out .... However, checking
> > the 1.5.0 release notes revealed no mention of fixing a bug in rnorm.
>
> ...and I see the effect too with an r-patched from a few days back.
No I do not! My quick check code took the square of the max rather
than the max of the square...
With your script, I get a nice horizontal line both with 1.4.0 and
1.5.0-patched.
(RedHat Linux 7.1 on a PC)
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._