Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Approximate counting: a detailed analysis - MaRDI portal

Approximate counting: a detailed analysis (Q1057061)

From MaRDI portal





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
    0 references
    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

    Identifiers