10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.3 Quasi-Monte Carlo (qMC) methods 409<br />

of successful qMC sequences: The points tend to drop into regions where<br />

“they have not yet been.” Contrast this to direct Monte Carlo methods,<br />

whereby—due to unbiased randomness—points will not only sometimes<br />

“clump” together, but sometimes leave “gaps” as the points accumulate in<br />

the domain of interest.<br />

The Halton sequences are just one family of qMC sequences, as we discuss<br />

in the next section. For the moment, we exhibit a typical theorem that reveals<br />

information about how discrepancy grows as a function of the dimension:<br />

Theorem 8.3.5 (Halton discrepancy). Denote by S ¯ B a Halton sequence for<br />

bases ¯ B. Then the star discrepancy of the sequence satisfies<br />

D ∗ N(S ¯ B) < D<br />

N<br />

+ 1<br />

N<br />

D<br />

<br />

Bi − 1<br />

i=1<br />

2lnBi<br />

ln N + Bi<br />

<br />

+1<br />

.<br />

2<br />

A rather intricate proof can be found in [Niederreiter 1992]. We observe that<br />

the theorem provides an explicit upper bound for the implied big-O constant<br />

in<br />

D ∗ <br />

ln<br />

N(SB)=O ¯ D <br />

N<br />

,<br />

N<br />

an error behavior foreshadowed in the introductory remarks of this section.<br />

What is more, we can see the (unfortunate) effect of larger bases supposedly<br />

contributing more to the discrepancy (we say supposedly because this is just<br />

an upper bound); indeed, this effect for larger bases is seen in practice. We<br />

note that there is a so-called N-point Hammersley point set, for which the<br />

leading component of xn is x0 = n/N, while the rest of xn is a (D − 1)dimensional<br />

Halton vector. This set is now N-dependent, so that it cannot be<br />

turned into an infinite sequence. However, the Hammersley set’s discrepancy<br />

takes the slightly superior form<br />

D ∗ <br />

ln<br />

N = O<br />

D−1 <br />

N<br />

,<br />

N<br />

showing how N-dependent sets can offer a slight complexity reduction.<br />

8.3.3 <strong>Prime</strong>s on Wall Street?<br />

Testing a good qMC sequence, say estimating the volume of the unit D-ball,<br />

is an interesting exercise. The Halton qMC sequence gives good results for<br />

moderate dimensions, say for D up to about 10. One advantage of the Halton<br />

sequence is that it is easy to jump ahead, so as to have several or many<br />

computers simultaneously sampling from disjoint segments of the sequence.<br />

The following algorithm shows how one can jump in at the n-th term, and<br />

how to continue sequentially from there. To make the procedure especially<br />

efficient, the digits of the index in the various bases under consideration are<br />

constantly updated as we proceed from one index to the next.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!