paper

-Midranks: A robust clustering algorithm for heavy-tailed data with applications to spectroscopy and finance

arXiv:2611.30953

Abstract

Clustering data with extreme observations and heavy tails can be challenging for methods that rely on distances between raw observations or specific distributional assumptions. We introduce -midranks, a clustering method that replaces observations with coordinatewise ranks and partitions the transformed data using a procedure analogous to -means. This transformation reduces the influence of extreme values while preserving the ordering of observations within each variable. We evaluate -midranks against -means, -medoids, and mixture models based on Gaussian, Student's t, Cauchy, and generalized hyperbolic distributions through simulation studies, and provide some theoretical properties. -midranks generally outperforms the competing methods on Cauchy-shifted data. In contrast, -means and model-based methods perform better on Gaussian data and Student's t data with three degrees of freedom. We demonstrate the method's practical use in grouping samples based on Raman and LIBS spectra and clustering S\&P 500 stocks according to their returns. -midranks achieves competitive performance with model-based methods in the spectroscopy applications and the best performance among the methods considered in the stock-return application. These findings suggest that -midranks provides a useful alternative for clustering data with Cauchy-like heavy tails. An R package implementing the proposed method is available.

arXiv comment36 pages with a 6-page supplement. Supplementary material is now available as a PDF for easier access. The main manuscript remains unchanged