IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2410.15090.html
   My bibliography  Save this paper

Fast and Efficient Bayesian Analysis of Structural Vector Autoregressions Using the R Package bsvars

Author

Listed:
  • Tomasz Wo'zniak

Abstract

The R package bsvars provides a wide range of tools for empirical macroeconomic and financial analyses using Bayesian Structural Vector Autoregressions. It uses frontier econometric techniques and C++ code to ensure fast and efficient estimation of these multivariate dynamic structural models, possibly with many variables, complex identification strategies, and non-linear characteristics. The models can be identified using adjustable exclusion restrictions and heteroskedastic or non-normal shocks. They feature a flexible three-level equation-specific local-global hierarchical prior distribution for the estimated level of shrinkage for autoregressive and structural parameters. Additionally, the package facilitates predictive and structural analyses such as impulse responses, forecast error variance and historical decompositions, forecasting, statistical verification of identification and hypotheses on autoregressive parameters, and analyses of structural shocks, volatilities, and fitted values. These features differentiate bsvars from existing R packages that either focus on a specific structural model, do not consider heteroskedastic shocks, or lack the implementation using compiled code.

Suggested Citation

  • Tomasz Wo'zniak, 2024. "Fast and Efficient Bayesian Analysis of Structural Vector Autoregressions Using the R Package bsvars," Papers 2410.15090, arXiv.org, revised Apr 2025.
  • Handle: RePEc:arx:papers:2410.15090
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2410.15090
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Gregor Kastner & Sylvia Fruhwirth-Schnatter, 2017. "Ancillarity-Sufficiency Interweaving Strategy (ASIS) for Boosting MCMC Estimation of Stochastic Volatility Models," Papers 1706.05280, arXiv.org.
    2. Uhlig, Harald, 2005. "What are the effects of monetary policy on output? Results from an agnostic identification procedure," Journal of Monetary Economics, Elsevier, vol. 52(2), pages 381-419, March.
    3. Kilian,Lutz & Lütkepohl,Helmut, 2018. "Structural Vector Autoregressive Analysis," Cambridge Books, Cambridge University Press, number 9781107196575, Enero-Abr.
    4. Matthieu Droumaguet & Anders Warne & Tomasz Woźniak, 2017. "Granger Causality and Regime Inference in Markov Switching VAR Models with Bayesian Methods," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 32(4), pages 802-818, June.
    5. 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.
    6. Chib, Siddhartha, 1996. "Calculating posterior distributions and modal estimates in Markov mixture models," Journal of Econometrics, Elsevier, vol. 75(1), pages 79-97, November.
    7. Joshua C. C. Chan, 2020. "Large Bayesian VARs: A Flexible Kronecker Error Covariance Structure," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 38(1), pages 68-79, January.
    8. Joshua C. C. Chan, 2019. "Large Bayesian Vector Autoregressions," CAMA Working Papers 2019-19, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    9. Carriero, Andrea & Clark, Todd E. & Marcellino, Massimiliano, 2019. "Large Bayesian vector autoregressions with stochastic volatility and non-conjugate priors," Journal of Econometrics, Elsevier, vol. 212(1), pages 137-154.
    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. Klieber, Karin, 2024. "Non-linear dimension reduction in factor-augmented vector autoregressions," Journal of Economic Dynamics and Control, Elsevier, vol. 159(C).
    2. Karin Klieber, 2023. "Non-linear dimension reduction in factor-augmented vector autoregressions," Papers 2309.04821, arXiv.org.
    3. Hauzenberger, Niko & Pfarrhofer, Michael & Rossini, Luca, 2025. "Sparse time-varying parameter VECMs with an application to modeling electricity prices," International Journal of Forecasting, Elsevier, vol. 41(1), pages 361-376.
    4. Helmut Lutkepohl & Fei Shang & Luis Uzeda & Tomasz Wo'zniak, 2024. "Partial Identification of Heteroskedastic Structural VARs: Theory and Bayesian Inference," Papers 2404.11057, arXiv.org.
    5. Luis Gruber & Gregor Kastner, 2022. "Forecasting macroeconomic data with Bayesian VARs: Sparse or dense? It depends!," Papers 2206.04902, arXiv.org, revised Feb 2025.
    6. 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.
    7. Florian Huber & Gary Koop, 2024. "Fast and order‐invariant inference in Bayesian VARs with nonparametric shocks," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 39(7), pages 1301-1320, November.
    8. Xiaolei Wang & Tomasz Wo'zniak, 2025. "Bayesian Analyses of Structural Vector Autoregressions with Sign, Zero, and Narrative Restrictions Using the R Package bsvarSIGNs," Papers 2501.16711, arXiv.org.
    9. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    10. Todd E. Clark & Florian Huber & Gary Koop & Massimiliano Marcellino & Michael Pfarrhofer, 2023. "Tail Forecasting With Multivariate Bayesian Additive Regression Trees," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 64(3), pages 979-1022, August.
    11. Chan, Joshua C.C., 2021. "Minnesota-type adaptive hierarchical priors for large Bayesian VARs," International Journal of Forecasting, Elsevier, vol. 37(3), pages 1212-1226.
    12. Florian Huber & Luca Rossini, 2020. "Inference in Bayesian Additive Vector Autoregressive Tree Models," Papers 2006.16333, arXiv.org, revised Mar 2021.
    13. Hauzenberger, Niko & Huber, Florian & Klieber, Karin & Marcellino, Massimiliano, 2025. "Machine learning the macroeconomic effects of financial shocks," Economics Letters, Elsevier, vol. 250(C).
    14. Annika Camehl & Tomasz Wo'zniak, 2025. "Time-Varying Identification of Structural Vector Autoregressions," Papers 2502.19659, arXiv.org.
    15. Philippe Goulet Coulombe & Mikael Frenette & Karin Klieber, 2023. "From Reactive to Proactive Volatility Modeling with Hemisphere Neural Networks," Papers 2311.16333, arXiv.org, revised Apr 2024.
    16. Michael Pfarrhofer & Anna Stelzer, 2019. "High-frequency and heteroskedasticity identification in multicountry models: Revisiting spillovers of monetary shocks," Papers 1912.03158, arXiv.org, revised Dec 2024.
    17. Boeck, Maximilian & Feldkircher, Martin, 2021. "The Impact of Monetary Policy on Yield Curve Expectations," Journal of Economic Behavior & Organization, Elsevier, vol. 191(C), pages 887-901.
    18. 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.
    19. Barbara Rossi, 2021. "Forecasting in the Presence of Instabilities: How We Know Whether Models Predict Well and How to Improve Them," Journal of Economic Literature, American Economic Association, vol. 59(4), pages 1135-1190, December.
    20. Huber, Florian & Punzi, Maria Teresa, 2020. "International Housing Markets, Unconventional Monetary Policy, And The Zero Lower Bound," Macroeconomic Dynamics, Cambridge University Press, vol. 24(4), pages 774-806, June.

    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:arx:papers:2410.15090. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.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.