Beck, Krzysztof and Wyszyński, Mateusz and Dubel, Marcin (2025): Bayesian dynamic systems modelling. Bayesian model averaging for dynamic panels with weakly exogenous regressors.
![]() |
PDF
MPRA_paper_124689.pdf Download (812kB) |
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.
Item Type: | MPRA Paper |
---|---|
Original Title: | Bayesian dynamic systems modelling. Bayesian model averaging for dynamic panels with weakly exogenous regressors |
English Title: | Bayesian dynamic systems modelling. Bayesian model averaging for dynamic panels with weakly exogenous regressors |
Language: | English |
Keywords: | Keywords: bayesian model averaging, dynamic panels, likelihood function, dilution prior, R, R package, CRAN, jointness measures |
Subjects: | C - Mathematical and Quantitative Methods > C0 - General > C01 - Econometrics C - Mathematical and Quantitative Methods > C1 - Econometric and Statistical Methods and Methodology: General > C11 - Bayesian Analysis: General C - Mathematical and Quantitative Methods > C1 - Econometric and Statistical Methods and Methodology: General > C13 - Estimation: General C - Mathematical and Quantitative Methods > C1 - Econometric and Statistical Methods and Methodology: General > C18 - Methodological Issues: General C - Mathematical and Quantitative Methods > C3 - Multiple or Simultaneous Equation Models ; Multiple Variables > C33 - Panel Data Models ; Spatio-temporal Models C - Mathematical and Quantitative Methods > C5 - Econometric Modeling > C52 - Model Evaluation, Validation, and Selection C - Mathematical and Quantitative Methods > C5 - Econometric Modeling > C55 - Large Data Sets: Modeling and Analysis |
Item ID: | 124689 |
Depositing User: | Dr. Krzysztof Beck |
Date Deposited: | 26 May 2025 11:58 |
Last Modified: | 26 May 2025 11:58 |
References: | Aller, C., Ductor, L., & Grechyna, D. (2021). Robust determinants of co2 emissions. Energy Economics, 96(105154). Amini, S. M. & Parmeter, C. F. (2011). Bayesian model averaging in r. Journal of Economic and Social Measurement, 36(4), 253–287. Arin, K. P., Braunfels, E., & Doppelhofer, G. (2019). Revisiting the growth effects of fiscal policy: A Bayesian model averaging approach. Journal of Macroeconomics, 62(103158), 1–16. Baran, S. & Möller, A. (2015). Joint probabilistic forecasting of wind speed and tem- perature using bayesian model averaging. Environmetrics, 26(2), 120–132. Barro, R. J. (1991). Economic Growth in a Cross Section of Countries. The Quarterly Journal of Economics, 106(2), 407–443. Beck, J., Beck, K., de Białynia Woycikiewicz, M., & Jednoróg, K. (2025). The trajectory of letter and speech sounds association in children: insights from a cross-sectional study. Reading and Writing. Beck, K. (2017). Bayesian model averaging and jointness measures: theoretical frame- work and application to the gravity model of trade. Statistics in Transition. New Series, 18(3), 393–412. Beck, K. (2022). Macroeconomic policy coordination and the European business cy- cle: Accounting for model uncertainty and reverse causality. Bulletin of Economic Research, 74(4), 1095–1114. Błażejowski, M. & Kwiatkowski, J. (2015). Bayesian Model Averaging and Jointness Measures for gretl. Journal of Statistical Software, 68(5), 1–24. Chen, H., Mirestean, A., & Tsangarides, C. G. (2018). Limited information bayesian model averaging for dynamic panels with application to a trade gravity model. Econo- metric Reviews, 37(7), 777–805. Clyde, M. A., Ghosh, J., & Littman, M. L. (2011). Bayesian adaptive sampling for variable selection and model averaging. Journal of Computational and Graphical Statistics, 20(1), 80–101. D’Andrea, S. (2022). Are there any robust determinants of growth in europe? a bayesian model averaging approach. International Economics, 171, 143–173. Doppelhofer, G. & Weeks, M. (2009). Jointness of growth determinants. Journal of Applied Econometrics, 24(2), 209–244. Ductor, L. & Leiva-Leon, D. (2016). Dynamics of Global Business Cycles Interdepen- dence. Journal of International Economics, 102, 1109–1127. Eicher, T. S., Papageorgiou, C., & Raftery, A. E. (2011). Default priors and predictive performance in Bayesian model averaging, with application to growth determinants. Journal of Applied Econometrics, 26(1), 30–55. Eicher, T. S., Papageorgiou, C., & Roehn, O. (2007). Unraveling the fortunes of the fortunate: An Iterative Bayesian Model Averaging (IBMA) approach. Journal of Macroeconomics, 29(3), 494–514. Feldkircher, M. & Zeugner, S. (2015). Bayesian Model Averaging Employing Fixed and Flexible Priors: The BMS Package for R. Journal of Statistical Software, 68(4), 1–37. Fernández, C., Ley, E., & Steel, M. F. (2001a). Benchmark priors for Bayesian model averaging. Journal of Econometrics, 100(2), 381–427. Fernández, C., Ley, E., & Steel, M. F. (2001b). Model uncertainty in cross-country growth regressions. Journal of Applied Econometrics, 16(5), 563–576. Figini, S. & Giudici, P. (2017). Credit risk assessment with bayesian model averaging. Communications in Statistics - Theory and Methods, 46(19), 9507–9517. Fragoso, T. M., Bertoli, W., & Louzada, F. (2018). Bayesian model averaging: A sys- tematic review and conceptual classification. International Statistical Review, 86(1), 1–28. George, E. I. (2010). Dilution priors: Compensating for model space redundancy. In J. O. Berger, T. Cai, & I. M. Johnstone (Eds.), Borrowing Strength: Theory Powering Applications – A Festschrift for Lawrence D. Brown (pp. 158–165). Beachwood, OH: Institute of Mathematical Statistics. Granger, C. W. & Uhlig, H. F. (1990). Reasonable extreme-bounds analysis. Journal of Econometrics, 44(1), 159–170. Guliyev, H. (2024). Determinants of ecological footprint in european countries: Fresh insight from bayesian model averaging for panel data analysis. Science of The Total Environment, 912, 169455. Hlavac, M. (2016). Extremebounds: Extreme bounds analysis in r. Journal of Statistical Software, 72(9), 1–22. Hofmarcher, P., Crespo Cuaresma, J., Grün, B., Humer, S., & Moser, M. (2018). Bivariate joint measure in Bayesian Model Averaging: Solving the conundrum. Journal of Macroeconomics, 57, 150–165. Horvath, R., Horvatova, E., & Siranova, M. (2024). The determinants of financial development: Evidence from bayesian model averaging. Economic Systems, (101274). Jeffreys, H. (1946). An invariant form for the prior probability in estimation problems. Proceedings of the Royal Society of London. Series A, Mathematical and Physical Sciences, 186(1007), 453–461. Kass, R. E. & Raftery, A. E. (1995). Bayes Factors. Journal of the American Statistical Association, 90(430), 773–795. Leamer, E. E. (1978). Specification Searches: Ad Hoc Inference with Nonexperimental Data. New York: John Wiley & Sons. Leamer, E. E. (1983). Let’s Take the Con Out of Econometrics. The American Economic Review, 73(1), 31–43. Leamer, E. E. (1985). Sensitivity Analyses Would Help. American Economic Review, 75(3), 308–313. Leamer, E. E. & Leonard, H. (1981). Reporting the fragility of regression estimates. The Review of Economics and Statistics, 65(2), 306–317. Lenkoski, A., Eicher, T. S., & Raftery, A. E. (2014). Two-stage bayesian model aver- aging in endogenous variable models. Econometric Reviews, 33(1-4), 122–151. Levine, R. & Renelt, D. (1992). A Sensitivity Analysis of Cross-Country Growth Re- gressions. The American Economic Review, 82(4), 942–963. Ley, E. & Steel, M. F. (2007). Jointness in Bayesian variable selection with applications to growth regression. Journal of Macroeconomics, 29(3), 476–493. Ley, E. & Steel, M. F. (2009). On the effect of prior assumptions in Bayesian model averaging with applications to growth regression. Journal of Applied Econometrics, 24(4), 651–674. Ley, E. & Steel, M. F. (2012). Mixtures of g-priors for Bayesian model averaging with economic applications. Journal of Econometrics, 171(2), 251–266. León-González, R. & Montolio, D. (2015). Endogeneity and panel data in growth regressions: A Bayesian model averaging approach. Journal of Macroeconomics, 24, 23–39. Liu, C. & Maheu, J. M. (2009). Forecasting realized volatility: a bayesian model- averaging approach. Journal of Applied Econometrics, 24(5), 709–733. Masanjala, W. H. & Papageorgiou, C. (2008). Rough and lonely road to prosperity: a reexamination of the growth in Africa using Bayesian model averaging. Journal of Applied Econometrics, 23(5), 671–682. Mirestean, A. & Tsangarides, C. G. (2016). Growth Determinants Revisited Using Limited-Information Bayesian Model Averaging. Journal of Applied Econometrics, 31(1), 106–132. Moral-Benito, E. (2012). Determinants of Economic Growth: A Bayesian Panel Data Approach. The Review of Economics and Statistics, 92(4), 566–579. Moral-Benito, E. (2013). Likelihood-Based Estimation of Dynamic Panels with Prede- termined Regressors. Journal of Business and Economic Statistics, 31(4), 451–472. Moral-Benito, E. (2015). Model Averaging in Economics: An Overview. Journal of Economic Surveys, 29(1), 46–75. Moral-Benito, E. (2016). Growth Empirics in Panel Data Under Model Uncertainty and Weak Exogeneity. Journal of Applied Econometrics, 31(3), 584–602. Moral-Benito, E., Allison, P., & Williams, R. (2019). Dynamic panel data modelling using maximum likelihood: An alternative to Arellano-Bond. Applied Economics, 51(20), 2221–2232. Moser, M. & Hofmarcher, P. (2014). Model priors revisited: Interaction terms in BMA growth applications. Journal of Applied Econometrics, 29(2), 344–347. Payne, R. D., Ray, P., & Thomann, M. A. (2024). Bayesian model averaging of longitu- dinal dose-response models. Journal of Biopharmaceutical Statistics, 34(3), 349–365. Raftery, A. E. (1995). Bayesian model selection in social research. Sociological Method- ology, 25, 111–163. Raftery, A. E., Madigan, D., & Hoeting, J. A. (1997). Bayesian model averaging for linear regression models. Journal of the American Statistical Association, 92(437), 179–191. Raftery, A. E., Painter, I. S., & Volinsky, C. T. (2005). BMA: An R package for bayesian model averaging. R News, 5(2), 2–8. Sala-I-Martin, X. (1997). I Just Ran Two Million Regressions. The American Economic Review, 27(2), 178–183. Sala-I-Martin, X., Doppelhofer, G., & Miller, R. I. (2004). Determinants of Long- Term Growth: A Bayesian Averaging of Classical Estimates (BACE) Approach. The American Economic Review, 94, 813–835. Sloughter, J. M., Gneiting, T., & Raftery, A. E. (2013). Probabilistic wind vector forecasting using ensembles and bayesian model averaging. Monthly Weather Review, 141(6), 2107–2119. Steel, M. F. (2020). Model Averaging and Its Use in Economics. Journal of Economic Literature, 58(3), 644–719. |
URI: | https://mpra.ub.uni-muenchen.de/id/eprint/124689 |