A fast and simple algorithm for finding the modes of a multinomial distribution. White, W. T. J. & Hendy, M. D. Statistics and Probability Letters, 80(1):63–68, 2010. doi abstract bibtex Suppose a trial has r possible outcomes, with the i-th outcome having probability p_i, $∑_{i=1}^r{p_i} = 1$ and p = (p_1, ..., p_r). The outcome of n independent trials can be described by the frequencies k = (k_1, ..., k_r), $∑_{i=1}^r{k_i} = n$, where outcome i was selected with frequency k_i ∈ N. A mode (there can be multiple modes) is an outcome with maximal likelihood over all possible outcomes. Despite the ubiquity of multinomial distributions in statistical applications, the best algorithm to date for finding modes has unknown computational complexity and highly variable performance in practice. It is also vulnerable to precision problems due to accumulated roundoff error. We propose a new algorithm, GreedyModeFind, for calculating the mode(s) of this distribution, given n and p. GreedyModeFind is simple, efficient and numerically robust, requiring O(r log r) time and O(r) space to find one mode. A concise representation of the full set of joint modes can be found for an additional time cost of O(r log r). In practice this algorithm drastically improves on the performance of earlier algorithms. We provide a freely available C++ implementation of GreedyModeFind.
@Article{white10fast,
author = {W. T. J. White and M. D. Hendy},
title = {A fast and simple algorithm for finding the modes of a multinomial distribution},
journal = {Statistics and Probability Letters},
year = {2010},
volume = {80},
number = {1},
pages = {63--68},
abstract = {Suppose a trial has r possible outcomes, with the i-th outcome having probability p_i, $\sum_{i=1}^r{p_i} = 1$ and p = (p_1, ..., p_r). The outcome of n independent trials can be described by the frequencies k = (k_1, ..., k_r), $\sum_{i=1}^r{k_i} = n$, where outcome i was selected with frequency k_i \in N. A mode (there can be multiple modes) is an outcome with maximal likelihood over all possible outcomes. Despite the ubiquity of multinomial distributions in statistical applications, the best algorithm to date for finding modes has unknown computational complexity and highly variable performance in practice. It is also vulnerable to precision problems due to accumulated roundoff error. We propose a new algorithm, GreedyModeFind, for calculating the mode(s) of this distribution, given n and p. GreedyModeFind is simple, efficient and numerically robust, requiring O(r log r) time and O(r) space to find one mode. A concise representation of the full set of joint modes can be found for an additional time cost of O(r log r). In practice this algorithm drastically improves on the performance of earlier algorithms. We provide a freely available C++ implementation of GreedyModeFind.},
doi = {10.1016/j.spl.2009.09.013},
owner = {wtwhite},
timestamp = {2014.05.20},
}
Downloads: 0
{"_id":"A5xXoRiSqT26ArZyX","bibbaseid":"white-hendy-afastandsimplealgorithmforfindingthemodesofamultinomialdistribution-2010","authorIDs":[],"author_short":["White, W. T. J.","Hendy, M. D."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["W.","T.","J."],"propositions":[],"lastnames":["White"],"suffixes":[]},{"firstnames":["M.","D."],"propositions":[],"lastnames":["Hendy"],"suffixes":[]}],"title":"A fast and simple algorithm for finding the modes of a multinomial distribution","journal":"Statistics and Probability Letters","year":"2010","volume":"80","number":"1","pages":"63–68","abstract":"Suppose a trial has r possible outcomes, with the i-th outcome having probability p_i, $∑_{i=1}^r{p_i} = 1$ and p = (p_1, ..., p_r). The outcome of n independent trials can be described by the frequencies k = (k_1, ..., k_r), $∑_{i=1}^r{k_i} = n$, where outcome i was selected with frequency k_i ∈ N. A mode (there can be multiple modes) is an outcome with maximal likelihood over all possible outcomes. Despite the ubiquity of multinomial distributions in statistical applications, the best algorithm to date for finding modes has unknown computational complexity and highly variable performance in practice. It is also vulnerable to precision problems due to accumulated roundoff error. We propose a new algorithm, GreedyModeFind, for calculating the mode(s) of this distribution, given n and p. GreedyModeFind is simple, efficient and numerically robust, requiring O(r log r) time and O(r) space to find one mode. A concise representation of the full set of joint modes can be found for an additional time cost of O(r log r). In practice this algorithm drastically improves on the performance of earlier algorithms. We provide a freely available C++ implementation of GreedyModeFind.","doi":"10.1016/j.spl.2009.09.013","owner":"wtwhite","timestamp":"2014.05.20","bibtex":"@Article{white10fast,\n author = {W. T. J. White and M. D. Hendy},\n title = {A fast and simple algorithm for finding the modes of a multinomial distribution},\n journal = {Statistics and Probability Letters},\n year = {2010},\n volume = {80},\n number = {1},\n pages = {63--68},\n abstract = {Suppose a trial has r possible outcomes, with the i-th outcome having probability p_i, $\\sum_{i=1}^r{p_i} = 1$ and p = (p_1, ..., p_r). The outcome of n independent trials can be described by the frequencies k = (k_1, ..., k_r), $\\sum_{i=1}^r{k_i} = n$, where outcome i was selected with frequency k_i \\in N. A mode (there can be multiple modes) is an outcome with maximal likelihood over all possible outcomes. Despite the ubiquity of multinomial distributions in statistical applications, the best algorithm to date for finding modes has unknown computational complexity and highly variable performance in practice. It is also vulnerable to precision problems due to accumulated roundoff error. We propose a new algorithm, GreedyModeFind, for calculating the mode(s) of this distribution, given n and p. GreedyModeFind is simple, efficient and numerically robust, requiring O(r log r) time and O(r) space to find one mode. A concise representation of the full set of joint modes can be found for an additional time cost of O(r log r). In practice this algorithm drastically improves on the performance of earlier algorithms. We provide a freely available C++ implementation of GreedyModeFind.},\n doi = {10.1016/j.spl.2009.09.013},\n owner = {wtwhite},\n timestamp = {2014.05.20},\n}\n\n","author_short":["White, W. T. J.","Hendy, M. D."],"key":"white10fast","id":"white10fast","bibbaseid":"white-hendy-afastandsimplealgorithmforfindingthemodesofamultinomialdistribution-2010","role":"author","urls":{},"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://git.bio.informatik.uni-jena.de/fleisch/literature/raw/master/group-literature.bib","creationDate":"2019-11-19T16:50:42.828Z","downloads":0,"keywords":[],"search_terms":["fast","simple","algorithm","finding","modes","multinomial","distribution","white","hendy"],"title":"A fast and simple algorithm for finding the modes of a multinomial distribution","year":2010,"dataSources":["C5FtkvWWggFfMJTFX"]}