[Rd] Re: [R] Strange means of numbers drawn from rpois (PR#729)

Torsten Hothorn Torsten.Hothorn@rzmail.uni-erlangen.de
Wed, 8 Nov 2000 17:57:36 +0100 (MET)



> Kjetil Kjernsmo <kjetil.kjernsmo@astro.uio.no> writes:
> 
> > On 8 Nov 2000, Peter Dalgaard BSA wrote:
> > 
> > >I'm not at all happy with this:
> > >
> > >Solaris :
> > >> range(sapply(1:2000, function(n) mean(rpois(10000, 15.0))))
> > >[1] 15.0524 15.3403

I get

> range(sapply(1:2000, function(n) mean(rpois(10000, 15.0))))
[1] 14.3702 14.6212

on SuSE Linux 4.3

hothorn@artemis:~ > gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Torsten

Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status =
 major = 1
 minor = 1.1
 year = 2000
 month = August
 day = 15
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._