[R] Strange results from dbeta function

Noah Silverman noahsilverman at ucla.edu
Sat Oct 26 20:31:53 CEST 2013


Hello,

I’m seeing some strange behavior from the dbeta() function in R.

For example:

> dbeta(0.0001, .4, .6 )
[1] 76.04555


How is it possible to get a PDF that is greater than 1??

Am I doing something wrong here, or is this a quirk of R.

Thanks,

--
Noah Silverman, M.S., C.Phil
UCLA Department of Statistics
8117 Math Sciences Building
Los Angeles, CA 90095



More information about the R-help mailing list