Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.
64,680 characters · 14 sections · 53 citation commands
Inference in Bayesian Additive Vector Autoregressive Tree Models
\affil[a]{University of Salzburg} \affil[b]{Queen Mary University of London}
\thispagestyle{empty}\linespread{1.5}
In macroeconomics and finance, most models commonly employed to study the transmission of economic shocks or produce predictions assume linearity in their parameters and are fully parametric. One prominent example is the vector autoregressive (VAR) model that is extensively used in central banks and academia Sims1980,Doan1984,Litterman1986,Sims1998. In normal times, with macroeconomic relations remaining stable, this linearity assumption might describe the data well. In turbulent times, however, key transmission channels often change and more flexibility could be necessary. Ignoring such changes or failing to effectively control for outliers could translate into weak out-of-sample forecasts and potentially has adverse effects on the estimation of impulse responses.
The linearity assumption has been subject to substantial criticism in the literature. For instance, Granger1993 show that macroeconomic and financial quantities depend non-linearily on each other and thus assuming linearity might be overly restrictive. As a solution, researchers increasingly rely on non-linear models which feature time-varying parameters. These models either allow for gradually evolving coefficients or feature a rather low number of structural breaks. All these models have in common that within each point in time, the relationship between the endogenous and explanatory variables is linear and deciding on the specific law of motion is an important modeling decision.
Another strand of the literature proposes Bayesian nonparametric time series models in order to relax the linearity assumption. In particular, several recent papers Bassetti2014,Kalli2018,Billio2019 propose novel methods that assume the transition densities to be nonparametric. These techniques are characterized by featuring an infinite dimensional parameter space that is flexibly adjusted to the complexity of the data at hand.\footnote{For a review on Bayesian nonparametric methods, see Hjort2010.} Within the nonparametric paradigm, there has been a number of popular competing approaches that make use of machine learning techniques such as boosting Freund1997,Friedman2001, bagging and random forests Breiman2001, decision trees and Mondrian forests Roy2009,Lakshminarayanan2014 and Bayesian additive regression tree (BART) models Chipman2002, Gramacy2008, Chipman2010, Linero2018.
In this paper, our focus is on BART models and applying them to multivariate time series data. BART has been successfully applied for dealing with model uncertainty hernandez2018bayesian, sparse regression problems Linero2018, spatial models as well as for limited dependent variable models krueger2020new. Moreover, in several recent studies, BART has been shown to yield precise forecasts and improve upon several competing models from the statistics and machine learning literature kapelner2015prediction, waldmann2016genome, Linero2018, he2019xbart, Pruser2019, Huber2021. But BART has also been successfully used for carrying out causal effect estimation hill2011bayesian, green2012modeling, kern2016assessing, dorie2019automated, hahn2020bayesian.
The strong empirical performance of BART for forecasting and causal inference gives rise to the main contribution of the paper. We aim to bridge the literature on BART Chipman2010 with the literature on VAR models. BART, being a flexible nonparametric regression approach, allows for unveiling non-linear relations between a set of endogenous and explanatory variables without needing much input from the researcher. Intuitively speaking, it models the conditional mean of the regression model by summing over a large number of trees which are, by themselves, constrained through a regularization prior. The resulting individual trees will take a particularly simple form and can thus be classified as ”weak learners”. Each of these simple trees only explains a small fraction of the variation in the response variable while a large sum of them is capable of describing the data extremely well.
It is precisely this intuition on which we build on when we generalize these techniques to a multivariate setting. More precisely, we assume that a potentially large dimensional vector of endogenous variables is determined by its lagged values. As opposed to VAR models which model this relationship using a linear function, we assume the precise functional form to be unknown. This function is then estimated using BART. The resulting model, labeled the Bayesian Additive Vector Autoregressive tree (BAVART) model, is a highly flexible variant that can be used for forecasting and impulse response analysis.
Estimation and inference are carried out using Markov chain Monte Carlo (MCMC) techniques. Since the error covariance matrix is non-diagonal, we propose methods that allow for equation-by-equation estimation of the multivariate model. These techniques imply that model estimation scales well in high dimensions and permits estimation of huge dimensional models. Another novel feature of our approach is that it allows for flexibly handling heteroscedasticity. We control for time-variation in the error variances by proposing a stochastic volatility specification. This feature is crucial for producing precise density forecasts. To produce higher-order forecasts and impulse response functions (IRFs) we develop techniques that enable us to sample from the predictive distribution and the posterior distribution of the IRFs. This proves to be another important contribution of the paper which is closely related to the literature on estimating non-linear impulse response functions barnichon2018functional, plagborg2019bayesian.
We illustrate our BAVART model using two empirical applications. The first deals with forecasting the US term structure of interest rates. Since financial data often exhibit non-linear features, our BAVART model might be well suited for dealing with interest rates at differing maturities. We consider two ways of modeling the yield curve. The first models a panel of yields simultaneously along the lines of carriero2012forecasting whereas the second approach fits a Nelson-Siegel (NS) model in the spirit of diebold2006forecasting but assumes the three NS factors to follow a BAVART model. Within each of these classes, we consider several linear and non-linear competing models. Since interest not only centers on one-step-ahead predictive distributions but also on multi-step-ahead forecasts, we provide algorithms to simulate from the relevant predictive distributions. The findings show that for one-month-ahead point forecasts, our proposed BAVART model with NS factors yields highly competitive forecasts for bonds with maturities greater than five years. For higher-order forecasts, these accuracy gains become smaller. When the full predictive distribution is considered, jointly modeling the yields without imposing a factor structure yields more precise density predictions. As opposed to point forecasts, we find that using BART on the conditional mean helps in improving density forecasts for maturities below seven years and both one-step-ahead and three-steps-ahead predictions.
In a second application, we apply the BAVART model to macroeconomic data for the Eurozone. Instead of using our model to produce forecasts, we analyze the dynamic effects of uncertainty on the Eurozone economy. As opposed to the existing literature which deals with the macroeconomic effects of uncertainty using non-linear models caggiano2014uncertainty, aastveit2017economic, ferrara2018macroeconomic, mumtaz2018changing,alessandri2019financial,cuaresma2020fragility, jackson2020nonlinear, paccagnini2020asymmetric, caggiano2017uncertainty, our approach remains agnostic on the precise form of non-linearities and infers these in a data-based manner. This constitutes a substantial advantage since there is considerable uncertainty with respect to selecting the appropriate type of non-linearities in multivariate time series models.
To assess how macroeconomic reactions change in our non-linear and non-parametric framework if interest rates are at the zero lower bound, we simulate dynamic responses under the restriction that short-term interest rates are zero and not allowed to react to uncertainty shocks. Our findings indicate that increases in economic uncertainty have negative effects on real activity. Specifically, we observe increases in unemployment rates, declining consumption levels, and a drop in prices. By contrast, financial market quantities display adverse reactions with declines in stock prices and decreasing short-term interest rates. These findings are in general consistent with established findings in the literature and thus show that our BAVART model can be used to carry out meaningful structural inference.
The remainder of this paper is organized as follows. Section (ref) discusses the BART model in the context of the homoscedastic regression model while Section (ref) extends this method to the VAR case and proposes the BAVART specification and how we control for heteroscedasticity. Section (ref) presents the results of the term structure forecasting exercise while Section (ref) investigates the relationship between uncertainty and macroeconomic dynamics in the Eurozone. Finally, the last section summarizes our findings and concludes the paper.
In this section, we briefly review BART.\footnote{For an extensive introduction to BART models, see Hill2020.} Let $\bm y = (y_1, \dots, y_T)'$ denote the $T-$dimensional response vector and $\bm X =(\bm x_1, \dots, \bm x_T)'$ be a $T \times K$-dimensional matrix of exogenous variables with $\bm x_t$ being the $K$ covariates in time $t$. We assume that $\bm y$ depends on $\bm X$ through a potentially non-linear function $f: \mathbb{R}^{T \times K} \to \mathbb{R}^T$ as follows:
where $\sigma^2$ denotes the error variance and the function $f$ is generally not known. BART approximates the function $f$ by summing over $N$ (which is a large number) regression trees:
In \hyperref[{eq_Tree}]{Eq. (\ref*{eq_Tree})} , the function $g(\bm X | \mathcal{T}_j,\bm{m}_j)$ corresponds to a single tree model with $\mathcal{T}_j$ denoting the tree structure associated with the $j^{th}$ binary tree and $\bm{m}_j = (\mu_{j1},\ldots,\mu_{{jb}_{j}})'$ is the vector of terminal node parameters associated with $\mathcal{T}_j$ and $b_j$ are the leaves of the $j^{th}$ tree. In what follows, and in consistency with Chipman2010, we set $N=250$ in all our empirical applications.
These binary trees are constructed by considering splitting rules of the form $\lbrace \bm X \in \mathcal{A}_{jk}\rbrace$ or $\lbrace \bm X \not\in \mathcal{A}_{jk}\rbrace$ with $\mathcal{A}_{jk}$ being a partition set. These rules typically depend on selected columns of $\bm X$, denoted as $\bm X_{\bullet j}~(j=1, \dots, K)$, and a threshold $c$. The set $\mathcal{A}_{jk}$ is then defined by splitting the predictor space according to $\lbrace \bm X_{\bullet j} \le c \rbrace$ or $\lbrace \bm X_{\bullet j} > c \rbrace$.
The step function $g$ is constant over the elements of $\mathcal{A}_{jk}$:
Hence, the set $\mathcal{A}_{jk}$ defines a tree-specific unique partition of the covariate space such that the function $g$ returns a specific value $\mu_{jk}$ for specific values of $\bm x_t$.
To avoid overfitting, the trees are encouraged to be small (i.e. take a particularly simple form) and the terminal node parameters to be shrunk to zero. If the first tree, $g(\bm{x}|\mathcal{T}_1,\bm{m}_1)$, is a weak learner and fitted in a reasonable way, the corresponding tree structure will be very simple and elements in $\bm{m}_1$ will be pushed towards zero. This implies that the first tree will explain a small fraction of the variation in $\bm y$. Subtracting $g(\bm X| \mathcal{T}_1, \bm{m}_1)$ from $\bm y$ yields a new conditional model with transformed $\tilde{\bm y} = \bm y - g(\bm X| \mathcal{T}_1, \bm{m}_1)$ and then the next tree will be fitted with $\bm y$ being replaced by $\tilde{\bm y}$. This procedure is repeated for a sufficiently large number $N$ of trees until the fit of the additive model becomes reasonably good.
We illustrate BART using a simple example. In this simple example, we first focus on a single regression tree model (i.e. $N=1$). The case of several regression trees is considered afterwards.
The second example shows how flexibility is increased by adding more trees and illustrates how BART handles non-linearities in a flexible manner. In particular, each regression tree is a simple step-wise function and when we sum over the different regression trees, we gain flexibility. The resulting additive model essentially allows for approximating non-linearities without prior assumptions on the specific form of the non-linearities.
In this section we generalize the model outlined in the previous section to the multivariate case. Consider a $M$-dimensional vector of endogenous variables $\bm y_t = (y_{1t}, \dots, y_{Mt})'$. Stacking the rows yields a $T \times M$ matrix $\bm Y = (\bm y_1, \dots, \bm y_T)'$. We assume that $\bm Y$ depends on a $T \times K$ matrix $\bm X = (\bm X_1, \dots, \bm X_T)'$ with each $\bm X_t = (\bm y'_{t-1}, \dots, \bm y'_{t-P})'$ being a $K(=PM)$-dimensional vector of lagged endogenous variables. The BAVART model is then given by:
or in terms of full-data matrices:
with $\bm \varepsilon = (\bm \varepsilon_1, \dots, \bm \varepsilon_T)'$ denoting a $T \times M$ matrix of shocks with typical $t^{th}$ row $\bm \varepsilon_t \sim \mathcal{N}(\bm 0_M, \bm \Sigma)$. For the moment, we assume that the error variance-covariance matrix $\bm \Sigma$ is time-invariant.
In \hyperref[{BAVART_stacked}]{Eq. (\ref*{BAVART_stacked})} , $F$ is defined in terms of equation-specific functions $f_j(\bm{X})$:
Similarly to the standard BART specification, we approximate each $f_j~(j=1, \dots, M)$ through a sum of $N$ regression trees:
Here, $g_{jk} ~(k=1,\dots, N)$ denotes an equation-specific step function with arguments $\mathcal{T}_{jk}$ and $\bm m_{jk}$. As before, the individual tree structures $\mathcal{T}_{jk}$ are associated with a $b_{jk}$-dimensional vector $\bm{m}_{jk} = (\mu_{jk, 1}, \dots, \mu_{jk, b_{jk}})'$ of {terminal} node coefficients associated with $b_{jk}$ denoting the number of leaves per tree in equation $j$. Notice that both the tree structures and the terminal node parameters are now specific to equation $j$. The main difference to the model illustrated in Section (ref) is that we approximate $M$ different functions $f_j$. This implies that if certain elements in $\bm y_t$ depend linearly on $\bm X_t$, then our flexible multivariate specification can pick this up.
In what follows, we will estimate the BAVART model by exploiting its structural form. Using the structural form of the VAR to speed up computation has been done in several recent papers Carriero2019, huber2020inducing. This implies that \hyperref[{BAVART_stacked}]{Eq. (\ref*{BAVART_stacked})} can be written as follows:
whereby $\bm A_0$ denotes a $M \times M$-dimensional lower triangular matrix with $\text{diag}(\bm A_0) = (1, \dots, 1)'$ and $\bm \epsilon = (\bm \epsilon_1, \dots, \bm \epsilon_T)'$ is a $T \times M$ matrix of orthogonal shocks with $\bm \epsilon_t \sim \mathcal{N}(\bm 0_M, \bm H)$. $\bm H$ denotes a $M \times M$-dimensional diagonal matrix with the variances on its main diagonal. This implies that $\bm \Sigma = \bm A_0 \bm H \bm A'_0$.
Conditional on $\bm A_0$, this form permits equation-by-equation estimation since the shocks are independent. This leads to enormous computational gains. Notice that the $j^{th}>1$ equation can be written as:
Here, $\bm y_{\bullet j}, \bm \varepsilon_{\bullet l}$ and $\bm \epsilon_{\bullet j}$ refers to the $j^{th}$ or $l^{th}$ column of $\bm Y, \bm \varepsilon$ and $\bm \epsilon$, respectively. $a_{jl}$ denotes the $(j,l)^{th}$ element of $\bm A_0$.
Notice that \hyperref[{BAVART_equation}]{Eq. (\ref*{BAVART_equation})} is a generalized additive model that consists of a non-parametric part $\left(\sum_{k=1}^N g_{j k}(\bm X| \mathcal{T}_{j k}, \bm m_{j k})\right)$ and a regression part $\left(\sum_{l=1}^{j-1} {a}_{jl} \bm \varepsilon_{\bullet l}\right)$. For $j=1$, the model reduces to a standard BART specification without the regression part.
The key idea behind this formulation is that, for a sufficiently large number of trees, we approximate non-linear relations between $\bm y_t$ and its lags while allowing for linear relations between the contemporaneous values of $\bm \varepsilon_t$. These linear relations determine the covariances and are of vital importance for the identification of structural shocks.
Up to this point we assumed the error variance to be constant. If the researcher wishes to relax this assumption, several feasible options exist. In a recent paper, Pratola2019 propose a combination of a standard additive BART model with a multiplicative BART specification to flexibly control for heteroscedasticity. But modeling heteroscedasticity with BART implies that we need some information on how the volatility of economic shocks depends on additional covariates (which potentially differ from $\bm X$). As a simple yet flexible solution we adopt a standard stochastic volatility (SV) model. SV models are frequently used in macroeconomics and finance and have a proven track record for forecasting applications clark2011real, clark2015macroeconomic.
Our SV specification assumes that $\bm H$ is time-varying:
with the time-varying variances $e^{h_{jt}}$. We assume that the $h_{jt}$'s follow an AR(1) model:
Here, $c_j$ is the unconditional mean, $\rho_j$ is the persistence parameter and $\sigma_{j h}^2$ is the error variance of the log-volatility process. This specification essentially implies that, if $\rho_j$ is close to one, the log-volatilities evolve smoothly over time and tend to be persistent.
For macroeconomic and financial data, using SV has been shown to greatly increase forecast accuracy. It is moreover worth noting that using SV entails a much more flexible error distribution than the one used in, e.g., Chipman2010. Hence, coupling the BAVART model with a stochastic volatility component yields a model which allows for flexible adjustments of the conditional mean while also being flexible on the error variances. In our empirical work, the models considered feature stochastic volatility of this form.
The Bayesian approach calls for the specification of suitable priors over the parameters of the model. Here we mainly follow the different strands of the literature our approach combines. In particular, we focus on the priors associated with the trees $\mathcal{T}_{jk}$ and the terminal node parameters $\bm m_{jk}$ for $j=1,\dots, M$ and $k=1, \dots, N$. We assume that the hyperparameters across priors are the same for each equation. On the covariances we use the Horseshoe prior carvalho2009handling.
For each equation $j$, the joint prior structure is given by:
At this level, the prior implies independence between $p\left((\mathcal{T}_{j1},\bm{m}_{j1}) \dots, (\mathcal{T}_{jN},\bm{m}_{jN})\right)$ and the remaining model parameters. Chipman2010 further introduce the following factorization:
implying that the tree components $(\mathcal{T}_{jk},\bm{m}_{jk})$ are independent of each other and of the remaining parameters while the prior on $\bm{m}_{jk}$ depends on the tree structure. This prior structure allows for integrating out $\bm m_{jk}$ from the posterior of the trees and thus greatly simplifies computation.
The prior on the tree structure is specified along the lines suggested in Chipman1998 and Chipman2010. Specifically, instead of constructing a prior on the trees directly we construct a tree generating stochastic process that consists of three steps to grow trees. Let $s=0$ be the first iteration of this tree generating process. Then the following steps for constructing trees are used:
On the terminal node parameter $\mu_{jk,q}$, we use a conjugate Gaussian prior distribution $\mathcal{N}(0,\sigma^2_{\mu})$, where $\sigma^2_\mu$ is set as follows:
with $\mathfrak{R}_j$ denoting the range of the endogenous variable in equation $j$ and $\tilde{s}$ denotes the number of prior standard deviations. This hyperparameter is set equal to $2$, implying that $\mu_{jk, q}$ will place around $95$ percent prior mass on the range of $\bm y_{\bullet j}$. One key property of this prior is that it increases with $\mathfrak{R}_j$. This implies that if outliers in $\bm Y$ are observed, the range increases and the prior becomes looser. By contrast, it decreases in the number of trees, implying that if $N$ is large, the terminal node parameters associated with a given tree will be strongly pushed towards zero. This is consistent with the notion that we aim to use a composite models of many weak learners as opposed to having a small to moderate number of complex trees.
For the free elements in $\bm A_0$, we introduce a Horseshoe prior on each element of $\bm{a}_j = (a_{j1},\ldots,a_{jj-1})'$. This prior consists of local scaling parameters $\tau_{jl}$ which are specific to each covariance parameter $a_{jl}$ and a global shrinkage parameter $\lambda$ which pushes all covariances towards zero. The Horseshoe prior on the covariances is given by:
where $j=1, \dots, M; l=1,\ldots,j-1$ and $\mathcal{C}^{+}$ denotes the half-Cauchy distribution.
The prior specification on the parameters of the log-volatility equation follows the setup proposed in Kastner2014. In details, we use a zero mean Gaussian prior with variance $10^2$ on the unconditional mean $c_j$, a Beta prior on the (transformed) persistence parameter, $\frac{\rho_j+1}{2} \sim \mathcal{B}(25,5)$ and a Gamma prior on the error variance of the log-volatility process $\sigma_{j,h}^2 \sim \mathcal{G}(1/2,1/2)$.
These priors can be combined with the likelihood to yield a joint posterior distribution over the coefficients and latent states in the model. To simulate from this joint posterior distribution we adopt an MCMC algorithm. This algorithm simulates all quantities in an equation-specific manner. Since all steps necessary are standard, we only provide an overview. Appendix (ref) provides more detail on sampling the trees. Here it suffices to say that we sample all quantities related to the trees (i.e. $\mathcal{T}_{jk}, \bm m_{jk}$ for all $j, k$) using the algorithm outlined in Chipman2010. The latent states and the coefficients associated with the state equation of the log-volatilities are obtained through the efficient algorithm discussed in Kastner2014. Conditional on the trees and log-volatilities, the posterior of $\bm a_j$ is multivariate Gaussian and takes a standard form since the resulting conditional model is a linear regression model with heteroscedastic shocks. Finally, the parameters of the Horseshoe prior are simulated using techniques outlined in makalic2015simple which involve sampling from inverse Gamma distributions (conditional on introducing auxiliary shrinkage parameters) only.
In this section, we illustrate the predictive capabilities of the BAVART model. After providing an overview of the dataset, the model specification and the design of the forecasting exercise adopted, our focus will be on how well our approach works when applied to US yield curve data.
In this section, we briefly discuss the two datasets adopted. For our forecasting application, we use data on the nominal yield curve which is close to the dataset proposed in gurkaynak2007us. These are downloaded from the website of the Federal Reserve Board (\href{https://www.federalreserve.gov/data/nominal-yield-curve.htm}{https://www.federalreserve.gov/data/nominal-yield-curve.htm}) and range from June 1961 to December 2019. The maturities included are $1, 3, 5, 7, 10$ and $15$ years and we will consider changes in the interest rates. We will then use the period from June 1961 to June 2006 as our initial training sample. This allows us to compute forecast distributions for July 2006. We then move on to expand this estimation period by one month until we reach the end of the full sample. This procedure yields a sequence of 160 predictive distributions which we then evaluate using the observed outcomes.
We consider two approaches of modeling the term structure of interest rates. Due to its empirical success, we use the three-factor Nelson Siegel (NS) model, originally proposed in nelson1987parsimonious, and combined with a VAR state evolution equation on the factors in diebold2006forecasting. The NS model assumes that the yield at maturity $\varpi$, $i_t(\varpi)$, depends on three latent factors as follows:
whereby $\mathcal{L}_t, \mathcal{S}_t$ and $\mathcal{C}_t$ denote a level, slope and curvature factor, respectively. Moreover, $\gamma$ is a parameter which shapes the factor loadings. Consistent with diebold2006forecasting we set $\gamma = 0.0609$. This value maximizes the factor loadings on $\mathcal{C}_t$. The three factors are then obtained on a $t$-by-$t$ basis using OLS estimation. The NS model sets $\bm y_t = (\mathcal{L}_t, \mathcal{S}_t, \mathcal{C}_t)'$ and assumes it to evolve according to a multivariate dynamic model (such as our BAVART specification). Predictions of $\bm y_t$ are then mapped back using (ref).
The second approach follows carriero2012forecasting and models the $M=7$ yields directly in a VAR. This approach is thus less parsimonious but also more flexible since it essentially allows for maturity-specific idiosyncrasies.
For these two approaches, we benchmark the BAVART model against several linear and non-linear competing models. The first model we consider is a time-varying parameter (TVP) VAR with a Normal-Gamma shrinkage prior on the state innovation variances huber2020inducing. Since the period of the zero lower bound (ZLB) is a dominant source of non-linearities in yield curve data, we estimate non-linear models that assume a dependence between the parameters of the model and the lagged short-term interest rate (in our case the one-year yield). This gives rise to the second model which is an interacted VAR (IVAR) that introduces interaction effects between the first lag of the short-term interest rate and the remaining model parameters caggiano2017estimating whereas the third model is a smooth transition VAR (STVAR) which assumes that coefficients evolve slowly between two regimes gefang2009nonlinear, auerbach2012measuring. Fourth, we consider a Bayesian threshold VAR (TVAR) which assumes that coefficients change if the (first lag) of the short-term interest rate passes a threshold to be estimated alessandri2017financial, huber2019threshold. All these models are estimated using a Horseshoe prior on the VAR coefficients and benchmarked against a constant parameter NS -VAR equipped with a Minnesota prior and stochastic volatility. Moreover, we include $P=2$ lags of the endogenous variables in all models considered.
Before discussing the results of the forecast exercise, the question on how to compute the predictive distribution naturally arises. Producing one-step-ahead forecasts is computationally easy since conditional on the tree structures, splitting values and splitting covariates it is straightforward to compute a prediction for $\bm y_{T+1}$. More precisely (and with a slight abuse of notation), the one-step-ahead predictive distribution is given by:
where $\bm y_{1:T}$ denotes the full history of $\bm y_t$ and $\bm \Xi$ is a generic notation that summarizes all parameters and latent states (i.e. the tree structures, terminal nodes, log-volatilities etc.). This integral is solved numerically through Monte Carlo integration.
The conditional density $p(\bm y_{T+1}| \bm y_{1:T}, \bm \Xi)$ is:
with $\tilde{\bm \Sigma}_{T+1|T}$ is a random draw obtained by using (ref) to predict the log-volatilities and using these predictions to form $\bm H_{T+1|T}$. Higher order forecasts are then computed iteratively by first simulating from the one-step-ahead predictive distributions to obtain a prediction for $\bm y_{T+1}$. We label this draw $\bm \tilde{\bm y}_{T+1}$. $\tilde{\bm \Sigma}_{T+2|T}$ is again computed by exploiting (ref). This allows us to draw $\tilde{\bm y}_{T+2}$ from:
We repeat this procedure until we have a prediction $\bm y_{T+o}$ with $o$ denoting the desired forecast horizon. In what follows, we will consider $o=1$ and $3$-steps-ahead forecasts.
The point (i.e. median forecasts) and density predictions are then evaluated by using relative mean squared forecast errors (MSFEs) and the continuous ranked probability score (CRPS), respectively. The MSFEs allow us to gauge the quality of point forecasts while the CRPS is used to also take into account higher order moments of the predictive distribution. All results are benchmarked against the NS-Minnesota VAR.
The findings of our forecasting exercise are summarized in heatmaps depicted in Figures (ref) and (ref). If a given model is performing worse than the benchmark VAR, the corresponding cell will become red (i.e. a relative MSE/CRPS score exceeding unity) while if a given model outperforms the benchmark the corresponding cell will be green (with relative scores being below one).
Our forecasting horse race draws a rich picture of relative model performance. We consider models of different sizes (namely the NS variants and the ones that use the selected yields exclusively), priors, assumptions on the conditional mean, and forecast horizons. Besides, we consider both point and density forecasts.
Starting with one-month-ahead point forecasting accuracy, depicted in (ref), we observe that the set of competing models improves upon the benchmark VAR. But these improvements are rather small and mostly concentrated towards the short-end (i.e. maturities shorter than seven years) of the yield curve. For this yield curve segment, there is no clear picture emerging on whether using the NS factor model or jointly modeling the different maturities improves upon the other. For some models, the NS variant yields slightly smaller MSE ratios than the unrestricted model (e.g. our BAVART model or NS-TVP), whereas for other models, unrestricted modeling of the maturities yields more precise point forecasts (e.g. the IVAR and the TVAR).
The relative performance of our proposed BART-based model increases with the maturity. For shorter maturities, we find that BAVART performs well but in most cases is outperformed by one of the competing models (such as the NS-TVAR for one-year bonds and the NS-TVP for the three-year bonds). When we consider bonds with maturities larger or equal than five years the performance of the NS-BART model improves appreciably. These improvements reach 7% for 10-year government bonds and 9% for 15-year government bonds. Interestingly, these relative MSE ratios are always smaller than the ones we observe for the unrestricted BAVART model. We conjecture that the stronger performance of BAVART for bonds with longer maturities is mainly driven by the fact that these time series display more variation, especially after the global financial crisis. This is the period where the US Federal Reserve introduced unconventional monetary policy measures such as quantitative easing to push down the slope of the yield curve.
When we focus on the one-quarter-ahead forecasts we observe a great deal of light red and green cells on the right panel of (ref), indicating only small gains in predictive accuracy vis-\'{a}-vis the BVAR benchmark. Most models feature MSE ratios close to unity with accuracy gains ranging from around two to five percent (in the case of the NS-TVP model and for the one-year-ahead bond yield).
Considering only point forecasts implies that we do not factor in how well a given model predicts higher order moments of the predictive distribution. We now turn to discuss the accuracy of density forecasts. Figure (ref) shows that several of our competing models yield density forecasts which are slightly worse than the ones of the benchmark VAR for both forecast horizons. There are two exceptions to this pattern. First, we find that both versions of the BAVART and the TVP VAR yield precise density predictions for one- up to five-year yields (with the TVP VAR being better for one-year and three-year yields and the NS-BAVART outperforming all competitors for five-year yields). Especially for the short-end of the yield curve, these improvements are sizable (around 25% for the unrestricted TVP-VAR and 14% for the unrestricted BAVART). We conjecture that this stems from the fact that one-year yields display little variation during the period of the ZLB. In such a situation, the most flexible models in our pool (i.e. BAVART and the TVP VAR) quickly adjust both the parameters and the error variances and thus yields tighter predictive intervals centered around values close to zero. The other models lack this flexibility since all parameters in the system either change or display no/little change. Even though the signal variable is the short-term interest rate this potentially is a limitation and thus could negatively impact density forecasting accuracy.
Second, when we focus on three-months-ahead forecasts a similar picture emerges. The unrestricted BAVART and the TVP model work well at the short end of the yield (with sizable gains for one- and three-year yields in both cases). For higher maturities, and in contrast to the results shown in Figure (ref), we find relative CRPSs close to one, indicating that all models included have a hard time beating the benchmark VAR with SV.
To sum up, our forecasting exercise shows that the BAVART model works remarkably well for predicting the US term structure of interest rates. When we focus on point forecasts, the predictive gains of the BAVART model increase with the maturity of the bond. For density predictions, this story is reversed, indicating that both variants of the BAVART work well at the short-end of the yield curve.
We now turn to our application based on Eurozone data. The next sub-section provides a brief introduction to the dataset used while Sub-section (ref) shows some in-sample results. Sub-section (ref) deals with the question of how macroeconomic uncertainty impacts the Eurozone economy with a particular emphasis on the zero lower bound.
In the second application, we apply our BAVART model to analyze the effects of uncertainty shocks on macroeconomic outcomes. Several recent papers analyze this question using US datasets bloom2009impact, jurado2015measuring, caggiano2017estimating, Ramey2017, carriero2018measuring. Instead of focusing on US data, we apply our approach to monthly Eurozone data that ranges from January 1999 to January 2019. We opt for this dataset because the Eurozone economy underwent structural changes over this estimation period, multiple recessions and in general a challenging environment since the time series we consider are rather short.
The dataset we use is a selection of time series from the popular Euro Area Real Time Database (EA-RTD). We consider a medium-scale model that includes six macroeconomic and financial time series. These six time series are augmented by an uncertainty index (abbreviated as {UNC}) which is estimated using the approach outlined in jurado2015measuring. Apart from the uncertainty indicator, we include the (log) level Dow Jones Euro Stoxx 50 price index (DJE50), HICP inflation (C_OV), unemployment rate (UNETO), 3-month Euribor (EUR3M), industrial production (XCONS), and the yield on Euro area 10-year benchmark government bonds (10Y). We include one lag of the endogenous variables.\footnote{Using a single lag allows for simple inspection of several features of the model. Including more lags is straightforward but lags larger than one only rarely show up in the splitting rules and the impulse responses look very similar to the ones reported in the main body of the text.}
In this section, we illustrate key features of our BART-based approach using a subset of the dataset discussed in the previous section. Variable importance is gauged by considering the posterior median of the number of times a given quantity shows up in a splitting rule. These frequencies are shown in Table (ref). The columns refer to the different equations and the rows to the corresponding covariates.
A simple inspection of the main diagonal elements of the table reveals that the first, own lag of a given variable within the corresponding equation shows up frequently. This finding holds for all equations and resembles key results of the literature on Bayesian VARs which states that the AR(1) term explains most variation in $\bm y_t$. However, here it is worth stressing that our model is far from sparse, and also the lags of other variables seem to play a role in determining the dynamics of a given endogenous variable. The lags of other quantities in a given equation are also often included as splitting variables, indicating that we can not tell a simple story about some few elements in $\bm x_t$ exclusively shaping the dynamics of $\bm y_t$.
In this section, we illustrate how the BAVART model can be used to carry out structural inference. There is a broad body of literature dealing with the macroeconomic effects of uncertainty using non-linear models ferrara2018macroeconomic, mumtaz2018changing,alessandri2019financial,cuaresma2020fragility, paccagnini2020asymmetric, caggiano2017uncertainty. These papers all rely on parametric approaches and make rather strong assumptions on the nature of non-linearities. Our BAVART model, by contrast, introduces almost no restrictions and thus remains agnostic on the specific form of non-linearities in the transmission mechanisms.
Because of the highly non-linear nature of our model, we resort to generalized impulse response (GIRF) functions koop1996impulse. These impulse responses are computed as follows. Let $\bm \epsilon_t$ denote the $M$ structural shocks and $\bm s_j$ denotes a $M\times 1$ selection vector that equals $1$ in the $j^{th}$ position. Hence, $\epsilon_{jt} = \bm s'_j \bm \epsilon_t$ yields the $j^{th}$ structural shock. The GIRF to the $j^{th}$ structural shock is then defined as the difference between the forecast which assumes $\epsilon_{jt}=1$ (while setting the other shocks to zero) and the unconditional forecast (i.e. with $\bm \epsilon = \bm 0_M$) for a given forecast horizon. The posterior distributions of the GIRFs are computed by repeating this procedure during MCMC sampling. The structural shock is computed by setting $\bm H_t$ equal to the unconditional mean, i.e. $\bm H_t = \text{diag}(e^{c_1}, \dots, e^{c_M})$ and assuming that the uncertainty factor is ordered first.
To assess whether BART uncovers implicit non-linear relations consistent with the literature quoted above, we consider two experiments. The first assumes that the economy is hit by a one standard deviation uncertainty shock. The dynamic reactions of $\bm y_t$ are left unrestricted. This implies that the central bank is able to react to increases in uncertainty by lowering interest rates.
The second experiment asks how the reactions in $\bm y_t$ change if the economy is stuck at the zero lower bound (ZLB) and the central bank can not use conventional monetary policy tools. This second experiment is interesting because our BAVART model can use the information that the short-term interest rate is zero so that different branches of a given tree are effectively ruled out. For instance, consider a simple tree which has a root node with a decision rule that splits the observations according to whether the short-term interest rate is below one percent or greater than one percent. If we introduce the restriction that the interest rate is zero, the second branch of the tree (the above one percent interest rate branch) will play no role in constructing the impulse responses. Hence, only different configurations of the covariate space which are consistent with interest rates close to zero are being considered. The restriction that the short-term interest rate is at the ZLB is easily incorporated by zeroing out the forecast of the short rate.
Figure (ref) presents the dynamic responses to a one standard deviation uncertainty shock. The blue shaded area is the marginal posterior distribution of the IRFs, with solid orange lines denoting the $16 (25)$th and $75 (84)$th percentiles. The dotted red lines represent the $16$th and $84$th credible intervals of the impulse responses based on zeroing out the reaction of the short-term interest rate.
In general, we find that the IRFs closely resemble the ones reported in the literature bloom2009impact, jurado2015measuring, mumtaz2018changing. Focusing on the reactions of stock markets (DJE50), there is some limited evidence that equity prices decline. If interest rates are stuck at the ZLB, these declines are somewhat more pronounced and appear to peak slightly later.
Considering the dynamic responses of short-term interest rates (EUR3M) reveals that after a month, short rates decrease appreciably. This decline in interest rates peaks after about two months and reaches around 100 basis points. In economic terms, the negative reaction of short-term interest rates is likely induced by expansionary monetary policy measures undertaken by the central bank. Notice that in the presence of the ZLB, we assume no interest rate reaction at the short-end of the yield curve.
Turning to inflation reactions (C_OV) suggests that prices tend to fall after about six months. This decline in inflation is consistent with a negative demand channel which implies that firms lower prices in response to a decline in aggregate demand bloom2009impact. When the economy is stuck at the ZLB, we observe somewhat stronger but insignificant inflation reactions. These responses are consistent with caggiano2017estimating who also find more pronounced but insignificant inflation responses if short rates hit the ZLB.
The unemployment rate (UNETO), with a lag of around two to three months, increases and remains elevated for several months before turning insignificant. This increase in the unemployment rate is consistent with jurado2015measuring and carriero2018measuring who, for US data, find similar unemployment responses. One interesting finding is that the unemployment responses in the presence of the ZLB are similar in magnitude but tend to peter out faster and thus are more short-lived than the ones if interest rates are allowed to react freely. It is noteworthy that the impulse responses are very similar over the first four to five months and then depart from each other.
When we consider industrial production (XCONS) we observe a sluggish decline which peaks at around minus five percent in the second month and then, after around six months the reactions of real activity turn insignificant. Interestingly, we do not observe a rebound in real activity arising from a ”wait-and-see" mechanism reported in, e.g., bloom2009impact. gieseck2016impact, for Eurozone data, find similar responses for GDP which are also rather short-lived and do not display a substantial real activity overshoot. When we assume that the ZLB is binding, the reactions of industrial production become more pronounced, which is consistent with other findings who report that if interest rates hit zero, real activity reacts stronger to uncertainty shocks caggiano2017uncertainty. Finally, long-term interest rates display no statistically significant reaction throughout the impulse response horizon.
To sum up, a key take away from this exercise is that our BAVART model is capable of producing meaningful impulse responses which are consistent with the literature. Without introducing any assumptions on the specific form of non-linearities but in the presence of the ZLB, our BAVART specification yields impulse responses that are consistent with papers that assess how the uncertainty -- real activity nexus changes if the central bank is constrained by the ZLB.
VAR models assume that the lagged dependent variables influence the contemporaneous values in a linear fashion. In this paper, we relax this assumption by blending the literature on BART models and VARs. The resulting BAVART model can handle arbitrary non-linear relations between the endogenous and the exogenous variables. Our proposed model is, moreover, capable of handling stochastic volatility in the shocks. As opposed to existing models which make strong assumptions on the nature of non-linearities, our model remains agnostic and allows to estimate these forms in a data-based manner. To make the model operational, we briefly discuss Bayesian estimation but also show how to compute multi-step-ahead forecasts and generalized impulse responses.
We illustrate our approach using two topical applications. In the first application we apply the model to the US term structure of interest rates. Using several linear and non-linear competing models and different ways of modeling the yield curve, we show that our BAVART model yields precise point and density forecasts. The point forecasting accuracy differences become larger with the maturity of a given bond. An opposite picture emerges when the full predictive distribution is used: in that case, forecast gains can be mostly found at the short-end of the yield curve.
The second application deals with the effects of uncertainty on the Eurozone economy. To investigate the role of the ZLB on interest rates, we consider impulse responses which restrict interest rate reactions to zero and compare these to their unrestricted counterpart. The findings indicate that uncertainty has a detrimental effect on macroeconomic outcomes. Unemployment increases, prices fall, stock markets decline and industrial production drops markedly. In general, these reactions are similar to other findings in the literature which mainly focus on US data. When we assume that interest rates are stuck at the ZLB, real activity responses become somewhat more elevated. Especially for output, we observe much stronger responses if the central bank is not able to react adequately.
There are many possible avenues for further research and possible applications of our model. For instance, the model can be used to track asymmetries in the transmission of economic shocks. Or it could be applied to high-frequency financial data such as daily stock returns and then combined with a heavy-tailed error distribution to produce precise density forecasts. From an econometric perspective, BART could be used to model time-variation in regression coefficients and thus generalize TVP regressions which assume a random walk evolution on the latent states.
\setcounter{table}{0} \setcounter{figure}{0} \setcounter{equation}{0}