Jonathon Love
Jonathon Love
awesome! cheers
so i guess it depends on what proportion of the total run time of generalTestBF() is spent inside this integrate function. if it is closer to 50%, then this will...
you've still got ssgo-fred.csv, yeah? ``` data
what if i can provide you with an equivalent integrate() which takes a callback?
right-o, i'll try and have something to you within the fortnight. i can either 1. provide you with a chunk of C code you can incorporate into BayesFactor 2. i...
yup, been thinking the same thing.
you're calling these functions from R, yeah? you're not calling the native implementations from C?
also, what arguments do you pass into the callbacks? you pass progress information, anything else? and was it a value between 0 and 1000 for progress?
ok, i've created a package called withcallbacks: https://static.jasp-stats.org/misc/withcallbacks_1.0.tar.gz if you can detect if this package is available, and call the integrate function provided by it, then i can start profiling...
so it appears that there are two main code paths in integrate(), one for finite limits of integration, and one for non-finite limits of integration. does BayesFactor use one or...