Approximate counting: a detailed analysis (Q1057061)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: Approximate counting: a detailed analysis |
scientific article; zbMATH DE number 3896294
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | Approximate counting: a detailed analysis |
scientific article; zbMATH DE number 3896294 |
Statements
Approximate counting: a detailed analysis (English)
0 references
1985
0 references
Approximate counting is a probabilistic algorithm proposed by \textit{R. Morris} [Commun. ACM 21, 840-842 (1978; Zbl 0386.68035)] that allows the storage of (many) large counts in small counters. The algorithm allows counting up to some integer n in space \(\approx \log_ 2\log_ 2n+\delta\) with a constant expected relative accuracy that is \(O(2^{- \delta /2})\). For instance, using only 8 bits, one can count up to \(2^{16}=65536\) with an accuracy of about 15 \%. The paper presents a complete analysis of the algorithm which is equivalent to a pure birth process with discrete time and birth probabilities of the form \(2^{- k}\). The probability distribution of the approximate result is characterized exactly and is also shown to tend to a limiting distribution. Mean and variance of the result are estimated asymptotically using a combination of: (i) combinatorial identities in the theory of integer partitions; (2) Mellin transform techniques. The paper concludes with a comparison of approximate counting with direct sampling methods. One should also note that related methods appear in the space-efficient simulation of deterministic machines by probabilistic machines (Freivalds, Gill).
0 references
analysis of algorithms
0 references
combinatorial analysis
0 references
estimation methods
0 references
probabilistic algorithm
0 references
birth process
0 references
Mellin transform
0 references
approximate counting
0 references
direct sampling
0 references
0.9327924
0 references
0.93217736
0 references
0.91385424
0 references
0.9081203
0 references
0 references
0.89453256
0 references