For observations in a metric space and a fixed query point , the order- nearest neighbour distance is the th smallest of the distances , counting ties with multiplicity. Equivalently exactly when the closed radius- ball contains at least observations.
If the observations are independent and identically distributed and , their count in that ball is binomial. HenceThis formula also handles distance distributions with atoms. If the common distance distribution is continuous, independent observations have no tied distances almost surely. Continuity alone does not ensure this under dependence: taking every equal to the same continuously distributed random point forces all distances to tie.
Nearest-neighbour distances convert local sample counts into geometric scales. In density estimation, a small radius enclosing observations indicates a region with relatively high probability per unit volume. The probability content of a nearest neighbour ball gives an exact distributional calibration when the distance law is continuous.
For independent and identically distributed random variables with continuous distance distribution function , the probability integral transform makes the probability content of the order- nearest ball a uniform order statistic, with the Beta distribution .
For a strictly positive probability density function with Lipschitz bound , satisfies . If and , monotonicity gives and hence . The Lipschitz density height bound prevents extending this local argument to every by assuming for a strictly positive density.
Articles by others on the same topic
There are currently no matching articles.