IDEAS home Printed from https://ideas.repec.org/p/een/camaaa/2019-46.html

Efficient Selection of Hyperparameters in Large Bayesian VARs Using Automatic Differentiation

Author

Listed:
  • Joshua C. C. Chan
  • Liana Jacobi
  • Dan Zhu

Abstract

Large Bayesian VARs with the natural conjugate prior are now routinely used for forecasting and structural analysis. It has been shown that selecting the prior hyperparameters in a data-driven manner can often substantially improve forecast performance. We propose a computationally efficient method to obtain the optimal hyperparameters based on Automatic Differentiation, which is an efficient way to compute derivatives. Using a large US dataset, we show that using the optimal hyperparameter values leads to substantially better forecast performance. Moreover, the proposed method is much faster than the conventional grid-search approach, and is applicable in high-dimensional optimization problems. The new method thus provides a practical and systematic way to develop better shrinkage priors for forecasting in a data-rich environment.

Suggested Citation

  • Joshua C. C. Chan & Liana Jacobi & Dan Zhu, 2019. "Efficient Selection of Hyperparameters in Large Bayesian VARs Using Automatic Differentiation," CAMA Working Papers 2019-46, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
  • Handle: RePEc:een:camaaa:2019-46
    as

    Download full text from publisher

    File URL: https://crawford.anu.edu.au/sites/default/files/2025-01/46_2019_chan_jacobi_zhu.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    Citations

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


    Cited by:

    1. Chan, Joshua C.C., 2023. "Comparing stochastic volatility specifications for large Bayesian VARs," Journal of Econometrics, Elsevier, vol. 235(2), pages 1419-1446.
    2. Jacobi Liana & Kwok Chun Fung & Ramírez-Hassan Andrés & Nghiem Nhung, 2024. "Posterior Manifolds over Prior Parameter Regions: Beyond Pointwise Sensitivity Assessments for Posterior Statistics from MCMC Inference," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 28(2), pages 403-434, April.
    3. 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.
    4. Jamie L. Cross & Chenghan Hou & Gary Koop, 2021. "Macroeconomic Forecasting with Large Stochastic Volatility in Mean VARs," Working Papers No 04/2021, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    5. Joshua C. C. Chan, 2022. "Asymmetric conjugate priors for large Bayesian VARs," Quantitative Economics, Econometric Society, vol. 13(3), pages 1145-1169, July.
    6. Massimiliano Marcellino & Andrea Renzetti & Tommaso Tornese, 2024. "Nowcasting distributions: a functional MIDAS model," Papers 2411.05629, arXiv.org.
    7. Nadiia Shapovalenko, 2021. "A BVAR Model for Forecasting Ukrainian Inflation and GDP," Visnyk of the National Bank of Ukraine, National Bank of Ukraine, issue 251, pages 14-36.
    8. Consolo, Agostino & Foroni, Claudia & Martínez Hernández, Catalina, 2021. "A mixed frequency BVAR for the euro area labour market," Working Paper Series 2601, European Central Bank.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • E37 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Forecasting and Simulation: Models and Applications

    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:een:camaaa:2019-46. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Cama Admin (email available below). General contact details of provider: https://edirc.repec.org/data/asanuau.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.