IDEAS home Printed from https://ideas.repec.org/p/tin/wpaper/20230041.html
   My bibliography  Save this paper

BayesMultiMode: Bayesian Mode Inference in R

Author

Listed:
  • Nalan Basturk

    (University of Maastricht)

  • Jamie Cross

    (Melbourne Business School)

  • Peter de Knijff

    (Leiden University)

  • Lennart Hoogerheide

    (Vrije Universiteit Amsterdam)

  • Paul Labonne

    (BI Norwegian Business School)

  • Herman K van Dijk

    (Erasmus University Rotterdam)

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.

Suggested Citation

  • Nalan Basturk & Jamie Cross & Peter de Knijff & Lennart Hoogerheide & Paul Labonne & Herman K van Dijk, 2023. "BayesMultiMode: Bayesian Mode Inference in R," Tinbergen Institute Discussion Papers 23-041/III, Tinbergen Institute.
  • Handle: RePEc:tin:wpaper:20230041
    as

    Download full text from publisher

    File URL: https://papers.tinbergen.nl/23041.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Daniel J. Henderson & Christopher F. Parmeter & R. Robert Russell, 2008. "Modes, weighted modes, and calibrated modes: evidence of clustering using modality tests," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 23(5), pages 607-638.
    2. repec:dau:papers:123456789/4648 is not listed on IDEAS
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Davide Fiaschi & Andrea Mario Lavezzi & Angela Parenti, 2020. "Deep and Proximate Determinants of the World Income Distribution," Review of Income and Wealth, International Association for Research in Income and Wealth, vol. 66(3), pages 677-710, September.
    2. Suren Basov & Svetlana Danilkina & David Prentice, 2020. "When Does Variety Increase with Quality?," Review of Industrial Organization, Springer;The Industrial Organization Society, vol. 56(3), pages 463-487, May.
    3. Paul Johnson & Chris Papageorgiou, 2020. "What Remains of Cross-Country Convergence?," Journal of Economic Literature, American Economic Association, vol. 58(1), pages 129-175, March.
    4. Barnabé Walheer, 2016. "Multi-Sector Nonparametric Production-Frontier Analysis of the Economic Growth and the Convergence of the European Countries," Pacific Economic Review, Wiley Blackwell, vol. 21(4), pages 498-524, October.
    5. Christopoulos, Dimitris K. & McAdam, Peter, 2019. "Efficiency, Inefficiency, And The Mena Frontier," Macroeconomic Dynamics, Cambridge University Press, vol. 23(2), pages 489-521, March.
    6. Fabio Clementi & Francesco Schettino, 2013. "Income polarization in Brazil, 2001-2011: A distributional analysis using PNAD data," Economics Bulletin, AccessEcon, vol. 33(3), pages 1796-1815.
    7. Dosi, Giovanni & Roventini, Andrea & Russo, Emanuele, 2019. "Endogenous growth and global divergence in a multi-country agent-based model," Journal of Economic Dynamics and Control, Elsevier, vol. 101(C), pages 101-129.
    8. Falko Juessen, 2009. "A distribution dynamics approach to regional GDP convergence in unified Germany," Empirical Economics, Springer, vol. 37(3), pages 627-652, December.
    9. Cavallo, Alberto & Rigobon, Roberto, 2011. "The Distribution of the Size of Price Changes," Working Papers 2011-011, Banco Central de Reserva del Perú.
    10. Aparna Lolayekar & Pranab Mukhopadhyay, 2017. "Growth Convergence and Regional Inequality in India (1981–2012)," Journal of Quantitative Economics, Springer;The Indian Econometric Society (TIES), vol. 15(2), pages 307-328, June.
    11. Răileanu-Szeles, Monica & Albu, Lucian, 2015. "Nonlinearities and divergences in the process of European financial integration," Economic Modelling, Elsevier, vol. 46(C), pages 416-425.
    12. Fabrice Defever & Alejandro Riano, 2017. "Twin peaks," Discussion Papers 2017-15, University of Nottingham, GEP.
    13. Ordás Criado, C. & Grether, J.-M., 2011. "Convergence in per capita CO2 emissions: A robust distributional approach," Resource and Energy Economics, Elsevier, vol. 33(3), pages 637-665, September.
    14. Walheer, Barnabé, 2016. "Growth and convergence of the OECD countries: A multi-sector production-frontier approach," European Journal of Operational Research, Elsevier, vol. 252(2), pages 665-675.
    15. Daniel J. Henderson, 2010. "A test for multimodality of regression derivatives with application to nonparametric growth regressions," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 25(3), pages 458-480.
    16. repec:hal:spmain:info:hdl:2441/46k9rkvut99i7qnn4vqm25t53b is not listed on IDEAS
    17. F. Clementi & A. L. Dabalen & V. Molini & F. Schettino, 2017. "When the Centre Cannot Hold: Patterns of Polarization in Nigeria," Review of Income and Wealth, International Association for Research in Income and Wealth, vol. 63(4), pages 608-632, December.
    18. Henderson, Daniel J. & Tochkov, Kiril & Badunenko, Oleg, 2007. "A drive up the capital coast? Contributions to post-reform growth across Chinese provinces," Journal of Macroeconomics, Elsevier, vol. 29(3), pages 569-594, September.
    19. Kindberg-Hanlon,Gene & Okou,Cedric Iltis Finafa, 2020. "Productivity Convergence : Is Anyone Catching Up?," Policy Research Working Paper Series 9378, The World Bank.
    20. Md. Rabiul Islam & James B. Ang & Jakob B. Madsen, 2014. "Quality-Adjusted Human Capital And Productivity Growth," Economic Inquiry, Western Economic Association International, vol. 52(2), pages 757-777, April.
    21. Davide Fiaschi & Andrea Mario Lavezzi & Angela Parenti, 2013. "On the Determinants of Distribution Dynamics," Discussion Papers 2013/165, Dipartimento di Economia e Management (DEM), University of Pisa, Pisa, Italy.

    More about this item

    Keywords

    multimodality; mixture distributions; Bayesian estimation; sparse finite mixtures; R;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tin:wpaper:20230041. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Tinbergen Office +31 (0)10-4088900 (email available below). General contact details of provider: https://edirc.repec.org/data/tinbenl.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.