BayesMultiMode: Bayesian Mode Inference in R
Nalan Basturk,
Jamie Cross,
Peter de Knijff,
Lennart Hoogerheide,
Paul Labonne and
Herman van Dijk
Additional contact information
Nalan Basturk: University of Maastricht
Peter de Knijff: Leiden University
Lennart Hoogerheide: Vrije Universiteit Amsterdam
Paul Labonne: BI Norwegian Business School
No 23-041/III, Tinbergen Institute Discussion Papers from Tinbergen Institute
Abstract:
Multimodal empirical distributions arise in many fields like Astrophysics, Bioinformatics, Climatology and Economics due to the heterogeneity of the underlying populations. Mixture processes are a popular tool for accurate approximation of such distributions and implied mode detection. Using Bayesian mixture models and methods, BayesMultiMode estimates posterior probabilities of the number of modes, their locations and uncertainty, yielding a powerful tool for mode inference. The approach works in two stages. First, a flexible mixture with an unknown number of components is estimated using a Bayesian MCMC method due to Malsiner-Walli, Frühwirth-Schnatter, and Grün (2016). Second, suitable detection algorithms are employed to estimate modes for continuous and discrete probability distributions. Given these mode estimates, posterior probabilities for the number of modes, their locations and uncertainties are constructed. BayesMultiMode supports a range of mixture processes, complementing and extending existing software for mixture modeling. The mode detection algorithms implemented in BayesMultiMode also support MCMC draws for mixture estimation generated with external software. The package uses for illustrative purposes both continuous and discrete empirical distributions from the four listed fields yielding credible multiple mode detection with substantial posterior probability where frequentist tests fail to reject the null hypothesis of unimodality.
Keywords: multimodality; mixture distributions; Bayesian estimation; sparse finite mixtures; R (search for similar items in EconPapers)
JEL-codes: C11 C63 C87 C88 (search for similar items in EconPapers)
Date: 2023-07-24
New Economics Papers: this item is included in nep-ecm
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
https://papers.tinbergen.nl/23041.pdf (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:tin:wpaper:20230041
Access Statistics for this paper
More papers in Tinbergen Institute Discussion Papers from Tinbergen Institute Contact information at EDIRC.
Bibliographic data for series maintained by Tinbergen Office +31 (0)10-4088900 ().