[R] Integral of PDF

Albyn Jones jones at reed.edu
Fri Dec 3 00:40:32 CET 2010


On Thu, Dec 02, 2010 at 06:23:45PM -0500, Ravi Varadhan wrote:

> A simple solution is to locate the mode of the integrand, which should be
> quite easy to do, and then do a coordinate shift to that point and then
> integrate the mean-shifted integrand using `integrate'.
> 
> Ravi.

Translation:  think before you compute!

albyn



More information about the R-help mailing list