Close-Point Spatial Tests and Their Application to Random Number Generators

  • Authors:
  • Pierre L'Écuyer;Jean-François Cordeau;Richard Simard

  • Affiliations:
  • -;-;-

  • Venue:
  • Operations Research
  • Year:
  • 2000

Quantified Score

Hi-index 0.01

Visualization

Abstract

We study statistical tests of uniformity based on theL p -distances between them nearest pairs of points, forn points generated uniformly over thek-dimensional unit hypercube or unit torus. The number of distinct pairs at distance no more thant, fort = 0, is a stochastic process whose initial part, after an appropriate transformation and asn ? 8, is asymptotically a Poisson process with unit rate. Convergence to this asymptotic is slow in the hypercube as soon ask exceeds 2 or 3, due to edge effects, but is reasonably fast in the torus. We look at the quality of approximation of the exact distributions of the tests statistics by their asymptotic distributions, discuss computational issues, and apply the tests to random number generators. Linear congruential generators fail decisively certain variants of the tests as soon asn approaches the square root of the period length.