Bayesian neural networks for macroeconomic analysis. doi

with F. Huber, K. Klieber, and M. Marcellino, Journal of Econometrics, published online, 2024.

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.

Publication (open access).

arXiv.

Slides. Presented by Karin Klieber at 12th ECB Conference on Forecasting Techniques, IAAE 2023, CFE 2022, and COMPSTAT 2022.

YouTube Video. Recorded at 12th ECB Conference on Forecasting Techniques.