Re: [R] Strange results from dbeta function

2013-10-26 Thread Bert Gunter
I suggest you review your stat101 text: A cdf is between 0 and 1, not a pdf, which is a **density** function. > dnorm(0, sd=.01) [1] 39.89423 -- Bert On Sat, Oct 26, 2013 at 11:31 AM, Noah Silverman wrote: > Hello, > > I’m seeing some strange behavior from the dbeta() function in R. > > For e

[R] Strange results from dbeta function

2013-10-26 Thread Noah Silverman
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 Departme