[Rd] Accuracy of dnorm (PR#8586)

2006-02-10 Thread marco . vezzoli
Full_Name: Marco Vezzoli
Version: 2.2.0 2.1.0 2.0.0
OS: Solaris, Windows, Linux
Submission from: (NULL) (57.78.11.38)


The dnorm functions yield a wrong value when the standard deviation is near to
1e-1
e.g.
> dnorm(0,mean=0.04,sd=0.3)
[1] 1.318039

this error is consistent in various version and os.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Accuracy of dnorm (PR#8586)

2006-02-10 Thread Marco VEZZOLI
I'm very sorry for the error.
I confused probability density with the distribution.
Thank you for your answer.
Marco

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel