Bayesian Neural Networks for Macroeconomic Analysis

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hauzenberger, Niko, Huber, Florian, Klieber, Karin, Marcellino, Massimiliano
Natura: Preprint
Pubblicazione: 2022
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913296002580480
author Hauzenberger, Niko
Huber, Florian
Klieber, Karin
Marcellino, Massimiliano
author_facet Hauzenberger, Niko
Huber, Florian
Klieber, Karin
Marcellino, Massimiliano
contents 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 by first showing that our different BNNs produce precise density forecasts, typically better than those from other machine learning methods. Finally, we showcase how our model can be used to recover nonlinearities in the reaction of macroeconomic aggregates to financial shocks.
format Preprint
id arxiv_https___arxiv_org_abs_2211_04752
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Bayesian Neural Networks for Macroeconomic Analysis
Hauzenberger, Niko
Huber, Florian
Klieber, Karin
Marcellino, Massimiliano
Econometrics
Machine Learning
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 by first showing that our different BNNs produce precise density forecasts, typically better than those from other machine learning methods. Finally, we showcase how our model can be used to recover nonlinearities in the reaction of macroeconomic aggregates to financial shocks.
title Bayesian Neural Networks for Macroeconomic Analysis
topic Econometrics
Machine Learning
url https://arxiv.org/abs/2211.04752