search for: rdqagi

Displaying 3 results from an estimated 3 matches for "rdqagi".

Did you mean: rdqags
2005 May 09
2
use "integrate" for functions defined in C, not R
Dear all, I am trying to use the C code for "integrate" function ( that calls Rdqagi and Rdqags) so that I can integrate a function defined in C, instead of passing from R. Is there a way for doing this? My unsuccessful attempt: I looked into the files (including integrate.c, Applic.h) and 1. modified the definition of "integr_fn" by droping the environment &quot...
2006 Jul 12
0
glmmML updated
...(GHQ) is now used for the evaluation of the integrals in the log likelihood function. The user can choose the number of points (default is 16), I _think_ that choosing 1 point will result in a Laplace approximation. The integrals in the score and hessian are evaluated by the QUADPACK function 'Rdqagi' which is the C code behind the R function 'integrate'. This specific combination of the two methods seems to work best. (I often get _exactly_ (up to seven digits) the same value with the two methods, but in some extreme cases one may fail and not the other.) New components in the out...
2006 Jul 12
0
glmmML updated
...(GHQ) is now used for the evaluation of the integrals in the log likelihood function. The user can choose the number of points (default is 16), I _think_ that choosing 1 point will result in a Laplace approximation. The integrals in the score and hessian are evaluated by the QUADPACK function 'Rdqagi' which is the C code behind the R function 'integrate'. This specific combination of the two methods seems to work best. (I often get _exactly_ (up to seven digits) the same value with the two methods, but in some extreme cases one may fail and not the other.) New components in the out...