Re: R-beta: qpois help

Martin Maechler (maechler@stat.math.ethz.ch)
Thu, 26 Mar 1998 11:25:50 +0100


Date: Thu, 26 Mar 1998 11:25:50 +0100
Message-Id: <199803261025.LAA00738@sophie.ethz.ch>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: wsimpson@uwinnipeg.ca
Subject: Re: R-beta: qpois help

>>>>> "Bill" == Bill Simpson <wsimpson@uwinnipeg.ca> writes:

    Bill>      The Poisson Distribution

    Bill>           dpois(x, lambda) ....

    Bill>      Arguments:
		  ...
    Bill>      lambda: vector of positive means.


    Bill> Isn't  lambda = 1/mean?

No!
(maybe you are confusing with the  exponential distribution,
 where what S/R calls "rate" is often also written as \lambda in the text
 books).

PS. You could have tried 
	mean(rpois(1000, lambda = 10))
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._