Professional Documents
Culture Documents
10 Practical Implementation of Lattice Rules
10 Practical Implementation of Lattice Rules
Lattice Methods for Multiple Integration, I. H. Sloan and S.Joe, Oxford University Press (1994),
© I. H. Sloan and S. Joe, 1994, DOI:10.1093/oso/9780198534723.003.0010
Embedded lattice rules 165
(fci,...,fcr,0, ...,0)
Qrf = (10.1)
n
s = 2, n = 2, m = 5, z = (l,2).
The points of Qi are those of Qo plus an equal number of new ones. Sim
ilarly, the points of Q2 are those of Qi plus an equal number of new ones.
Both Qo a,nd Qi are of rank 1; they are generated by (|, |) and (^,
respectively. The rule Q2 is of rank-2, since it is the 22 copy of the rule in
the small square: it is the 22 copy of Qq! The reader might like to check
that the behaviour is quite different if the value of m is changed to 4, which
violates the condition that n and m be relatively prime.
0
0
166
Embedded lattice rules 167
—z -I-------------- (10-2)
nm n
k3=0 fci=0 j=0
L = Uz + ''' ’: j, ki £ Z,
s
I m n
L’ = (—z 4- ; j k. G Z i <s
I nm n
168 Practical implementation of lattice rules
Since L is a subset of L' and each lattice has the same number of points
per unit volume (namely nsm), they must coincide, from which it follows
that Qs may be expressed equivalently in the form (10.2). ■
As each successive lattice rule in the embedded sequence (10.1) has n
natural first idea, proposed in Joe and Sloan (1992 a), is to use as an error
estimate the quantity
c\Qsf -Qs-if\, (10.4)
To combine these s error estimates into one, following Joe and Sloan (1993)
we propose the error estimate given by
s \ V2
£( qJ-Qw/)2/s) ,
( i=l ' /
(10.5)
1 N~r
j=a
in which the points xo,..., x^-i are all the points of an integration lattice
L that lie in the unit cube 17s, in the randomization procedure one uses
the shifted lattice rule
qj= iv 52 f
j=0
with c a random vector. We see from (2.22) that the error for this shifted
lattice rule is z
Qcf-If = E e2’r,hc/(h).
heL-1-
Analogous to Theorem 4.11 and its corollary, we then have the following.
Theorem 10.4. Suppose c has a multivariate uniform distribution on Cs.
Then
E(Qcf) = If,
where E(-) is the expectation operator.
Corollary For any positive integer q, let ci,... ,cq be independent ran
dom vectors with a multivariate uniform distribution on Cs. Then the
estimate
q P=1
is an unbiased estimate of If.
Hence we can obtain an unbiased approximation to If by taking the
mean of q shifted lattice rules. As in Section 4.6, we can be (100 — 100/v2)%
Calculation of the embedded sequence simultaneously 171
Qo = 0.0
for i = 1 to s step 1 do:
ki = 0
Qi = 0.0
endif
endif
endwhile
Searches for a good embedded sequence 173
E = E + (QS -Q«)2
endfor
E^y/Ejs
|/(h)| , h G Z 4.
where
p27ri/ia;
For convenience, we give from (4.14) to (4.16) the expressions for F2Ce),
F^x), and F$(x) when x 6 [0,1]:
Fz(x) = 1 4-2tt2(x2 - x 4-1/6),
Sloan (1992) in Chapter 6 that there exists a z which is good in the sense
that it produces a small value of Pa(Qs) when used in a 2s copy rule. How
ever, the proof was nonconstructive. Thus in practice computer searches
are required to find a suitable z.
Pa(QS) = Qofa^ ~ 1,
where
^n)W = f[FW(a;fc), (10.6)
k=l
with
1 p2irihx -j
=i+—y — = i + —(Fa(x) -1).
/i/0 1 1
Thus Pa(Qs) may be calculated by using Qo, a rule with only m lattice
points.
We remark that since
the number of terms in the sum for Pa(Qs) can approximately be halved
by writing
where the asterisk indicates that the term with j = [m/2j is to be halved
in the event that m is even.
Practical considerations lead us to limit practical computer searches to
vectors z of a restricted form. Here we recommend the Korobov form given
in (4.32), namely,
Z = (Zii
is a one-to-one mapping.
Proof Suppose the contrary. Then there exist Ji, J2 € Zm, ji / 72, such
that 7/(ji) = 77(72), that is, (modm). It then follows that
(7
*1 - 7*2) ^r1 = 0 (mod (10.12)
= mod m,
which, we recall from Lemma 10.7, is a one-to-one mapping. In particular,
we shall prove that the (s — fc + l)th component of {^(j)z(£2)/^} satisfies
the required condition, that is, we shall prove that
Because ^£2 = ±1 (mod m), it follows that £2 = (um ± l)/£i for some
integer u. We then have, for any j e Zm,
r1 J
there exists one and only one solution v* belonging to Zm. Further, under
the same condition gcd(£,m) = 1 the equation £v = — 1 (modm) also has
a unique solution, modulo m, given by m — v*. Since exactly one of v* and
m — v* is in the interval from 1 to |_m/2j (unless they are both equal to