Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Adaptive Monte Carlo integration algorithm(s) in Mathematica6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75730] Re: Adaptive Monte Carlo integration algorithm(s) in Mathematica6
  • From: antononcube <antononcube at gmail.com>
  • Date: Wed, 9 May 2007 04:36:23 -0400 (EDT)
  • References: <f1ph0s$i0s$1@smc.vnet.net>

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.


On May 8, 4:48 am, Denis <denis.... at gmail.com> wrote:
> 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




  • Prev by Date: Re: can I keep old version running after update to Ver 6?
  • Next by Date: elliptic integral
  • Previous by thread: Adaptive Monte Carlo integration algorithm(s) in Mathematica6
  • Next by thread: Using FindFit with constraints ??