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.
59,785 characters · 11 sections · 95 citation commands
The Time-Varying Multivariate Autoregressive Index Model
The availability of large datasets and instability of the economy has changed the nature of economic models. Time-varying parameter models are developed to capture the ever-changing economic environment. For example, CS2002 use a small VAR with time-varying coefficients, that follow a random walk dynamic (TVP-VAR), to detect features such as coefficient drift of the inflation-unemployment dynamics. Contributions on small TVP-VAR include CMS2005, CogleySargent(2005), Primiceri2005 and dAgostinoGambettiGiannone2013.\newline The abundance of large data sets with macroeconomic variables has called for the development of larger TVP-VAR models. Motivated by the need for modelling instability in large systems, KK2013(KK, henceforth) develop a computationally efficient estimation methodology for Large TVP-VAR models with stochastic volatility (TVP-VAR-SV). When a large number of predictors is included in the VAR system, the computational burden increases significantly. KK operationalize the model by using forgetting factors (see RKE2010) and estimating the error covariance matrix dynamically using an exponentially weighted moving average (EWMA). Recently KK2013b extended the methodology to time-varying parameter factor augmented VAR with stochastic volatility (TVP-FAVAR-SV). Although the TVP-VAR-SV are overall easier to handle than TVP-FAVAR-SV in terms of the online estimation, it remains an open question if a small amount of common components might efficiently summarize the variation in the data for forecasting or economic analysis.\\ In this paper, we propose a new model that bridges TVP-VAR-SV and TVP-FAVAR-SV, with a new estimation strategy based on the results in KK. Specifically, to reduce the dimensionality, we draw from the recent developments in Multivariate Index Autoregressive (MAI) models, see CKM2016, CGH2017, CG2019, and CCM2020, among others. The MAI model, originally introduced by Reinsel1983, is a bridge between reduced-rank VARs (see CCM2015 and the references therein) and the Dynamic Factor Model (DFM, see SW2016, Lippi2019 and the references therein). On the one hand, it reduces the dimensionality by imposing a sort of reduced rank structure to the VAR, on the other, it allows for identifying few linear combinations of the variables, which are labelled as the indexes, whose lags are entirely responsible for the dynamics of the system.\newline Although the mathematical formulation of the MAI is similar to that of the DFM, an advantage of the former is that it does not require that the dimension of the system diverges to infinity in estimation. Hence, the MAI can be applied even to small or medium VARs. Moreover, the factor structure can be tested for and not simply imposed as in the DFM, and the estimation error of the indexes is explicitly accounted for, see CG2019 for further details.\\ The contribution of the paper is twofold. The first is to propose a MAI with time-varying parameters and stochastic volatility (TVP-MAI-SV). A second contribution of the paper is to develop approximate estimation methods for the TVP-MAI-SV which do not involve the use of Markov chain Monte Carlo (MCMC) such as in CCM2018 and CCM2019. To achieve this result we propose mixing the switching algorithm, see CGH2017, with forgetting factors in the same spirit of KK2013b.\\ Forgetting factors (also known as discount factors), have long been used with state-space models, see RKE2010. They do not require the use of MCMC methods and be useful in economic and financial applications, see DH2012, and GNS2014.\\ The new model is applied in two empirical applications. The first one is a variance decomposition on a large dataset composed of 215 time series. The analysis of economic uncertainty has a long history. A large literature investigates the relationship between uncertainty and growth by proving that both at the macro and micro level, uncertainty moves counter-cyclically: rising steeply in recessions and falling in booms. Evidence of counter-cyclical volatility is provided, among the others, for macro stock returns in ScW1989 for firm-level stock asset prices in Campal01, for consumption and income in SCA2004. Moreover, given the increase of uncertainty after major economic and political shocks and the recent 2008 financial crisis followed by the Great Recession, the interest of economists and policymakers become markedly focused on its effects on the economy. Moving from the seminal paper of Bloom2009 that provides a structural framework to analyse the impact of uncertainty shocks, more recent literature starts analysing and measuring the macroeconomic and financial uncertainty and its impact on macroeconomic variables (see among the others BES2013, CCG2014 and Jo2015).\% while AC2009 proved However, measuring uncertainty effect on macroeconomics is difficult as most macro variables move together over the business cycle. This co-movement may face challenging identification problems which are generally overcome by estimating uncertainty in a preliminary step and then evaluating its impact on macroeconomic variables. Uncertainty measure is included together with a small set of macroeconomic variables in a VAR model computing the responses of the macro variables to the uncertainty shock (see among others Bloom2009, CCG2014, BB2017, BES2013, JSN2015). The use of small VAR models, to assess the effects of uncertainty, can make the results subject to the common omitted variable bias and non-fundamentalness of the errors, besides providing results on the impact to just a few economic indicators. Differently from the previous literature, in line with CKM2016, we focus on measures of uncertainty based on the volatility and we apply our TVP-MAI-SV on 215 macroeconomic and financial variables. The log predictive likelihood ($\log$ PL) is used to select among the number of indexes that following CKM2016, GanBreu2010 and Gugl2016, are classified into 5 groups: Financial, Labour Market, Nominal, Prices, Real. We analyse how much volatility is explained by each index over time.\\ The second empirical application provides a forecasting exercise for three key macroeconomic variables, namely Real Gross Domestic Product (GDP), Consumer Price Index (CPI) and Effective Federal Funds Rate (IntRate). The point and density forecast evaluation show that the TVP-MAI-SV model has very promising out-of-sample properties compared with a set of univariate and multivariate competitors. In particular, the specification of the model with SV and constant parameters performs significantly well. This is in line with the results in CE2018 and CEHK2020\\ The rest of the paper proceeds as follows. Section (ref) presents the MAI model and introduces the new TVP-MAI-SV. Section (ref) discusses the new estimation approach. Section (ref) contains the empirical application. Finally Section (ref) draws some conclusions. All the derivations are reported in Appendix A and B.
Let $\mathbf{y}_{t}\equiv(y_{1,t},\ldots,y_{N,t})^{\prime}$\ denote the $N$-vector of the time series of interest. In the fixed parameter framework, it is assumed that variables $\mathbf{y}_{t}$ are generated by a stationary VAR of order $p$ (VAR$(p)$):
where $\Phi(L)=\sum_{h=0}^{p-1}\Phi_{h}L^{h}$ and $\mbox{\boldmath $\varepsilon$}_{t}$ are i.i.d. innovations with $\mbox{E}(\mbox{\boldmath $\varepsilon$}_{t})=0$, $\mbox{E}(\mbox{\boldmath $\varepsilon$}_{t}\mbox{\boldmath $\varepsilon$}_{t} ^{\prime})=\mbox{H}$ (positive definite) and finite fourth moments.\newline In order to reduce the number of parameters of model ((ref)), Reinsel1983 proposed to impose the following set of restrictions on the VAR mean parameters:
where $\omega$ is full-rank $N\times q\ $matrix with$\ q<N,$\ $\beta (L)=\sum_{h=0}^{p-1}\beta_{h}L^{h}$,\ and $\beta_{h}$\ is a $N\times q\ $matrix\ for $h=1,\ldots,p$.\newline The rationale underlying assumption ((ref)) is that the unrestricted VAR foresees $N$ linearly independent mechanisms by which past information is transmitted to the system. However, since it is commonly believed that few common shocks generate most of macroeconomic fluctuations, it is reasonable to assume that there is a reduced number of channels through which variables are influenced by their past. In other words, this is exactly what Equation ((ref)) states (see CKM2016 and CG2019 for further details).\newline Notice that Assumption in Equation ((ref)) is equivalent to postulating the following structure for series $\mathbf{y}_{t}$:
where $\mathbf{f}_{t}=\omega^{\prime}\mathbf{y}_{t}$. Reinsel1983 defines the $q$-dimensional series $\mathbf{f}_{t}=(f_{1,t},\ldots,f_{q,t})$ as the index variables and labels equation ((ref)) as the MAI model.\newline An interesting property of the MAI is that the indexes themselves have a VAR$(p)$ representation. Indeed, if we premultiply by $\omega^{\prime}$ both sides of equation ((ref)) we get \[ \mathbf{f}_{t}=\alpha(L)\mathbf{f}_{t-1}+\mbox{\boldmath $\epsilon$}_{t}, \] where $\alpha(L)=\omega^{\prime}\beta(L)$ and $\mbox{\boldmath $\epsilon$}_{t} =\omega^{\prime}\mbox{\boldmath $\varepsilon$}_{t}$. This feature is in sharp contrast with reduced rank VAR models, where linear combinations of the variables do not generally admit a finite order VAR representation, see CHP2009, and highlights the analogy between the role of the indexes in the MAI and the factors in DFMs.\newline Recently, there has been a renewed interest in the MAI, CKM2016 derived classical and Bayesian estimation of large MAIs and applied this modelling for structural analysis, CGH2017 proposed a multivariate realized volatility model that is endowed with an index structure. CG2019 extended the model by allowing for individual AR structures, and CCM2020 offered a MAI with stochastic volatility and provide MCMC estimation.\newline We extend the traditional MAI model allowing the variation in both the mean and variance equation, the TVP-MAI-SV takes the form:
where $f_{j,t}=\sum_{k=1}^{N}\omega_{k,j}y_{k,t}$, and $\mbox{\boldmath $\beta$}(L)_{j,t}$ is a polynomial $N-$vector of time varying coefficients that evolve as random walks for $j=1,\ldots,q$. \ Notice that, similarly in the literature on the TVP-FAVAR, we assume that the loadings of the indexes vary over time whereas the weights $\omega$\ remain stable. Finally the $\mbox{\boldmath $\varepsilon$}_{t}$ follows a multivariate stochastic volatility model given by $\mbox{H}_{t}$.\newline The model given in Equation (ref) is difficult to estimate with already existing methods, and to tackle this task we develop a new hybrid algorithm that is described below.
The estimation of model in Equation (ref) is based in a fast two-step algorithm which vastly reduces the computational burden. Subsection (ref) presents the state space representation of TVP-MAI-SV and briefly explains the related estimation issues. Subsection (ref) presents the new hybrid switching algorithm used to estimate the TVP-MAI-SV. Subsection (ref) describes model selection. All the derivations are reported in Appendix A.
The model in Equation (ref) can be casted in state space form as follows:
where $\mathbf{y}_{t}$ is the vector of observed time series at time $t$, $\mathbf{Z}_{t}=I_N \otimes (f_{1,t},\ldots, f_{q,t})$ is the stack of all the indexes depending on the unknown $\mbox{\boldmath $\omega$}$, $\mbox{\boldmath $\beta$}_{t}=(\beta'_{1,t},\ldots,\beta'_{q,t})'$ is an $Nq\times1$ vector containing the time varying $\mbox{\boldmath $\beta$}$s (states), which are assumed to follow a random walk dynamic. Finally the errors, $\mbox{\boldmath $\varepsilon$}_{t}$ and $\mbox{\boldmath $\eta$}_{t}$ are assumed to be mutually independent at all leads and lags and $\mathbf{H}_{t}$ features stochastic volatility.\\ The model in equation (ref) is used in a number of recent paper, see among others Primiceri2005, KoopLeonStrachan2009 and KK2012. Traditionally, it is estimated with both classical and Bayesian approaches. In the first case, the likelihood is efficiently calculated with the Kalman filter (KF) routine, see DurbinKoopman2001, and the time-varying parameters are automatically filtered as latent state variables, once that $\mbox{H}_{t}$ and $\mbox{Q}$ are estimated.\newline The Bayesian estimation method, which requires simulation based methods, such as the MCMC, involves the specification of $\mbox{H}_{t}$ and $\mbox{Q}$ together with the initial condition, $\mbox{\boldmath $\beta$}_{0\mid0}$, of the model parameters, for an introduction see Koop2003. Although Bayesian algorithms are reliable in this context, as recently discussed in CCM2018, they become computational intensive as the number of parameters increases and they become unfeasible when a large amount of models (e.g. different number of factors) have to be estimated.\newline To solve this issue we propose a new hybrid estimation technique, that uses the discount factor methodology proposed by RKE2010 and KK2012 (see Appendix A), to estimate $\mbox{\boldmath $\beta$}_{t}$ and $\mbox{H}_{t}$, and a switching algorithm to estimate $\mbox{\boldmath $\omega$}$.
The model in equation (ref), has both static ($\mbox{\boldmath $\omega$}$) and dynamic parameters ($\mbox{\boldmath $\beta$}_{t}$). Following CGH2017 and KK2013b we combines the ideas of variance discounting methods with the switching algorithm in order to obtain analytical results for the posteriors of the “indexes" ($\mbox{\boldmath $\beta$}_{t}$) as well as the static parameters ($\mbox{\boldmath $\omega$}$). The model also features stochastic volatility and the algorithm needs to take it into account in the $\mathbf{H}_{t}$. The $\mathbf{H}_{t}$ can be easily estimated using the EWMA filter.\newline The estimation starts from the same algorithm described in CGH2017 and introduces the time-varying parameters as follows:
Few comments are in order. The above algorithm offers several advantages over the available alternatives, including computational simplicity, no need of a normalization condition on the parameters $\mbox{\boldmath $\omega$}$, over-identifying restrictions can be easily imposed on $\mbox{\boldmath $\omega$}$ and optimization is explicit at each step. In order to speed up numerical convergence, it is important to take proper choices regarding various hyperparameters and initial conditions. As in KK2013b, we choose fairly non-informative priors. The initial conditions for the time-varying parameters $\mbox{\boldmath $\beta$}_{t}$ and the time-varying covariance $\mathbf{H}_{t}$ are set as follows: $\mbox{\boldmath $\beta$}_{0}\sim\mbox{N}(0,4)$ and $\mathbf{H}_{0} =\mbox{I}_{n}$. Finally the initial conditions for $\mbox{\boldmath $\omega$}$ are obtained from the eigenvectors that are associated with the first $q$ principal components of series $\mathbf{y}_{t}$.
The model discussed in Section (ref) is just one of the $\mathcal{M}$ possible models. Depending on the selection of several parameters (number of factors, forgetting factor, decay factor $\lambda$, time varying parameters $\mbox{\boldmath $\beta$}$), many models can be switched over time. Considering the $\mathcal{M}$ possible models equation (ref) can be written as follows:
where $\mathbf{Z}_{t}^{(k)}$ and $\mbox{\boldmath $\beta$}_{t}^{(k)}$ are, respectively, one of the possible set of indexes and time-varying parameters.\newline Looking at equation (ref) is clear that there are potentially a large number of models at each time point $t$. When faced with multiple models, it is common to use model selection or model averaging techniques, that in our framework have to be dynamic. More specifically in a model selection exercise, we want to allow for the selected model to change over time, thus doing Dynamic Model Selection (DMS). In a model averaging exercise, we want to allow for the weights used in the averaging process to change over time, thus leading to Dynamic Model Averaging (DMA). In this paper, we do both using the same approach of RKE2010, see Appendix A.\\ In DMS and DMA the main objective is to calculate $\pi_{t|t-1,j}$ which is the probability that model $j$ applies at time $t$, given information through time $t-1$. Once $\pi _{t|t-1,j}$ for $j= 1, \dots, J$ are obtained they can either be used to do model averaging or model selection. \newline DMS arises if, at each point in time, the model with the highest value for $\pi_{t|t-1,j}$ is used. Note that $\pi_{t|t-1,j}$ will vary over time and, hence, the selected model may switch over time. DMA arises if model averaging is done in period $t$ using $\pi_{t|t-1,j}$ for $j=1, \dots, J$ as weights. The contribution of RKE2010 is to develop a fast recursive algorithm for calculating $\pi_{t|t-1,j}$ that, given an initial condition: $\pi_{0|0,j}$ for $j=1, \ldots, J$, derives a model prediction equation using the forgetting factor $\alpha$: \[ \pi_{t|t-1,j} = \dfrac{\pi_{t-1|t-1,j}^{\alpha}}{\sum_{j=1}^{J}\pi _{t-1|t-1,j}^{\alpha}}, \] and a model updating equation of \[ \pi_{t|t,j} = \dfrac{\pi_{t|t-1,j}f_{j}(\mbox{y}_{t}|\mbox{y}_{1:t-1})} {\sum_{j=1}^{J}\pi_{t|t-1,j}f_{j}(\mbox{y}_{t}|\mbox{y}_{1:t-1})}, \] where $f_{j}(\mbox{y}_{t}|\mbox{y}_{1:t-1})$ is the predictive likelihood of model $j$. The $0<\alpha\leq1$ is a forgetting factor that tunes the frequency of switch between models occurred over time. Low values of $\alpha$ corresponds to a rapid switch, high values give the opposite. Naturally $\alpha= 1$ brings to the conventional Bayesian Model Averaging (BMA).\newline Finally, the initial condition is set to the equal probability $\pi_{0|0,j}=1/J, \hspace{0.1cm} \forall j$.
We use the new TVP-MAI-SV to carry out both a structural and a forecasting exercise.\newline Subsection (ref) presents the dataset considered in our study. Structural Analysis is described in subsection (ref). While, subsection (ref) discusses the forecasting exercise.
The quarterly data used in the paper are download from Fred-Database and they run from 1960:1 to 2019:4. Following CKM2016, GanBreu2010 and Gugl2016 and references therein, we classify the series into 5 groups: Real (RI), Nominal (NI), Labour Market (LMI), Prices (PI) and Financial (FI) indexes. A detailed description of all the 215 series as listed in each group are reported from Table (ref) to Table (ref) in Appendix B. All the variables are transformed to achieve stationarity and then standardized as specified in MCNg2020. \newline For the structural exercise we use all the 215 series, for the forecasting exercise we follow KK and we use a selection of 25 series. Those are highlighted in bold in the Tables (ref) to (ref) of Appendix B.
Following CCM2020 we carry out a variance decomposition analysis using the full dataset described in Appendix B. Before using the TVP-MAI-SV we proceed to select some of its key features such as: the number of indexes ranging from 1 to 5; different values for $\lambda = \{0.96, 0.97, \ldots, 1\}$; and $\kappa = \{0.94, 0.96, \ldots, 1\}$. This provides a total of 80 alternative specifications. Regarding the lag length we select 4 lags, see KK2013 and KMV2019b. We estimate all these specifications and rank them according to the $\log$ PL, as discussed in BCRvD2016 and computed as discussed in Appendix A.\\ Table (ref) provides results for the best 5 specifications together with the worst 5 specifications we found over the total 80 specifications we searched over. The table contains the number of factors and the values of $\lambda$ and $\kappa$ that uniquely identifies a specification. Looking at the table the best specification contains 5 indexes, $\lambda = 0.99$ and a $\kappa = 0.94$. This parameter combination features a $\log$ PL equal to 488.1631.
Figure (ref) reports the five estimated indexes.\\ Generally speaking, indexes capture accurately both the Oil crisis in 1970s and the Great Financial Crisis of 2008. In more detail, it is evident the effect of the first oil Crisis in 1973 in which prices increased 400%, is well captured by the pick of the related Price Index (PI) at the beginning of the recession period, followed by a decreasing effect in Real Index (RI), Nominal Index (NI) and above all Labour Market Index (LMI). Differently, at the beginning of 1979, the second shock evolved more slowly, as producers, led by the Organization of Petroleum Exporting Countries (OPEC), affirmed the concept of setting oil prices and establishing production quotas. Consequently, if we see an increase in the prices factor, the decreasing effect on the other components arrives later on in 80s. It is interesting that the financial crisis is well displayed by all the factors. Indeed, we appreciate an increase in the financial market associated with a large decrease of both real, nominal factors and an increase in prices. While we notice a slower decrease in the labour trend whose fully recovery seems to come long after.\\ The RI has a large volatility spike after the 1970s, observed in correspondence with the last Financial Crisis. The NI shows a smaller degree of time variation than the RI. The FI shows that financial uncertainty spikes during the recession with the Great Financial Crisis that dominates the others.
To analyse the explained volatility of each component we report in Figure (ref) the time-varying percentage shares of explain volatility by the idiosyncratic and common components. The Figure reports just the first series of Tables (ref) to (ref) in Appendix B.\newline Starting from the RI and the corresponding series GDP, it seems that the common component of volatility has increased its importance during 2000 with a big increase after the Great Recession. The fraction of volatility explained by the common component is much higher for the Nonfarm payroll, first series of LMI.\\ Moving to the FI and for the first series that is the Federal funds rate, the common component is quite high during the considered period. Interesting the percentage of common component change a lot with big increase in correspondence of the economic crisis.
This section provides the out-of-sample performance of the TVP-MAI-SV against a set of standard competitors.\newline In this exercise we consider the 25 major quarterly U.S. macroeconomic variables as discussed in KK. The series are reported in bold from Table (ref) to Table (ref) in Appendix B. We focus on empirical results relating to three variables: CPI inflation, GDP growth and the Federal Funds rate and refer to these as the main variables.\newline The forecasting exercise is performed using an expanding window with an initial estimation sample runs from 1960:Q3 to 1972:Q4. The model is then recursively estimated on a forecast windows of 183 quarterly vintages (forecasting windows start from 1973:Q1 through 2020:Q1).\\ Imposing simple restriction, the TVP-MAI-SV of equation (ref), encompasses some multivariate models:
In addition to the models discussed previously, Table (ref) reports all the competitive models considered in our forecasting analyses.\newline
The benchmark model is a TVP-VAR with four lags ($\mathcal{M} _{15}$), following KK, the optimal Minnesota shrinkage coefficient ($\gamma$) is set to 0.005. We also include VAR with 1 and 4 lags estimated using OLS, a DFM and a random walk process(RW).\\ The TVP-MAI-SV require to specify the number of indexes, and the values of $\lambda$, $\kappa$ and $\alpha$. We consider the $q = \{1, 2, 3\}$ indexes and a range of values for the forgetting factor, $\lambda\in\{0.97, 0.98, 0.99, 1\}$ covering from rapid coefficient change to no change. For the decay factor, we consider the grid of values $\kappa\in\{0.96, 0.98, 1\}$. The number of indexes and the values of $\lambda$, and $\kappa$ are selected dynamically using DMS or DMA, see Table (ref). We fix the $\alpha$ to 0.99, other values are possible and the results are available from the authors upon request.\newline We assess the performance of our forecasts accuracy in term of point and density forecast following the evaluation framework of CEHK2020. Let $y_{t} ^{*}$ denote the random variables being forecast and $\hat{y}_{t}$ be their realizations and the root mean squared forecast error (RMSFE) and mean absolute forecast error (MAFE) given by:
where $k = \{\mathcal{M}_{1}, \ldots, \mathcal{M}_{15}\}$ is the model set, $h = \{1, \ldots, H\}$ are the forecasting step ahead and $j = \{1, \ldots, 3\}$ are the main variables.\newline To evaluate the density forecasts, we use the average log-predictive likelihood (ALPL) as described in Korobilis2019 and CEHK2020 as a broadest measure of density accuracy, see also Geweke2005:
Table (ref) to Table (ref) report the ratios of each model's RMSFE and MAFE with respect to the benchmark model. Entries smaller (bigger) than 1 indicate that the given model yields forecasts that are more (less) accurate than those from the baseline. The Tables also report the ALPL relative to the benchmark model. Values of ALPL higher (lower) than 1 signify better (worse) performance than the benchmark.
With three different variables, eight different forecast horizons and two different forecast metrics, virtually every model can be found to do well for some cases, but several observations can be made.\newline First, TVP-MAI-SV is one of the best models for all the main variables, improving upon its counterparts (MAI, TVP-MAI, MAI-SV) especially at the short horizon.\newline Second, an important pattern emerges from the Tables. Adding SV to the MAI improve significantly the point and density forecast performances, this finding is in line with CCM2019. On all Tables the $\mathcal{M}_{7}$ and $\mathcal{M}_{8}$ models show worse performance than models $\mathcal{M}_{1}$, $\mathcal{M}_{2} $, $\mathcal{M}_{3}$ and $\mathcal{M}_{4}$. Moreover the $\mathcal{M}_{5}$ and $\mathcal{M}_{6}$ show the poor performance of TVP-MAI homoskedastic models.Tables (ref)-(ref) are a clear demonstration of the importance of allowing for heteroskedastic errors to get good RMSFE, MAFE and predictive likelihood.\newline One final point regards the usefulness of adding time-varying parameters in the MAI-SV. The Tables show that the two models have comparable point forecast performance, the TVP-MAI-SV has always better predictive likelihood.\newline Overall, the results show that the TVP-MAI-SV guarantees safe forecasting compared with the other competitors such as the TVP-VAR-SV (see KK) and more similar models like the TVP-FAVAR-SV as described in KK2013b.
Many economic variables features changing mean and volatility, TVP-VAR with stochastic volatility are commonly used to model those features. Starting from the recent MAI literature the paper introduces the TVP-MAI-SV that can handle large datasets. The paper introduces a new estimation methodology that substantially reduces the computational burden, and allows to select in real time, the number of indexes and other features of the data using DMS and DMA without further computational cost.\\ The paper proposes two empirical applications. The first provides a measure of uncertainty using the TVP-MAI-SV. We overcame endogeneity problems coming from the co-movement of macroeconomic variables by extracting a set of common unobservable factors representing the underlying aggregate uncertainty affecting the levels of the component variables. We get a rich set of volatility dynamics whose path provides interesting results in terms of common and idiosyncratic volatility changes.\\ The new switching algorithm, reduces the computational burden, allowing to apply to large databases (in our application we consider 215 series). From an economic point of view we were able to accurately capture both the Oil Crisis as well as the the Great Recession associated with much larger uncertainty shocks but no major changes in their effects on the economy.\\ The second empirical application shows the out-of-sample forecasting performance of the TVP-MAI-SV. Using both point and density forecast, we found that the TVP-MAI-SV model has good forecasting performance compared to a set of multivariate and univariate competitors.