Discrete Mathematics & Theoretical Computer Science (Jan 2005)

Order statistics and estimating cardinalities of massive data sets

  • Frédéric Giroire

DOI
https://doi.org/10.46298/dmtcs.3353
Journal volume & issue
Vol. DMTCS Proceedings vol. AD,..., no. Proceedings

Abstract

Read online

We introduce a new class of algorithms to estimate the cardinality of very large multisets using constant memory and doing only one pass on the data. It is based on order statistics rather that on bit patterns in binary representations of numbers. We analyse three families of estimators. They attain a standard error of $\frac{1}{\sqrt{M}}$ using $M$ units of storage, which places them in the same class as the best known algorithms so far. They have a very simple internal loop, which gives them an advantage in term of processing speed. The algorithms are validated on internet traffic traces.

Keywords