IDEAS home Printed from https://ideas.repec.org/p/fip/feddgw/88639.html
   My bibliography  Save this paper

BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R

Author

Listed:
  • Maximilian Böck
  • Martin Feldkircher
  • Florian Huber

Abstract

This document introduces the R library BGVAR to estimate Bayesian global vector autoregressions (GVAR) with shrinkage priors and stochastic volatility. The Bayesian treatment of GVARs allows us to include large information sets by mitigating issues related to overfitting. This improves inference and often leads to better out-of-sample forecasts. Computational efficiency is achieved by using C++ to considerably speed up time-consuming functions. To maximize usability, the package includes numerous functions for carrying out structural inference and forecasting. These include generalized and structural impulse response functions, forecast error variance and historical decompositions as well as conditional forecasts.

Suggested Citation

  • Maximilian Böck & Martin Feldkircher & Florian Huber, 2020. "BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R," Globalization Institute Working Papers 395, Federal Reserve Bank of Dallas.
  • Handle: RePEc:fip:feddgw:88639
    DOI: 10.24149/gwp395
    as

    Download full text from publisher

    File URL: https://www.dallasfed.org/~/media/documents/institute/wpapers/2020/0395.pdf
    File Function: Full text
    Download Restriction: no

    File URL: https://cran.r-project.org/web/packages/BGVAR/index.html
    File Function: Code
    Download Restriction: no

    File URL: https://libkey.io/10.24149/gwp395?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. Filippo di Mauro & L. Vanessa Smith & Stephane Dees & M. Hashem Pesaran, 2007. "Exploring the international linkages of the euro area: a global VAR analysis," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 22(1), pages 1-38.
    2. Dovern, Jonas & Feldkircher, Martin & Huber, Florian, 2016. "Does joint modelling of the world economy pay off? Evaluating global forecasts from a Bayesian GVAR," Journal of Economic Dynamics and Control, Elsevier, vol. 70(C), pages 86-100.
    3. Juan F. Rubio-Ramírez & Daniel F. Waggoner & Tao Zha, 2010. "Structural Vector Autoregressions: Theory of Identification and Algorithms for Inference," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 77(2), pages 665-696.
    4. Huber, Florian, 2016. "Density forecasting using Bayesian global vector autoregressions with stochastic volatility," International Journal of Forecasting, Elsevier, vol. 32(3), pages 818-837.
    5. Koop, Gary & Korobilis, Dimitris, 2010. "Bayesian Multivariate Time Series Methods for Empirical Macroeconomics," Foundations and Trends(R) in Econometrics, now publishers, vol. 3(4), pages 267-358, July.
    6. Markku Lanne & Henri Nyberg, 2016. "Generalized Forecast Error Variance Decomposition for Linear and Nonlinear Multivariate Models," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 78(4), pages 595-603, August.
    7. Eickmeier, Sandra & Ng, Tim, 2015. "How do US credit supply shocks propagate internationally? A GVAR approach," European Economic Review, Elsevier, vol. 74(C), pages 128-145.
    8. Cashin, Paul & Mohaddes, Kamiar & Raissi, Maziar & Raissi, Mehdi, 2014. "The differential effects of oil demand and supply shocks on the global economy," Energy Economics, Elsevier, vol. 44(C), pages 113-134.
    9. M. Feldkircher & F. Huber & I. Moder, 2015. "Towards a New Normal: How Different Paths of US Monetary Policy Affect the World Economy," Economic Notes, Banca Monte dei Paschi di Siena SpA, vol. 44(3), pages 409-418, November.
    10. Todd E. Clark, 2011. "Real-Time Density Forecasts From Bayesian Vector Autoregressions With Stochastic Volatility," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 29(3), pages 327-341, July.
    11. Pesaran, H. Hashem & Shin, Yongcheol, 1998. "Generalized impulse response analysis in linear multivariate models," Economics Letters, Elsevier, vol. 58(1), pages 17-29, January.
    12. Pesaran M.H. & Schuermann T. & Weiner S.M., 2004. "Modeling Regional Interdependencies Using a Global Error-Correcting Macroeconometric Model," Journal of Business & Economic Statistics, American Statistical Association, vol. 22, pages 129-162, April.
    13. Pfaff, Bernhard, 2008. "VAR, SVAR and SVEC Models: Implementation Within R Package vars," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i04).
    14. Florian Huber & Martin Feldkircher, 2019. "Adaptive Shrinkage in Bayesian Vector Autoregressive Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 37(1), pages 27-39, January.
    15. Kastner, Gregor & Frühwirth-Schnatter, Sylvia, 2014. "Ancillarity-sufficiency interweaving strategy (ASIS) for boosting MCMC estimation of stochastic volatility models," Computational Statistics & Data Analysis, Elsevier, vol. 76(C), pages 408-423.
    16. Eddelbuettel, Dirk & Sanderson, Conrad, 2014. "RcppArmadillo: Accelerating R with high-performance C++ linear algebra," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 1054-1063.
    17. Feldkircher, Martin & Huber, Florian, 2016. "The international transmission of US shocks—Evidence from Bayesian global vector autoregressions," European Economic Review, Elsevier, vol. 81(C), pages 167-188.
    18. Christopher A. Sims & Tao Zha, 2006. "Were There Regime Switches in U.S. Monetary Policy?," American Economic Review, American Economic Association, vol. 96(1), pages 54-81, March.
    19. Jonas E. Arias & Juan F. Rubio‐Ramírez & Daniel F. Waggoner, 2018. "Inference Based on Structural Vector Autoregressions Identified With Sign and Zero Restrictions: Theory and Applications," Econometrica, Econometric Society, vol. 86(2), pages 685-720, March.
    20. Kilian,Lutz & Lütkepohl,Helmut, 2018. "Structural Vector Autoregressive Analysis," Cambridge Books, Cambridge University Press, number 9781107196575.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Martin Feldkircher & Florian Huber & Gary Koop & Michael Pfarrhofer, 2022. "APPROXIMATE BAYESIAN INFERENCE AND FORECASTING IN HUGE‐DIMENSIONAL MULTICOUNTRY VARs," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(4), pages 1625-1658, November.

    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. Feldkircher, Martin & Gruber, Thomas & Huber, Florian, 2020. "International effects of a compression of euro area yield curves," Journal of Banking & Finance, Elsevier, vol. 113(C).
    2. Samuel F. Onipede & Nafiu A. Bashir & Jamaladeen Abubakar, 2023. "Small open economies and external shocks: an application of Bayesian global vector autoregression model," Quality & Quantity: International Journal of Methodology, Springer, vol. 57(2), pages 1673-1699, April.
    3. Crespo Cuaresma, Jesus & Doppelhofer, Gernot & Feldkircher, Martin & Huber, Florian, 2018. "Spillovers from US monetary policy: Evidence from a time-varying parameter GVAR model," Discussion Paper Series in Economics 31/2018, Norwegian School of Economics, Department of Economics.
    4. Martin Feldkircher & Gabriele Tondl, 2020. "Global Factors Driving Inflation and Monetary Policy: A Global VAR Assessment," International Advances in Economic Research, Springer;International Atlantic Economic Society, vol. 26(3), pages 225-247, August.
    5. Dovern, Jonas & Feldkircher, Martin & Huber, Florian, 2016. "Does joint modelling of the world economy pay off? Evaluating global forecasts from a Bayesian GVAR," Journal of Economic Dynamics and Control, Elsevier, vol. 70(C), pages 86-100.
    6. Feldkircher, Martin & Siklos, Pierre L., 2019. "Global inflation dynamics and inflation expectations," International Review of Economics & Finance, Elsevier, vol. 64(C), pages 217-241.
    7. Pfarrhofer, Michael, 2019. "Measuring international uncertainty using global vector autoregressions with drifting parameters," Working Papers in Economics 2019-3, University of Salzburg.
    8. Markus Eller & Martin Feldkircher & Florian Huber, 2017. "How would a fiscal shock in Germany affect other European countries? Evidence from a Bayesian GVAR model with sign restrictions," Focus on European Economic Integration, Oesterreichische Nationalbank (Austrian Central Bank), issue 1, pages 54-77.
    9. Michael Pfarrhofer & Anna Stelzer, 2019. "The international effects of central bank information shocks," Papers 1912.03158, arXiv.org.
    10. Jesús Crespo Cuaresma & Gernot Doppelhofer & Martin Feldkircher & Florian Huber, 2019. "Spillovers from US monetary policy: evidence from a time varying parameter global vector auto‐regressive model," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 182(3), pages 831-861, June.
    11. Maximilian Böck & Martin Feldkircher & Pierre L. Siklos, 2021. "International Effects of Euro Area Forward Guidance," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 83(5), pages 1066-1110, October.
    12. Miranda-Agrippino, Silvia & Ricco, Giovanni, 2018. "Bayesian Vector Autoregressions," The Warwick Economics Research Paper Series (TWERPS) 1159, University of Warwick, Department of Economics.
    13. Dumrongrittikul, Taya & Anderson, Heather & Vahid, Farshid, 2019. "The global effects of productivity gains in Asian emerging economies," Economic Modelling, Elsevier, vol. 83(C), pages 127-140.
    14. Huber, Florian & Punzi, Maria Teresa, 2017. "The shortage of safe assets in the US investment portfolio: Some international evidence," Journal of International Money and Finance, Elsevier, vol. 74(C), pages 318-336.
    15. repec:hal:spmain:info:hdl:2441/27od5pb99881folvtfs8s3k16l is not listed on IDEAS
    16. Cipollini, Andrea & Parla, Fabio, 2020. "Housing market shocks in italy: A GVAR approach," Journal of Housing Economics, Elsevier, vol. 50(C).
    17. George N. Apostolakis & Nikolaos Giannellis & Athanasios P. Papadopoulos, 2023. "Macro‐financial effects of monetary policy easing," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(3), pages 715-738, April.
    18. Florian Huber & Tam'as Krisztin & Michael Pfarrhofer, 2018. "A Bayesian panel VAR model to analyze the impact of climate change on high-income economies," Papers 1804.01554, arXiv.org, revised Feb 2021.
    19. Taya Dumrongrittikul & Heather Anderson & Farshid Vahid, 2014. "The Effects of Productivity Gains in Asian Emerging Economies: A Global Perspective," Monash Econometrics and Business Statistics Working Papers 23/14, Monash University, Department of Econometrics and Business Statistics.
    20. Fadejeva, Ludmila & Feldkircher, Martin & Reininger, Thomas, 2017. "International spillovers from Euro area and US credit and demand shocks: A focus on emerging Europe," Journal of International Money and Finance, Elsevier, vol. 70(C), pages 1-25.
    21. Dees, Stéphane, 2016. "Credit, asset prices and business cycles at the global level," Economic Modelling, Elsevier, vol. 54(C), pages 139-152.

    More about this item

    Keywords

    Global Vector Autoregressions; Bayesian inference; time series analysis; R;
    All these keywords.

    JEL classification:

    • C30 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - General
    • C50 - Mathematical and Quantitative Methods - - Econometric Modeling - - - General
    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • F40 - International Economics - - Macroeconomic Aspects of International Trade and Finance - - - General

    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:fip:feddgw:88639. 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: Amy Chapman (email available below). General contact details of provider: https://edirc.repec.org/data/frbdaus.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.