Skip to content
Prev 243770 / 398506 Next

Integral of PDF

To really understaand it you will have to look at the fortran code
underlying integrate.  I tracked it back through a couple of layers
(dqagi, dqagie, ...  just use google, these are old netlib
subroutines) then decided I ought to get back to grading papers :-)

It looks like the integral is split into the sum of two integrals,
(-Inf,0] and [0,Inf).
1 with absolute error < 1.5e-05
1.068444e-05 with absolute error < 2.1e-05
8.410947e-11 with absolute error < 1.6e-10
1 with absolute error < 7.4e-05

The integral from 0 to Inf is the lim_{x -> Inf} of the integral
over [0,x].  I suspect that the algorithm is picking an interval
[0,x], evaluating the integral over that interval, and then performing
some test to decide whether to expand the interval.  When the initial
interval doesn't contain much, expanding a little won't add enough to
trigger another iteration.  

albyn
On Thu, Dec 02, 2010 at 04:21:34PM -0500, Doran, Harold wrote: