VEGAS algorithm

VEGAS algorithm

The VEGAS algorithm, due to G. P. Lepage, is a method for reducing error in the Monte Carlo simulation by using a known or approximate probability distribution function to concentrate the search in those areas of the graph that make the greatest contribution to the final integral.

The VEGAS algorithm is based on importance sampling. It samples points from the probability distribution described by the function |f|, so that the points are concentrated in the regions that make the largest contribution to the integral.

In general, if the Monte Carlo integral of f is sampled with points distributed according to a probability distribution described by the function g, we obtain an estimate E_g(f; N),

:E_g(f; N) = E(f/g; N),

where E(f, N) is the Monte Carlo estimate of the integral of f,

:E(f; N) = {1 over N } sum_i^N f(x_i)

for N randomly distributed points x_i.The variance of the new estimate is then

:Var_g(f; N) = Var(f/g; N)

where Var(f;N) is the variance of the original estimate, Var(f; N) = E(f^2; N) - (E(f; N))^2.

If the probability distribution is chosen as g = |f|/I(|f|) then it can be shown that the variance Var_g(f; N) vanishes, and the error in the estimate will be zero. In practice it is not possible to sample from the exact distribution g for an arbitrary function, so importance sampling algorithms aim to produce efficient approximations to the desired distribution.

The VEGAS algorithm approximates the exact distribution by making a number of passes over the integration region while histogramming the function f. Each histogram is used to define a sampling distribution for the next pass. Asymptotically this procedure converges to the desired distribution. In order to avoid the number of histogram bins growing like K^d the probability distribution is approximated by a separable function: g(x_1, x_2, ldots) = g_1(x_1) g_2(x_2) cdots so that the number of bins required is only Kd. This is equivalent to locating the peaks of the function from the projections of the integrand onto the coordinate axes. The efficiency of VEGAS depends on the validity of this assumption. It is most efficient when the peaks of the integrand are well-localized. If an integrand can be rewritten in a form which is approximately separable this will increase the efficiency of integration with VEGAS.

ee also

* Las Vegas algorithm

References

* G.P. Lepage, A New Algorithm for Adaptive Multidimensional Integration, Journal of Computational Physics 27, 192-203, (1978)
* G.P. Lepage, VEGAS: An Adaptive Multi-dimensional Integration Program, Cornell preprint CLNS 80-447, March 1980
* The [http://www.gnu.org/software/gsl GNU Scientific Library] provides VEGAS routines


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Las Vegas algorithm — In computing, a Las Vegas algorithm is a randomized algorithm that never gives incorrect results; that is, it always produces the correct result or it informs about the failure. In other words, a Las Vegas algorithm does not gamble with the… …   Wikipedia

  • Vegas — (Spanish for fertile valleys ) may refer to:Places* Las Vegas, Nevada, a city in the United States ** The Las Vegas metropolitan area*Las Vegas, New Mexico, a town in the United StatesPeople* Johnny Vegas British Actor/comedian.Entertainment*… …   Wikipedia

  • Algorithm — Flow chart of an algorithm (Euclid s algorithm) for calculating the greatest common divisor (g.c.d.) of two numbers a and b in locations named A and B. The algorithm proceeds by successive subtractions in two loops: IF the test B ≤ A yields yes… …   Wikipedia

  • Randomized algorithm — Part of a series on Probabilistic data structures Bloom filter · Skip list …   Wikipedia

  • Monte Carlo algorithm — In computing, a Monte Carlo algorithm is a randomized algorithm whose running time is deterministic, but whose output may be incorrect with a certain (typically small) probability. The related class of Las Vegas algorithms is also randomized, but …   Wikipedia

  • Las Vegas — most commonly refers to: * Las Vegas, Nevada, a major resort city in the United States * Las Vegas metropolitan area, the cities of Las Vegas, Henderson, North Las Vegas, Boulder City, and other unincorporated locales surrounding these cities *… …   Wikipedia

  • List of algorithm general topics — This is a list of algorithm general topics, by Wikipedia page. * Analysis of algorithms * Ant colony algorithm * Approximation algorithm * Best and worst cases * Big O notation * Combinatorial search * Competitive analysis * Computability theory… …   Wikipedia

  • Algoritmo de Las Vegas — Un algoritmo tipo Las Vegas es un algoritmo de computación de carácter aleatorio (random) que no es aproximado: es decir, da el resultado correcto o informa de que ha fallado. Características Un algoritmo de este tipo no especula con el resultado …   Wikipedia Español

  • TCP Vegas — is a TCP congestion control, or network congestion avoidance, algorithm that emphasizes packet delay, rather than packet loss, as a signal to help determine the rate at which to send packets. It was developed at the University of Arizona by… …   Wikipedia

  • TCP congestion avoidance algorithm — The TCP uses a network congestion avoidance algorithm that includes various aspects of an additive increase multiplicative decrease (AIMD) scheme, with other schemes such as slow start in order to achieve congestion avoidance. TCP Tahoe and Reno… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”