Bayesian neural networks for macroeconomic analysis

Niko Hauzenberger, Florian Huber, Karin Klieber, Massimilano Marcellino*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

7 Citations (Scopus)
30 Downloads (Pure)

Abstract

Macroeconomic data is characterized by a limited number of observations (small T), many time series (big K) but also by featuring temporal dependence. Neural networks, by contrast, are designed for datasets with millions of observations and covariates. In this paper, we develop Bayesian neural networks (BNNs) that are well-suited for handling datasets commonly used for macroeconomic analysis in policy institutions. Our approach avoids extensive specification searches through a novel mixture specification for the activation function that appropriately selects the form of nonlinearities. Shrinkage priors are used to prune the network and force irrelevant neurons to zero. To cope with heteroskedasticity, the BNN is augmented with a stochastic volatility model for the error term. We illustrate how the model can be used in a policy institution through simulations and by showing that BNNs produce more accurate point and density forecasts compared to other machine learning methods.
Original languageEnglish
Article number105843
Number of pages17
JournalJournal of Econometrics
Volume249
Issue numberPart C
Early online date16 May 2025
DOIs
Publication statusPublished - 31 May 2025

Funding

Hauzenberger gratefully acknowledges financial support from the Jubiläumsfonds of the Oesterreichische Nationalbank (OeNB, grant no. 18718, 18763, and 18765), and Huber acknowledges financial support from the Austrian Science Fund (FWF, grant no. ZK 35) and the Jubiläumsfonds of the OeNB (grant no. 18304).

Keywords

  • Bayesian neural networks
  • model selection
  • shrinkage priors
  • macroeconomic forecasting

Fingerprint

Dive into the research topics of 'Bayesian neural networks for macroeconomic analysis'. Together they form a unique fingerprint.

Cite this