English

Asymmetric scale functions for $t$-digests

Data Structures and Algorithms 2020-05-20 v1

Abstract

The tt-digest is a data structure that can be queried for approximate quantiles, with greater accuracy near the minimum and maximum of the distribution. We develop a tt-digest variant with accuracy asymmetric about the median, thereby making possible alternative tradeoffs between computational resources and accuracy which may be of particular interest for distributions with significant skew. After establishing some theoretical properties of scale functions for tt-digests, we show that a tangent line construction on the familiar scale functions preserves the crucial properties that allow tt-digests to operate online and be mergeable. We conclude with an empirical study demonstrating the asymmetric variant preserves accuracy on one side of the distribution with a much smaller memory footprint.

Keywords

Cite

@article{arxiv.2005.09599,
  title  = {Asymmetric scale functions for $t$-digests},
  author = {Joseph Ross},
  journal= {arXiv preprint arXiv:2005.09599},
  year   = {2020}
}

Comments

18 pages, 8 figured; submitted

R2 v1 2026-06-23T15:40:01.163Z