English

An Optimal Algorithm for Computing the Spherical Depth of Points in the Plane

Computational Geometry 2017-02-27 v1

Abstract

For a distribution function FF on Rd\mathbb{R}^d and a point qRdq\in \mathbb{R}^d, the \emph{spherical depth} \SphD(q;F)\SphD(q;F) is defined to be the probability that a point qq is contained inside a random closed hyper-ball obtained from a pair of points from FF. The spherical depth \SphD(q;S)\SphD(q;S) is also defined for an arbitrary data set SRdS\subseteq \mathbb{R}^d and qRdq\in \mathbb{R}^d. This definition is based on counting all of the closed hyper-balls, obtained from pairs of points in SS, that contain qq. The significant advantage of using the spherical depth in multivariate data analysis is related to its complexity of computation. Unlike most other data depths, the time complexity of the spherical depth grows linearly rather than exponentially in the dimension dd. The straightforward algorithm for computing the spherical depth in dimension dd takes O(dn2)O(dn^2). The main result of this paper is an optimal algorithm that we present for computing the bivariate spherical depth. The algorithm takes O(nlogn)O(n \log n) time. By reducing the problem of \textit{Element Uniqueness}, we prove that computing the spherical depth requires Ω(nlogn)\Omega(n \log n) time. Some geometric properties of spherical depth are also investigated in this paper. These properties indicate that \emph{simplicial depth} (\SD\SD) (Liu, 1990) is linearly bounded by spherical depth (in particular, \SphD23SD\SphD\geq \frac{2}{3}SD). To illustrate this relationship between the spherical depth and the simplicial depth, some experimental results are provided. The obtained experimental bound (\SphD2\SD\SphD\geq 2\SD) indicates that, perhaps, a stronger theoretical bound can be achieved.

Keywords

Cite

@article{arxiv.1702.07399,
  title  = {An Optimal Algorithm for Computing the Spherical Depth of Points in the Plane},
  author = {David Bremner and Rasoul Shahsavarifar},
  journal= {arXiv preprint arXiv:1702.07399},
  year   = {2017}
}

Comments

The paper consisting of 11 pages, containing 11 figures. This paper is submitted to WADS 2017

R2 v1 2026-06-22T18:26:56.582Z