Ex. 13.2
Ex. 13.2
Derive formula (13.7) for the median radius of the 1-nearest-neighborhood.
Soln. 13.2
This exercise is similar to Ex. 2.3.
Recall \(\nu_p r^p\) is the volume of the sphere of radius \(r\) in \(p\) dimension. Consider the unit cube \([-\frac{1}{2}, \frac{1}{2}]^p\), and a point \(a\) uniformly distributed in it. The probability that \(a\) falls outside of the superball \(b\) which centers at origin and has radius \(0<r<1\) is
Now for \(N\) independently and uniformly distributed data points, the probability of the 1-nearest-neighborhood of origin (i.e., the point that is the closest to the origin) falls outside of the superball is
To find the median of \(R\) (the radius of a 1-nearest-neighborhood of origin), we set above equal to \(\frac{1}{2}\):
Solving for \(R\) we get