[R] too large alpha or beta in dbeta ?
Thomas Lumley
thomas at biostat.washington.edu
Thu Aug 24 22:45:47 CEST 2000
On Thu, 24 Aug 2000, Troels Ring wrote:
> Dear friends.
>
> Is this as expected ? Is alpha and beta too large simply ?
>
> > dbeta(.1,534,646)
> [1] NaN
> Warning message:
> NaNs produced in: dbeta(x, shape1, shape2, log)
well, it should work, but the correct answer is effectively zero.
pbeta(.1,534,646) gives 3.6e-213
Perhaps more worrying is
> dbeta(.25,534,646)
[1] Inf
-thomas
Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list