IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v068i04.html
   My bibliography  Save this article

Bayesian Model Averaging Employing Fixed and Flexible Priors: The BMS Package for R

Author

Listed:
  • Zeugner, Stefan
  • Feldkircher, Martin

Abstract

This article describes the BMS (Bayesian model sampling) package for R that implements Bayesian model averaging for linear regression models. The package excels in allowing for a variety of prior structures, among them the "binomial-beta" prior on the model space and the so-called "hyper-g" specifications for Zellner's g prior. Furthermore, the BMS package allows the user to specify her own model priors and offers a possibility of subjective inference by setting "prior inclusion probabilities" according to the researcher's beliefs. Furthermore, graphical analysis of results is provided by numerous built-in plot functions of posterior densities, predictive densities and graphical illustrations to compare results under different prior settings. Finally, the package provides full enumeration of the model space for small scale problems as well as two efficient MCMC (Markov chain Monte Carlo) samplers that sort through the model space when the number of potential covariates is large.

Suggested Citation

  • Zeugner, Stefan & Feldkircher, Martin, 2015. "Bayesian Model Averaging Employing Fixed and Flexible Priors: The BMS Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 68(i04).
  • Handle: RePEc:jss:jstsof:v:068:i04
    DOI: http://hdl.handle.net/10.18637/jss.v068.i04
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v068i04/v68i04.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v068i04/BMS_0.3.4.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v068i04/v68i04.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v068.i04?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Martin Feldkircher & Stefan Zeugner, 2012. "The impact of data revisions on the robustness of growth determinants—a note on ‘determinants of economic growth: Will data tell?’," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(4), pages 686-694, June.
    2. Martin Feldkircher, 2012. "Forecast Combination and Bayesian Model Averaging: A Prior Sensitivity Analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 31(4), pages 361-376, July.
    3. Jesús Crespo Cuaresma & Martin Feldkircher, 2013. "Spatial Filtering, Model Uncertainty And The Speed Of Income Convergence In Europe," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 28(4), pages 720-741, June.
    4. Winford H. Masanjala & Chris Papageorgiou, 2008. "Rough and lonely road to prosperity: a reexamination of the sources of growth in Africa using Bayesian model averaging," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 23(5), pages 671-682.
    5. Ley, Eduardo & Steel, Mark F.J., 2012. "Mixtures of g-priors for Bayesian model averaging with economic applications," Journal of Econometrics, Elsevier, vol. 171(2), pages 251-266.
    6. Babecký, Jan & Havránek, Tomáš & Matějů, Jakub & Rusnák, Marek & Šmídková, Kateřina & Vašíček, Bořek, 2013. "Leading indicators of crisis incidence: Evidence from developed countries," Journal of International Money and Finance, Elsevier, vol. 35(C), pages 1-19.
    7. Feldkircher, Martin & Horvath, Roman & Rusnak, Marek, 2014. "Exchange market pressures during the financial crisis: A Bayesian model averaging evidence," Journal of International Money and Finance, Elsevier, vol. 40(C), pages 21-41.
    8. Iršová, Zuzana & Havránek, Tomáš, 2013. "Determinants of Horizontal Spillovers from FDI: Evidence from a Large Meta-Analysis," World Development, Elsevier, vol. 42(C), pages 1-15.
    9. Mathias Moser & Paul Hofmarcher, 2014. "Model Priors Revisited: Interaction Terms In Bma Growth Applications," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(2), pages 344-347, March.
    10. Antonio Ciccone & Marek Jarociński, 2010. "Determinants of Economic Growth: Will Data Tell?," American Economic Journal: Macroeconomics, American Economic Association, vol. 2(4), pages 222-246, October.
    11. Jana Eklund & Sune Karlsson, 2007. "Forecast Combination and Model Averaging Using Predictive Measures," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 329-363.
    12. Feldkircher, Martin, 2014. "The determinants of vulnerability to the global financial crisis 2008 to 2009: Credit growth and other sources of risk," Journal of International Money and Finance, Elsevier, vol. 43(C), pages 19-49.
    13. Jesús Crespo Cuaresma & Gernot Doppelhofer & Martin Feldkircher, 2014. "The Determinants of Economic Growth in European Regions," Regional Studies, Taylor & Francis Journals, vol. 48(1), pages 44-67, January.
    14. Shahram Amini & Christopher F. Parmeter, 2011. "Bayesian Model Averaging in R," Working Papers 2011-9, University of Miami, Department of Economics.
    15. Roman Horvath & Marek Rusnak & Katerina Smidkova & Jan Zapal, 2014. "The dissent voting behaviour of central bankers: what do we really know?," Applied Economics, Taylor & Francis Journals, vol. 46(4), pages 450-461, February.
    16. Martin Feldkircher & Stefan Zeugner, 2009. "Benchmark Priors Revisited: On Adaptive Shrinkage and the Supermodel Effect in Bayesian Model Averaging," IMF Working Papers 2009/202, International Monetary Fund.
    17. Xavier Sala-I-Martin & Gernot Doppelhofer & Ronald I. Miller, 2004. "Determinants of Long-Term Growth: A Bayesian Averaging of Classical Estimates (BACE) Approach," American Economic Review, American Economic Association, vol. 94(4), pages 813-835, September.
    18. Liang, Feng & Paulo, Rui & Molina, German & Clyde, Merlise A. & Berger, Jim O., 2008. "Mixtures of g Priors for Bayesian Variable Selection," Journal of the American Statistical Association, American Statistical Association, vol. 103, pages 410-423, March.
    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. Mark F. J. Steel, 2020. "Model Averaging and Its Use in Economics," Journal of Economic Literature, American Economic Association, vol. 58(3), pages 644-719, September.
    2. Rockey, James & Temple, Jonathan, 2016. "Growth econometrics for agnostics and true believers," European Economic Review, Elsevier, vol. 81(C), pages 86-102.
    3. Bruns, Stephan B. & Ioannidis, John P.A., 2020. "Determinants of economic growth: Different time different answer?," Journal of Macroeconomics, Elsevier, vol. 63(C).
    4. Ebersberger, Bernd & Galia, Fabrice & Laursen, Keld & Salter, Ammon, 2021. "Inbound Open Innovation and Innovation Performance: A Robustness Study," Research Policy, Elsevier, vol. 50(7).
    5. Anastasia Dimiski, 2020. "Factors that affect Students’ performance in Science: An application using Gini-BMA methodology in PISA 2015 dataset," Working Papers 2004, University of Guelph, Department of Economics and Finance.
    6. Man, Georg, 2015. "Competition and the growth of nations: International evidence from Bayesian model averaging," Economic Modelling, Elsevier, vol. 51(C), pages 491-501.
    7. Feldkircher, Martin, 2014. "The determinants of vulnerability to the global financial crisis 2008 to 2009: Credit growth and other sources of risk," Journal of International Money and Finance, Elsevier, vol. 43(C), pages 19-49.
    8. Aart Kraay & Norikazu Tawara, 2013. "Can specific policy indicators identify reform priorities?," Journal of Economic Growth, Springer, vol. 18(3), pages 253-283, September.
    9. D'Andrea, Sara, 2022. "Are there any robust determinants of growth in Europe? A Bayesian Model Averaging approach," International Economics, Elsevier, vol. 171(C), pages 143-173.
    10. Feldkircher, Martin & Horvath, Roman & Rusnak, Marek, 2014. "Exchange market pressures during the financial crisis: A Bayesian model averaging evidence," Journal of International Money and Finance, Elsevier, vol. 40(C), pages 21-41.
    11. Feldkircher, Martin & Horvath, Roman & Rusnak, Marek, 2014. "Exchange market pressures during the financial crisis: A Bayesian model averaging evidence," Journal of International Money and Finance, Elsevier, vol. 40(C), pages 21-41.
    12. Marcin Błażejowski & Jacek Kwiatkowski & Jakub Gazda, 2019. "Sources of Economic Growth: A Global Perspective," Sustainability, MDPI, vol. 11(1), pages 1-14, January.
    13. repec:zbw:bofitp:2013_011 is not listed on IDEAS
    14. Ley, Eduardo & Steel, Mark F.J., 2012. "Mixtures of g-priors for Bayesian model averaging with economic applications," Journal of Econometrics, Elsevier, vol. 171(2), pages 251-266.
    15. Crespo Cuaresma, Jesus & von Schweinitz, Gregor & Wendt, Katharina, 2019. "On the empirics of reserve requirements and economic growth," Journal of Macroeconomics, Elsevier, vol. 60(C), pages 253-274.
    16. Gernot Doppelhofer & Melvyn Weeks, 2011. "Robust Growth Determinants," CESifo Working Paper Series 3354, CESifo.
    17. Iftekhar Hasan & Roman Horvath & Jan Mares, 2018. "What Type of Finance Matters for Growth? Bayesian Model Averaging Evidence," The World Bank Economic Review, World Bank, vol. 32(2), pages 383-409.
    18. Michael Jetter & Christopher F. Parmeter, 2016. "Uncovering the determinants of corruption," Working Papers 2016-02, University of Miami, Department of Economics.
    19. repec:zbw:bofitp:2017_012 is not listed on IDEAS
    20. Kourtellos, Andros & Marr, Christa & Tan, Chih Ming, 2016. "Robust determinants of intergenerational mobility in the land of opportunity," European Economic Review, Elsevier, vol. 81(C), pages 132-147.
    21. Roman Horvath & Eva Horvatova & Maria Siranova, 2017. "Financial Development, Rule of Law and Wealth Inequality: Bayesian Model Averaging Evidence," Working Papers 368, Leibniz Institut für Ost- und Südosteuropaforschung (Institute for East and Southeast European Studies).
    22. K. Benkovskis & B. Bluhm & E. Bobeica & C. Osbat & S. Zeugner, 2020. "What drives export market shares? It depends! An empirical analysis using Bayesian model averaging," Empirical Economics, Springer, vol. 59(2), pages 817-869, August.

    More about this item

    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:jss:jstsof:v:068:i04. 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: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    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.