Skip to content
Prev 301007 / 398503 Next

Integrate(dnorm) with different mean and standard deviation help

Hello,

Maybe the following could help:

 > f <- function(x) dnorm(x, mean=2, sd=1)
 > integrate(f, -1.96, 1.96)
0.4840091 with absolute error < 1.4e-12

HTH

Regards.


Le 24/07/2012 11:23, FJ M a ?crit :