Skip to content
Prev 46242 / 63458 Next

Problem following an R bug fix to integrate()

On Tue, 2013-07-16 at 13:55 +0200, Hans W Borchers wrote:
You can see the bug report here:

https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15219

It concerns the behaviour of integrate with a small error tolerance.
error tolerance values, in the sense that small values did not improve
accuracy and the accuracy was mis-reported.

The tolerance in your example (1.5e-8) is considerably smaller than the
default (1.2e-4). My guess is that the rounding error always existed but
was not detected due to the bug.  You might try a larger tolerance. I
have tested your example and increasing the tolerance to 1.5e-7 removes
the error.

Martyn
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}