Tests Based on Nearest Neighbor Distances

Two tests of this kind are the Hopkins test [Hopk 54] and the Cox-Lewis test [Cox 76, Pana 83]. The tests rely on the distances between the vectors of X and a number of vectors which are randomly placed in the sampling window.

The Hopkins Test

Let X′ = {yi, i = 1,…,M}, ≪ N,[9] be a set of vectors that are randomly distributed in the sampling window, following the uniform distribution. Also let X1X be a set of M randomly chosen vectors of X. Let dj be the distance from yjX′ to its closest vector in X1, denoted by xj, and δj be the distance from xj to its closest vector in X1 − {xj}. Then the Hopkins statistic involves the lth powers of dj and δj and it is defined as [Jain 88](16.61)This statistic ...

Get Pattern Recognition, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.