Lably
Skip to content

Quasi-Monte Carlo method

  • 5 min read
  • 4 chapters

Related on Lably

Through Numerical analysis

Monte Carlo and quasi-Monte Carlo methods are stated in a similar way. The problem is to approximate the integral of a function f as the average of the function evaluated at a set of points x1, ..., xN:

∫[0,1]sf(u)du≈1N∑i=1Nf(xi).

Since we are integrating over the s-dimensional unit cube, each xi is a vector of s elements. The difference between quasi-Monte Carlo and Monte Carlo is the way the xi are chosen. Quasi-Monte Carlo uses a low-discrepancy sequence such as the Halton sequence, the Sobol sequence, or the Faure sequence, whereas Monte Carlo uses a pseudorandom sequence. The advantage of using low-discrepancy sequences is a faster rate of convergence. Quasi-Monte Carlo has a rate of convergence close to O(1/N), whereas the rate for the Monte Carlo method is O(N−0.5).

The Quasi-Monte Carlo method recently became popular in the area of mathematical finance or computational finance. In these areas, high-dimensional numerical integrals, where the integral should be evaluated within a threshold ε, occur frequently. Hence, the Monte Carlo method and the quasi-Monte Carlo method are beneficial in these situations.

Approximation error bounds of quasi-Monte Carlo

The approximation error of the quasi-Monte Carlo method is bounded by a term proportional to the discrepancy of the set x1, ..., xN. Specifically, the Koksma–Hlawka inequality states that the error

ε=|∫[0,1]sf(u)du−1N∑i=1Nf(xi)|

is bounded by

|ε|≤V(f)DN,

where V(f) is the Hardy–Krause variation of the function f (see Morokoff and Caflisch (1995) for the detailed definitions). DN is the so-called star discrepancy of the set (x1,...,xN) and is defined as

DN=supQ⊂[0,1]s|number of points in QN−volume⁡(Q)|,

where Q is a rectangular solid in [0,1]s with sides parallel to the coordinate axes. The inequality |ε|≤V(f)DN can be used to show that the error of the approximation by the quasi-Monte Carlo method is O((log⁡N)sN), whereas the Monte Carlo method has a probabilistic error of O(1N). Thus, for sufficiently large N, quasi-Monte Carlo will always outperform random Monte Carlo. However, log⁡(N)s grows exponentially quickly with the dimension, meaning a poorly-chosen sequence can be much worse than Monte Carlo in high dimensions. In practice, it is almost always possible to select an appropriate low-discrepancy sequence, or apply an appropriate transformation to the integrand, to ensure that quasi-Monte Carlo performs at least as well as Monte Carlo (and often much better).

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication