IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/124689.html
   My bibliography  Save this paper

Bayesian dynamic systems modelling. Bayesian model averaging for dynamic panels with weakly exogenous regressors

Author

Listed:
  • Beck, Krzysztof
  • Wyszyński, Mateusz
  • Dubel, Marcin

Abstract

This manuscript introduces the bdsm package, which enables Bayesian model averaging for dynamic panels with weakly exogenous regressors — a methodology developed by Moral-Benito (2016). The package allows researchers to simultaneously address model uncertainty and reverse causality. The manuscript includes a hands-on tutorial accessible to users unfamiliar with this approach. In addition to calculating the model space and providing key BMA statistics, the package offers flexible options for specifying model priors, or including a dilution prior that accounts for multicollinearity. It also provides graphical tools for visualizing prior and posterior model probabilities, as well as functions for plotting histograms and kernel densities of the estimated coefficients. Furthermore, the package enables researchers to compute jointness measures and perform Bayesian model selection to examine the most probable models based on posterior model probabilities.

Suggested Citation

  • Beck, Krzysztof & Wyszyński, Mateusz & Dubel, Marcin, 2025. "Bayesian dynamic systems modelling. Bayesian model averaging for dynamic panels with weakly exogenous regressors," MPRA Paper 124689, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:124689
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/124689/1/MPRA_paper_124689.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Eicher, Theo S. & Papageorgiou, Chris & Roehn, Oliver, 2007. "Unraveling the fortunes of the fortunate: An Iterative Bayesian Model Averaging (IBMA) approach," Journal of Macroeconomics, Elsevier, vol. 29(3), pages 494-514, September.
    3. 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.
    4. León-González, Roberto & Montolio, Daniel, 2015. "Endogeneity and panel data in growth regressions: A Bayesian model averaging approach," Journal of Macroeconomics, Elsevier, vol. 46(C), pages 23-39.
    5. Robert J. Barro, 1991. "Economic Growth in a Cross Section of Countries," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 106(2), pages 407-443.
    6. Gernot Doppelhofer & Melvyn Weeks, 2009. "Jointness of growth determinants," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 24(2), pages 209-244, March.
    7. Hofmarcher, Paul & Crespo Cuaresma, Jesus & Grün, Bettina & Humer, Stefan & Moser, Mathias, 2018. "Bivariate jointness measures in Bayesian Model Averaging: Solving the conundrum," Journal of Macroeconomics, Elsevier, vol. 57(C), pages 150-165.
    8. Levine, Ross & Renelt, David, 1992. "A Sensitivity Analysis of Cross-Country Growth Regressions," American Economic Review, American Economic Association, vol. 82(4), pages 942-963, September.
    9. Theo S. Eicher & Chris Papageorgiou & Adrian E. Raftery, 2011. "Default priors and predictive performance in Bayesian model averaging, with application to growth determinants," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 26(1), pages 30-55, January/F.
    10. Carmen Fernandez & Eduardo Ley & Mark F. J. Steel, 2001. "Model uncertainty in cross-country growth regressions," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 16(5), pages 563-576.
    11. Shahram Amini & Christopher F. Parmeter, 2011. "Bayesian Model Averaging in R," Working Papers 2011-9, University of Miami, Department of Economics.
    12. Enrique Moral-Benito, 2012. "Determinants of Economic Growth: A Bayesian Panel Data Approach," The Review of Economics and Statistics, MIT Press, vol. 94(2), pages 566-579, May.
    13. Enrique Moral-Benito, 2013. "Likelihood-Based Estimation of Dynamic Panels With Predetermined Regressors," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 31(4), pages 451-472, October.
    14. Fernandez, Carmen & Ley, Eduardo & Steel, Mark F. J., 2001. "Benchmark priors for Bayesian model averaging," Journal of Econometrics, Elsevier, vol. 100(2), pages 381-427, February.
    15. Aller, Carlos & Ductor, Lorenzo & Grechyna, Daryna, 2021. "Robust determinants of CO2 emissions," Energy Economics, Elsevier, vol. 96(C).
    16. Enrique Moral-Benito & Paul Allison & Richard Williams, 2019. "Dynamic panel data modelling using maximum likelihood: an alternative to Arellano-Bond," Applied Economics, Taylor & Francis Journals, vol. 51(20), pages 2221-2232, April.
    17. Arin, K. Peren & Braunfels, Elias & Doppelhofer, Gernot, 2019. "Revisiting the growth effects of fiscal policy: A Bayesian model averaging approach," Journal of Macroeconomics, Elsevier, vol. 62(C).
    18. 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.
    19. Chun Liu & John M. Maheu, 2009. "Forecasting realized volatility: a Bayesian model-averaging approach," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 24(5), pages 709-733.
    20. Enrique Moral-Benito, 2015. "Model Averaging In Economics: An Overview," Journal of Economic Surveys, Wiley Blackwell, vol. 29(1), pages 46-75, February.
    21. Ley, Eduardo & Steel, Mark F.J., 2007. "Jointness in Bayesian variable selection with applications to growth regression," Journal of Macroeconomics, Elsevier, vol. 29(3), pages 476-493, September.
    22. 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.
    23. Błażejowski, Marcin & Kwiatkowski, Jacek, 2015. "Bayesian Model Averaging and Jointness Measures for gretl," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 68(i05).
    24. Tiago M. Fragoso & Wesley Bertoli & Francisco Louzada, 2018. "Bayesian Model Averaging: A Systematic Review and Conceptual Classification," International Statistical Review, International Statistical Institute, vol. 86(1), pages 1-28, April.
    25. Alin Mirestean & Charalambos G. Tsangarides, 2016. "Growth Determinants Revisited Using Limited‐Information Bayesian Model Averaging," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(1), pages 106-132, January.
    26. Enrique Moral‐Benito, 2016. "Growth Empirics in Panel Data Under Model Uncertainty and Weak Exogeneity," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 31(3), pages 584-602, April.
    27. Hlavac, Marek, 2016. "ExtremeBounds: Extreme Bounds Analysis in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 72(i09).
    28. Granger, Clive W. J. & Uhlig, Harald F., 1990. "Reasonable extreme-bounds analysis," Journal of Econometrics, Elsevier, vol. 44(1-2), pages 159-170.
    29. Sala-i-Martin, Xavier, 1997. "I Just Ran Two Million Regressions," American Economic Review, American Economic Association, vol. 87(2), pages 178-183, May.
    30. 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).
    31. Krzysztof Beck, 2022. "Macroeconomic policy coordination and the European business cycle: Accounting for model uncertainty and reverse causality," Bulletin of Economic Research, Wiley Blackwell, vol. 74(4), pages 1095-1114, October.
    32. Leamer, Edward E, 1985. "Sensitivity Analyses Would Help," American Economic Review, American Economic Association, vol. 75(3), pages 308-313, June.
    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. 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.
    3. 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.
    4. Rockey, James & Temple, Jonathan, 2016. "Growth econometrics for agnostics and true believers," European Economic Review, Elsevier, vol. 81(C), pages 86-102.
    5. Man, Georg, 2015. "Competition and the growth of nations: International evidence from Bayesian model averaging," Economic Modelling, Elsevier, vol. 51(C), pages 491-501.
    6. Bruns, Stephan B. & Ioannidis, John P.A., 2020. "Determinants of economic growth: Different time different answer?," Journal of Macroeconomics, Elsevier, vol. 63(C).
    7. Hofmarcher, Paul & Crespo Cuaresma, Jesus & Grün, Bettina & Humer, Stefan & Moser, Mathias, 2018. "Bivariate jointness measures in Bayesian Model Averaging: Solving the conundrum," Journal of Macroeconomics, Elsevier, vol. 57(C), pages 150-165.
    8. Magnus, Jan R. & Powell, Owen & Prüfer, Patricia, 2010. "A comparison of two model averaging techniques with an application to growth empirics," Journal of Econometrics, Elsevier, vol. 154(2), pages 139-153, February.
    9. Chupryhin, Radzivon, 2021. "Determinants of Foreign Direct Investment in Europe: Bayesian Model Averaging in the Presence of Weak Exogeneity," MPRA Paper 107197, University Library of Munich, Germany.
    10. 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.
    11. Jetter, Michael & Parmeter, Christopher F., 2018. "Sorting through global corruption determinants: Institutions and education matter – Not culture," World Development, Elsevier, vol. 109(C), pages 279-294.
    12. Bettina Grün & Paul Hofmarcher, 2021. "Identifying groups of determinants in Bayesian model averaging using Dirichlet process clustering," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 48(3), pages 1018-1045, September.
    13. Leon-Gonzalez, Roberto & Vinayagathasan, Thanabalasingam, 2015. "Robust determinants of growth in Asian developing economies: A Bayesian panel data model averaging approach," Journal of Asian Economics, Elsevier, vol. 36(C), pages 34-46.
    14. León-González, Roberto & Montolio, Daniel, 2015. "Endogeneity and panel data in growth regressions: A Bayesian model averaging approach," Journal of Macroeconomics, Elsevier, vol. 46(C), pages 23-39.
    15. 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.
    16. Kuo-Jung Lee & Yi-Chi Chen, 2018. "Of needles and haystacks: revisiting growth determinants by robust Bayesian variable selection," Empirical Economics, Springer, vol. 54(4), pages 1517-1547, June.
    17. Dimitris Korobilis, 2018. "Machine Learning Macroeconometrics: A Primer," Working Paper series 18-30, Rimini Centre for Economic Analysis.
    18. Prüfer, P. & Tondl, G., 2008. "The FDI-Growth Nexus in Latin America : The Role of Source Countries and Local Conditions," Other publications TiSEM 73b28850-1597-4bcb-a76c-1, Tilburg University, School of Economics and Management.
    19. Moral-Benito, Enrique, 2010. "Model averaging in economics," MPRA Paper 26047, University Library of Munich, Germany.
    20. 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.

    More about this item

    Keywords

    Keywords: bayesian model averaging; dynamic panels; likelihood function; dilution prior; R; R package; CRAN; jointness measures;
    All these keywords.

    JEL classification:

    • C01 - Mathematical and Quantitative Methods - - General - - - Econometrics
    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C18 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Methodolical Issues: General
    • C33 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Models with Panel Data; Spatio-temporal Models
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis

    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:pra:mprapa:124689. 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: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.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.