Message-ID: <199803261025.LAA00738@sophie.ethz.ch>
Date: 1998-03-26T10:25:50Z
From: Martin Maechler
Subject: R-beta: qpois help
In-Reply-To: <Pine.OSF.3.95.980325161642.32617A-100000@io.uwinnipeg.ca> (message from Bill Simpson on Wed, 25 Mar 1998 16:18:10 -0600 (CST))
>>>>> "Bill" == Bill Simpson <wsimpson at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._