Conservation of the -digest Scale Invariant
arXiv:1903.09919
Abstract
A -digest is a compact data structure that allows estimates of quantiles which increased accuracy near or . This is done by clustering samples from subject to a constraint that the number of points associated with any particular centroid is constrained so that the so-called -size of the centroid is always . The -size is defined using a scale function that maps quantile to index . Since the centroids are real numbers, they can be ordered and thus the quantile range of a centroid can be mapped into an interval in whose size is the -size of that centroid. The accuracy of quantile estimates made using a -digest depends on the invariance of this constraint even as new data is added or -digests are merged. This paper provides proofs of this invariance for four practically important scale functions.