Papers
Topics
Authors
Recent
2000 character limit reached

Tukey Median in Multivariate Analysis

Updated 10 December 2025
  • The location halfspace median is a robust, affine-equivariant estimator defined as the maximizer of halfspace depth, optimizing the minimal probability mass over all closed halfspaces.
  • It leverages convex geometry and statistical depth to achieve an asymptotic breakdown point up to 1/3 and uniform convergence rates under mild conditions.
  • Practical insights include exact bivariate algorithms and scalable approximate methods for high-dimensional data, ensuring applicability in robust multivariate inference.

The location halfspace median, universally referred to as the Tukey median, is a canonical multivariate center estimator grounded in the concept of statistical depth. Defined via the minimum probability mass over all closed halfspaces containing a given point, it generalizes the univariate median to arbitrary dimension. The Tukey median is the maximizer(s) of halfspace depth for a given measure or data set, yielding a robust, affine-equivariant center with rich theoretical and computational properties. This article develops the definition, key structural results, robustness metrics, algorithmic techniques, and statistical guarantees associated with the location halfspace median, integrating contemporary advances for high-dimensional inference.

1. Formal Definition and Basic Structural Properties

Let X1,,XnRdX_1, …, X_n \subset \mathbb{R}^d be a data sample, with empirical measure μ(A)=1n#{i:XiA}\mu(A) = \frac{1}{n} \# \{ i : X_i \in A \}. The halfspace depth of xRdx \in \mathbb{R}^d is defined as

D(x)=min{μ(H):xH,H a closed halfspace}.D(x) = \min \{ \mu(H) : x \in H, H \text{ a closed halfspace} \}.

Equivalently, in the empirical case,

D(x)=minuSd11n#{i:uXiux}.D(x) = \min_{u \in S^{d-1}} \frac{1}{n} \# \{ i : u^\top X_i \leq u^\top x \}.

The location halfspace median set is the set of maximizers

C={xRd:D(x)=maxyRdD(y)},C = \{ x \in \mathbb{R}^d : D(x) = \max_{y \in \mathbb{R}^d} D(y) \},

often referred to as M(μ)M(\mu) or M(μ)\mathcal{M}(\mu). In general, CC may not be a singleton; it is always a closed (possibly lower-dimensional) convex polytope (Dutta et al., 2012, Mosler, 2012).

Central (level) regions Cα={x:D(x)α}C_\alpha = \{x : D(x) \geq \alpha\} are convex and nested in α\alpha, with the deepest (non-empty) region serving as the Tukey median set.

2. Geometric, Convex Analytic, and Covering Characterizations

Halfspace depth regions admit multiple geometric representations. For the population measure, Dα(μ)D_\alpha(\mu) coincides with

  • Intersection of all closed halfspaces of mass at least α\alpha;
  • “Floating body” at level α\alpha: intersection of all halfspaces whose complements carry mass at most 1α1-\alpha (Laketa et al., 2021);
  • For empirical measures (samples not in general position), depth regions are finite intersections of “irrotatable” halfspaces: each facet lies in a hyperplane spanned by at least dd data points, with rotation about any (d2)(d-2)-face increasing the cut-off count (Liu et al., 2016).

A salient result is the “ray basis theorem,” stating that the union of minimal-mass halfspaces at the median covers the entire space if and only if the point is indeed a median. For smooth measures, this gives a geometric covering property for every median point (Laketa et al., 2021).

Recent advances introduced flag halfspaces—nested, open-in-face sets—showing that, even for atomic or non-smooth measures, the mass minimizing halfspace in the definition of depth is always attained in a flag halfspace, unifying the theory for both continuous and discrete cases (Pokorný et al., 2022).

3. Robustness: Breakdown Point and Affine Equivariance

The finite-sample breakdown point is the maximal fraction of contamination that an estimator tolerates before it can be made arbitrarily large. For the Tukey median, the breakdown point under the additive contamination (Huber) model satisfies

ε(T,Xn)=λ1+λ,\varepsilon(T^*, X_n) = \frac{\lambda^*}{1+\lambda^*},

where λ\lambda^* is the deepest sample depth (Liu et al., 2016, Liu et al., 2016). Under halfspace symmetry and weak smoothness, the asymptotic breakdown approaches $1/3$:

ε(T,Xn)13,n.\varepsilon(T^*, X_n) \rightarrow \frac{1}{3}, \quad n \to \infty.

For data in general position, the breakdown is at least n/(d+1)/n\lfloor n/(d+1) \rfloor / n, which is maximal among affine-equivariant location estimators (Mosler, 2012). Under total variation contamination, the breakdown point is $1/4$ in high dimensions but remains $1/3$ in d=2d=2 (Zhu et al., 2020).

Affine equivariance is intrinsic: any invertible affine map AA and bb carries medians to medians, with

D(Ax+b;PAX+b)=D(x;PX),D(Ax + b; P_{AX + b}) = D(x; P_X),

and thus

M(PAX+b)=AM(PX)+b,M(P_{AX + b}) = A M(P_X) + b,

guaranteeing coordinate-free centrality (Mosler, 2012, Dutta et al., 2012, Dai et al., 2021).

4. Computational Methodologies

Computation of the Tukey median is NP-hard in general for d3d \ge 3, but tractable and efficient algorithms exist for small and moderate dimensions:

  • Exact bivariate algorithm: O(nlogn)O(n \log n) via rotating-calipers or “circular sequence” on pairwise lines (Mosler, 2012).
  • Exact general-dd algorithms: Polytope intersection via enumeration of candidate halfspace facets, O(nd1logn)O(n^{d-1}\log n) (Mosler, 2012, Liu et al., 2016).
  • Approximate algorithms:
    • Random Tukey: Sample KK random directions, estimate depth as minimum among observed halfspace fractions, O(Knd)O(K n d) (Mosler, 2012).
    • ABCDepth: Ball-intersection representation (Merkle equivalence): approximate level sets as intersections of balls containing at least nk+1n-k+1 data points, yielding median computation complexity linear in dd and quadratic in nn (Bogićević et al., 2018).
    • Metric halfspace depth: Generic anchor set (i,j)(i,j), compute pijp_{ij}, approximate depth at candidate yy by the minimal pijp_{ij} where yXiyXj\|y-X_i\| \leq \|y-X_j\|; total complexity O(n3)O(n^3) for nn candidates (Dai et al., 2021).

Modern improvements leverage sharp upper bounds on maximum sample depth, such as λ(np+2)/2/n\lambda^* \leq \lfloor (n-p+2)/2 \rfloor / n for data in general position (pp dimension), avoiding redundant depth region searches and reducing computational burden in large p/np/n regimes (Liu et al., 2016).

5. Statistical Properties: Consistency, Efficiency, Convergence Rates

Halfspace median estimators inherit uniform convergence from the finite VC-dimension of halfspace families:

supxRdDn(x)D(x)=Op(n1/2),\sup_{x \in \mathbb{R}^d} |D_n(x) - D(x)| = O_p(n^{-1/2}),

yielding

Cα(Pn)Cα(P)C_\alpha(P_n) \rightarrow C_\alpha(P)

in Hausdorff metric and, if the population median is unique, sample medians converge in probability (Mosler, 2012, Dutta et al., 2012).

In elliptical and α\alpha-symmetric models (characteristic function depends on tα\|t\|_\alpha), the Tukey median achieves minimax-optimal convergence rates under contamination:

μ^nμβε+pn+log(1/δ)n\|\widehat{\mu}_n - \mu^*\|_\beta \lesssim \varepsilon + \sqrt{\frac{p}{n}} + \sqrt{\frac{\log(1/\delta)}{n}}

in the dual norm β=αα1\beta = \frac{\alpha}{\alpha-1}, for contamination level ε<1/3\varepsilon < 1/3 and nn large (Bočinec et al., 8 Dec 2025). No moment or bounded support assumptions are required. For sub-Gaussian or heavy-tailed models, estimation error bounds adapt via the appropriate decay function h(t)h(t).

Breakdown point coincides with theoretical upper limits: $1/3$ under symmetry for additive contamination, $1/4$ for total variation. The halfspace-metric projection estimator can push breakdown to $1/2$ if the depth decay function is known, but forfeits affine invariance (Zhu et al., 2020).

6. Topological, Dimensional, and General Position Results

Sample median regions are closed convex polytopes; under general position they cannot be (d1)(d-1)-dimensional except in degenerate settings (n=dn=d) (Pokorný et al., 2022). In d=2d=2, the median set is either a polygon (full-dimensional) or a singleton coinciding with a sample point.

If the data are not in general position, depth regions are still finite intersections of “irrotatable” halfspaces; non-uniqueness of the median is possible, but the average of deepest points provides a canonical center estimate (Liu et al., 2016).

In infinite-dimensional Banach or Hilbert spaces, halfspace depth degenerates: for most xx, HD(x;P)=0\mathrm{HD}(x;P) = 0, and the median at the center remains at depth $1/2$ (Dutta et al., 2012).

7. Practical Recommendations and Applications

  • For robust multivariate location, the Tukey median provides a nonparametric, affine-equivariant center with breakdown point optimal among affine-equivariant estimators (Mosler, 2012, Dutta et al., 2012).
  • In high dimensions, employ approximate algorithms (e.g., ABCDepth) that scale linearly with dd and quadratically with nn (Bogićević et al., 2018).
  • In d=2d=2, exploit the fact that TukeyRegion package computes exact medians in all empirical cases due to dimensionality results (Pokorný et al., 2022).
  • For robust inference under contamination, utilize depth-based central regions; in α\alpha-symmetric models, finite-sample bounds follow the minimax rate (Bočinec et al., 8 Dec 2025).
  • Outlier detection, depth-based classification, symmetry diagnostics, and nonparametric confidence regions are all supported foundationally by the halfspace median and depth central regions (Dutta et al., 2012).

Summary Table: Tukey Median Core Properties

Property Mathematical Formulation Reference
Definition D(x)=minu1n#{i:uXiux}D(x) = \min_{u} \frac{1}{n} \#\{i : u^\top X_i \leq u^\top x\} (Mosler, 2012, Dutta et al., 2012)
Median region C={x:D(x)=maxD(y)}C = \{x : D(x) = \max D(y)\} (Mosler, 2012)
Breakdown point $1/(d+1)$, up to $1/3$ asymptotically under symmetry (Liu et al., 2016, Mosler, 2012)
Approximate algorithm Ball intersection, O(dn2)O(d n^2) complexity (Bogićević et al., 2018)
Statistical consistency Op(n1/2)O_p(n^{-1/2}) uniform convergence under VC theory (Mosler, 2012, Bočinec et al., 8 Dec 2025)

In contemporary multivariate analysis, the location halfspace median stands as a foundational tool for robust, affine-invariant estimation, undergirded by rigorous depth theory, convex geometry, and scalable computation.

Whiteboard

Follow Topic

Get notified by email when new papers are published related to Location Halfspace Median.