Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adaptive Monte Carlo integration algorithm(s) in Mathematica6

166 views
Skip to first unread message

Denis

unread,
May 8, 2007, 5:48:12 AM5/8/07
to
I'm happy with Mathematica 5.2 in most respects, except it doesn't
offer any *adaptive* Monte Carlo methods for multi-dimensional
integration. Simple pseudo-random MonteCarlo and the non-adaptive
quasi-Monte Carlo are no match for the 6-dimensional integrals I need
to calculate. Right now, as a way around that shortcoming, I am using
a third-party C code for LePage's VEGAS algorithm and run it in
Mathematica courtesy of MathLink. It seems to work quite alright.

Now that Mathematica6 seems to offer adaptive Monte Carlo natively
within NIntegrate, my question is - which algorithm(s)? I would like
to know whether Mathematica implemented their own version of VEGAS or
perhaps some other adaptive Monte Carlo algorithm... Does anyone know
any specifics about this?

Thanks,
Denis

antononcube

unread,
May 9, 2007, 4:55:52 AM5/9/07
to
Dear Denis,

The Monte Carlo algorithms are described in the advanced
documentation.

See "Global Adaptive Monte Carlo and Quasi Monte Carlo Strategies" in

http://reference.wolfram.com/mathematica/tutorial/NIntegrateIntegrationStrategies.html

and "MonteCarloRule" in

http://reference.wolfram.com/mathematica/tutorial/NIntegrateIntegrationRules.html

(You can find these documents in the Help Browser if you have version
6.0.)

NIntegrate's adaptive Monte Carlo algorithm is closer to MISER
(recursive stratified integration) than to VEGAS (importance
sampling).

I have an implementation of an adaptive importance sampling algorithm,
please, email me if you would like to try it.

Still, one can use the MonteCarloRule's option "PointGenerator" to
implement an importance sampling algorithm (and use it either with
crude or adaptive Monte Carlo algorithm).

As for NIntegrate in 5.2, one can actually do stratified integration
through the range specification. See again the integration strategies
document above.

Anton Antonov,
Wolfram Research, Inc.

0 new messages