Directed graphs and variable selection in large vector autoregressive models
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Bertsche, Dominik; Brüggemann, Ralf; Kascha, Christian Article — Published Version Directed graphs and variable selection in large vector autoregressive models Journal of Time Series Analysis Provided in Cooperation with: John Wiley & Sons Suggested Citation: Bertsche, Dominik; Brüggemann, Ralf; Kascha, Christian (2022) : Directed graphs and variable selection in large vector autoregressive models, Journal of Time Series Analysis, ISSN 1467-9892, John Wiley & Sons, Ltd, Oxford, UK, Vol. 44, Iss. 2, pp. 223-246, https://doi.org/10.1111/jtsa.12664 This Version is available at: https://hdl.handle.net/10419/287860 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. http://creativecommons.org/licenses/by/4.0/
JOURNAL OF TIME SERIES ANALYSIS J. Time Ser. Anal. 44: 223–246 (2023) Published online 14 August 2022 in Wiley Online Library (wileyonlinelibrary.com) DOI: 10.1111/jtsa.12664 ORIGINAL ARTICLE DIRECTED GRAPHS AND VARIABLE SELECTION IN LARGE VECTOR AUTOREGRESSIVE MODELS DOMINIK BERTSCHEaRALF BRÜGGEMANNb*AND CHRISTIAN KASCHAc aSWICA Health Insurance, Winterthur ZH, Switzerland bDepartment of Economics, University of Konstanz, Konstanz, Germany cS Rating und Risikosysteme GmbH, Berlin, Germany We represent the dynamic relation among variables in vector autoregressive (VAR) models as directed graphs. Based on these graphs, we identify so-called strongly connected components. Using this graphical representation, we consider the problem of variable choice. We use the relations among the strongly connected components to select variables that need to be included in a VAR if interest is in impulse response analysis of a given set of variables. Our theoretical contributions show that the set of selected variables from the graphical method coincides with the set of variables that is multi-step causal for the variables of interest by relating the paths in the graph to the coefficients of the ‘direct’ VAR representation. An empirical application illustrates the usefulness of the suggested approach: Including the selected variables into a small US monetary VAR is useful for impulse response analysis as it avoids the well-known ‘price-puzzle’. Received 15 June 2020; Revised 30 April 2022; Accepted 18 July 2022 Keywords: Directed graphs; impulse response analysis; multi-step causality; variable selection; vector autoregression. JEL. C32; C51; C55; E52. 1. INTRODUCTION Vector autoregressive (VAR) models are popular tools in the analysis of multiple time series to conduct structural analysis in form of an impulse response analysis. The popularity of the VAR model is at least partly due to the fact that it typically does not require strong economic theory assumptions. Often VAR models without any restrictions on the parameters are used to describe the joint dynamics of a set of economic time series. While the general VAR lag structure allows to uncover dynamic relations between the variables included in the system, the use of unrestricted VARs comes at a cost: The number of parameters to be estimated from the data increases with the square of the number of variables in the system. Even in moderately large VARs the degrees of freedom exhaust quickly. Thus, applied researchers have to choose the number of variables to be included in the VAR wisely. On the one hand, a researcher would like to include all relevant variables to avoid omitted variable bias and to get a complete picture of the underlying dynamics. On the other hand, including too many variables makes parameter estimates unreliable and estimation uncertainty may lead to rather uninformative results such as estimated impulse responses with very wide confidence intervals. Given variables of interest, our article suggests to use a graphical modeling approach to select a ‘minimal’ VAR containing only variables that are relevant to model the dynamics of the variables of interest. This approach is helpful in selecting the relevant variables for VAR analysis in a data-driven way. We argue that this is a useful addition to the toolbox of time series econometricians as on the one hand, it exploits the information from large dimensional data sets but on the other hand eventually uses smaller VAR models for structural analysis. ∗Correspondence to: Ralf Brüggemann, Department of Economics, University of Konstanz, Box 129, 78457 Konstanz, Germany. E-mail: [email protected] © 2022 The Authors. Journal of Time Series Analysis published by John Wiley & Sons Ltd. This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.
224 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA To fix ideas, suppose a researcher is interested in a set of variables denoted by yI, including say GDP growth, the consumer price (CPI) inflation, and a key interest rate. She wants to conduct an impulse response analysis for the variables in yI. For this purpose, she has to decide which variables to include from a large cross-section of available time series on, for example, output, income, consumption, the labor market, orders and inventories, money and credit, interest and exchange rates, financial market variables and various price measures.1 In recent years, suggestions have been made on how to include the information from a large dimensional data set into VARs. Factor-augmented VARs (FAVARs) (see e.g. Bernanke et al.,2005; Stock and Watson, 2016) condense the information from a large time series data set into a few factor time series, which are then included in a VAR model. Factor-augmented models have also been widely used for structural analysis.2Clearly, these models are only suitable if the underlying data has a factor structure, that is, if the large number of time series are really driven by a small number of common factors (see e.g. Uhlig, 2009 on this point). An alternative are large Bayesian VARs (BVARs) as suggested by Banbura et al. (2010).3In large dimensional settings, however, these models require to use a very tight prior. Consequently, using a large BVAR might impose more structure on the model than typical VAR users feel comfortable with. Other shrinkage methods have also been used for large VAR models, including the least absolute shrinkage and selection operator (LASSO) (see e.g. Kascha and Trenkler, 2015; Barigozzi and Brownlees, 2019).4The LASSO approach can handle large dimensional VAR models by setting some VAR coefficients to zero and at the same time shrinking the remaining coefficients. It is well known that LASSO may lead to biased estimates and recently, inference methods based on debiased estimators have been suggested (see e.g. Javanmard and Montanari, 2014; Van de Geer et al.,2014; Zhang and Zhang, 2014, and in the VAR context Basu et al. (2019) and Zheng and Raskutti (2019) with references therein).5We argue below that using an estimated LASSO-VAR directly for impulse response analysis may be daunting in large VARs because it complicates the economic interpretation of results. Consequently, the mentioned modeling approaches may not be ideal in some situations faced by applied time series econometricians. Researchers may also prefer to use smaller VARs because they are easier to interpret and resemble more closely small scale dynamic stochastic general equilibrium (DSGE) models used in macroeconomics. At the same time, the researcher would like to include additional ‘relevant’ variables that affect impulse responses for the variables of interest. Against the background of the large number of time series available today, this entails a variable selection procedure. Our article is concerned with the question of how to choose variables for the smallest (‘minimal’) VAR containing all variables that are ‘relevant’ for the impulse responses of variables of interest yI. In other words, we are suggesting a procedure on how to choose a suitable information set for a VAR modeling exercise. This consists of the following steps: In the first step, a data-driven model selection technique (e.g. LASSO) can be used to obtain a subset VAR. In the second step, we then use the subset VAR structure and concepts from graphical modeling to select those variables that need to be in a smaller VAR to capture all relevant information for the variables of interest. The final step of the procedure then consists of estimating and using an unrestricted VAR in all selected variables. The main novelty of this article is in introducing and theoretically analyzing the second step. The first contribution here is to use so-called strongly connected components (SCCs) and the relation among these components for variable selection. The concept of SCCs is well-established in the graphical modeling literature but to the best of our knowledge, this concept has not been used in econometrics. We first represent a sparse VAR structure as a directed graph with vertices and edges. From this graph we identify all SCCs by using a simple graphical modeling algorithm. We show how the SCCs and their connections to other SCCs are helpful in determining the variables 1Large data sets of this type have been used in various studies. See, for example, Stock and Watson (2003) or McCracken and Ng (2016) with references therein. They typically contain up to 130 variables. 2See, for example, Stock and Watson (2002), Ludvigson and Ng (2007), Eickmeier and Ziegler (2008), Ludvigson and Ng (2009), Stock and Watson (2012), Clements (2016) and Cheng and Hansen (2015) for applications of factor-augmented regressions and FAVARs. 3See, for example, Carriero et al. (2009,2012,2015), Giannone et al. (2014), and Koop (2013) for applications of this method. 4See also Stock and Watson (2012). 5Other theoretical properties like, for example, oracle inequalities for LASSO estimators in VARs are discussed in, for example, Basu and Michailidis (2015), Kock and Callot (2015), and Medeiros and Mendes (2016). wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 225 that need to be included in a VAR modeling exercise. Effectively, the set of relevant variables can be found from the graphical representation of the SCCs, known as a component graph. Thus, the first innovation of our procedure is to combine an existing method of the graph theoretic literature with the problem of variable selection for VAR analysis. For VAR practitioners this may be more useful compared to just using standard regularization techniques as a LASSO-VAR, since our method enables researchers to work with smaller VAR models, which may be easier to interpret from an economic point of view. In a second theoretical contribution, we show the relation between the SCCs and the concept of multi-step causality as in Dufour and Renault (1998). In particular, given the variables of interest yI, we show that a minimal VAR chosen by SCCs is identical to the VAR that contains yIand all variables that are multi-step causal for yI. Here we contribute to the literature by relating two existing concepts from the econometric and the graph theoretic literature. Methodologically, our article is related to the literature on using graphical models in econometrics. Following the work on causal analysis of multivariate data (see e.g. Lauritzen, 1996; Edwards, 2000; Pearl, 2000), graphical models have also been introduced for time series models. Brillinger (1996) and Dahlhaus (2000) are the first papers mentioning the use of graphical modeling for time series data and present concepts based on the partial correlation and partial spectral coherence.6Dahlhaus and Eichler (2003) introduce causality graphs based on the autoregressive representation. Our work is most closely related to the work of Eichler (2006,2007,2012), who shows the close relation of different causality concepts (Granger-causality and multi-step causality) to graphical representations in vector autoregressive models. We add to this work the link from causality structures to variable selection using the concept of strongly connected components.7 Our article is also related to the work of Jaroci´ nski and Ma´ ckowiak (2017), who also investigate the question of variable choice for VAR analysis, albeit with a different econometric approach. Based on the concept of Granger-causal priority (see Sims, 1982,2015; Doan and Todd, 2010), their paper evaluates in a Bayesian setup the posterior probability of Granger-causal priority. For a given set of variables of interest yI,Jaroci ´ nski and Ma´ ckowiak (2017) would drop a variable yj, say, if the variables in yIare likely to be Granger-causal prior to yj. Thus, their method may also be used to choose variables for VAR analysis. Shrinkage in the form of LASSO is also sometimes referred to as a variable selection technique. This approach typically involves shrinking individual VAR coefficients (but not deleting variables from the VAR system) and has been used in VAR models for forecasting and to estimate networks and measures of connectivity (see e.g. Davis et al.,2016; Medeiros and Mendes, 2016; Barigozzi and Hallin, 2017; Barigozzi and Brownlees, 2019). Our approach is different in the sense that we use a LASSO-VAR in the first part of our procedure only as an intermediate step to select the relevant variables. Our goal is to compute impulse responses. In contrast to the mentioned studies above, we do not base the final structural analysis on the large-dimensional VAR. Rather, in our setup the final choice of variables for the VAR analysis is based on the relation among the variables of interest and the SCCs. The structural (impulse response) analysis is then conducted within the smaller VAR containing only the selected variables. This may be preferred over using a large subset or LASSO-VAR because the smaller VARs can be better linked to theoretical macroeconomic (DSGE) models. Furthermore, in contrast to the other approaches, this allows for a detailed analysis of the transmission channels among (blocks of) variables and is therefore especially useful for understanding and interpreting the effects of economic shocks. Finally, while LASSO may be used in the first step to determine the subset VAR, it is important to note that other subset techniques can be applied as well. We illustrate the usefulness of our suggested variable selection approach in an application to US macroeconomic data. The variables of interest in yIare US output, CPI inflation and the federal funds rate, three variables often used in stylized three-variable VARs for the US. Given yI, we use our variable selection method based on SCCs to select a minimal VAR from 41 US time series for a period between 1975 and 2014. Starting point is a sparse VAR structure obtained from applying the LASSO to the large VAR. Regardless of the considered estimation period, six out of the 41 variables are always selected into the model and the selection is fairly stable over different samples 6See also Flamm et al. (2012) for an overview of different approaches. 7Graphical modeling has also been used for identifying the instantaneous relations. The first work in this area is the paper by Swanson and Granger (1997), followed by a number of studies that use graphical modeling for identifying structural VAR models (see e.g. Demiralp and Hoover, 2003; Hoover et al.,2009; Heinlein and Krolzig, 2012). J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
226 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA before the financial crisis in 2008/2009. Moreover, additional variables are selected into the model in a number of periods. Consequently, the ‘minimal VAR’ is still relatively large, indicating that the underlying relations are typically quite complex and may not be captured adequately in a three-variable VAR. We also find that including the selected variables into the VAR leads to more reasonable responses to a monetary policy shock, indicating that the selection is useful. The remainder of the article is structured as follows. Section 2shows how VARs can be represented as directed graphs. We also introduce the concept of strongly connected components and explain how this can be used for variable selection and for finding a ‘minimal VAR’. Section 3relates the graph-theoretical concepts to multi-step causality and shows how variable selection based on both concepts leads to the same set of relevant variables. In Section 4, we illustrate the usefulness of our method in an empirical application. Section 5concludes. All proofs are deferred to the appendix. 2. VECTOR AUTOREGRESSIVE MODELS, DIRECTED GRAPHS AND STRONGLY CONNECTED COMPONENTS We explain how VAR models can be represented by directed graphs. We then review the concept of SCCs in directed graphs. Finally, we explain how SCCs can be used for selecting relevant variables. This latter part provides a novel contribution to the econometrics literature since, to the best of our knowledge, the concept of SCCs has not yet been used in econometrics. We denote the VAR model of order p,aVAR(p)fortheK-dimensional time series vector yt=(y1,t,y2,t,…,yK,t)′ by: yt=A1yt−1+···+Apyt−p+ut,(2.1) where A1,…,Apare K×Kcoefficient matrices and utis a zero mean white noise disturbance vector with non-singular covariance matrix Σu. We have not included deterministic terms (e.g. intercepts) into the VAR in (2.1) to simplify the notation. Adding deterministic terms would not change the results discussed below and they can be included in empirical work. To make use of graphical modeling concepts, we represent the VAR in (2.1) as a directed graph. Following the standards in graphical modeling, a directed graph Gis described by a set of vertices Vand a set of edges E that are ordered pairs of vertices. In our application, the vertices correspond to the Kelements in vector ytand the edges are determined by the elements of the autoregressive matrices A1,…,Apas in the following definition (Eichler, 2007): Definition 2.1. (Directed VAR graph).Given a VAR(p) model as in (2.1), the associated directed graph is G= (V,E)with V={1,…,K}and (i,j)∈E⇔∃s∈{1,…,p}∶Aij,s≠0,(2.2) where Aij,sdenotes the element in row iand column jof As. Remark 2.1. In this graph, a directed edge (i,j)leads from vertex ito vertex j. This is standard in the graphical modeling literature. In our context, using this definition (i,j)∈Eimplies that the ith variable depends on the jth component in yt, however, the arrow would point from vertex ito vertex j. Thus, the direction of the arrows is reversed compared to the type of arrows sometimes used to denote (Granger-)causality. Given a sparse VAR structure, that is, a VAR with zero restrictions on the VAR coefficients, we may use the associated directed graph to learn about the set of relevant variables. We do so by using the notion of the SCCs in a graph (Tarjan, 1972). In order to define these, one makes use of the concept of a path or a pathway. A path is defined to be a sequence of vertices to go from one vertex to another. More formally, a path Pof length kleading from vertex uto u′in graph G=(V,E)is a sequence P=(v0,v1,…,vk)of vertices such that u=v0and u′=vk wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 227 and (vi−1,vi)∈Efor i=1,2,…,k. If there is a path from uto u′, we say that u′is reachable from u, denoted as uP ⇝u′. We may now define the strongly connected components of a directed graph: Definition 2.2. (Strongly connected components (Tarjan, 1972)).Let G=(V,E)be a directed graph and let two vertices uand vin Gbe equivalent if uP ⇝vand vP ⇝u,thatis,uand vare mutually reachable. Call the corresponding equivalence classes of vertices Viand let Ci=(Vi,Ei)where Ei={(u,v)∈E∶u,v∈Vi}for i=1,…,k. The subgraphs Ciare called the strongly connected components of G. Remark 2.2. Note that if we refer to SCC Ciin the following, we mean the corresponding set of vertices Vithat belongs to Ciin the sense of Definition 2.2. For example, if we write j∈Ci, we mean j∈Vi. Remark 2.3. Note that each vertex of graph Gbelongs to exactly one strongly connected component. Consequently, the set of all equivalence classes V1,…,Vkbelonging to the strongly connected components C1,…,Ck forms a partition of the set of vertices Vsuch that V=V1∪···∪Vk(see e.g. Duff and Reid, 1978). Remark 2.4. Following Tarjan (1972), a depth-first search algorithm may be used to compute the strongly connected components efficiently. We have implemented a variant of Tarjan’s algorithm using Matlab according to the exposition in Cormen et al. (2009). In the next step, we condense the information of the graph Gby moving from graph Gto a graph of the SCCs. The resulting graph is called a component graph, which is defined next. Definition 2.3. (Component graph).A component graph is defined as GSCC =(VSCC,ESCC),whereVSCC = {C1,…,Ck}is the set of strongly connected components of graph G. There is an edge (Ci,Cj)∈ESCC ⇔∃x∈ Ci∶∃y∈Cj∶(x,y)∈E. Remark 2.5. Definition 2.3 implies that there is only an edge (Ci,Cj)between two strongly connected components if the original graph Ghas a directed edge from one member of the SCC Cito a member of the SCC Cj. Remark 2.6. Duff and Reid (1978) suggest to order the SCCs such that there is no path from one strongly connected component to another later in the sequence, that is, the SCCs C1,…,Ckmay be ordered such that there is no path from Cito any Cjfor j>i. The associated reordered matrix of the graph is then lower block-triangular. Each block on the diagonal corresponds to one of the SCCs. In the context of economic applications, the structure of the SCCs may give additional insights on the relevance of different variables. Remark 2.7. The component graph may be viewed as a condensed view of the original graph. Essentially, the component graph collapses all edges of the original graph whose vertices are contained in the same SCC. Finally, for a given set of variables of interest, say yI⊆y,thatis,I⊆{1,…,K}, we would like to identify a ‘minimal’ set of variables which have to be taken into account when modeling yI. We denote this set of relevant variables as R(yI). For that purpose, we define the set RGSCC (Ci)as the set of all variables contained in SCCs that are reachable from Ciin GSCC (including Ci). Thereby, note that reachability in GSCC is defined analogous to G. That is, RGSCC (Ci)can be interpreted as the set of variables on which Ci‘depends’ and which have to be taken into consideration when modeling variables in Ci. We specify the ‘minimal’ VAR system in Definition 2.4. Definition 2.4. (Relevant variables).Given a subset of interest yI⊆y,theminimal VAR is a VAR composed of the series that are contained in the relevant SCCs given by: R(yI)∶= ⋃ {Ci∶yI∩Ci≠∅} RGSCC (Ci). Thereby, the set of variables that are reachable from SCC Ci(i=1,…,k)isdefinedas: RGSCC (Ci)∶= {yj∈y∶(j∈Ci)∨(∃l∈{ 1,…,k}∶j∈Cl∶Ci P ⇝Cl)}. J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
228 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA 𝑎11 00 𝑎13 𝑎21 00 𝑎24 𝑎21 00 𝑎33 𝑎42 𝑎43 0𝑎44 Figure 1. VAR matrix, associated directed graph, and component graph Remark 2.8. Definition 2.4 states that the minimal VAR is the one composed of the series in the SCCs which contain elements of yIand all SCCs that may be reached from these SCCs. We illustrate the graph theoretical concepts using a simple example, starting with a four-dimensional VAR(1) with coefficient matrix as shown on the left side in Figure 1.8The associated directed graph indicates that this system has two strongly connected components. The set of vertices of the first SCC C1consists of variables 1 and 3, that is, V1={1,3}, as vertex 1 may be reached from vertex 3 and vice versa. The set of vertices of the second SCC C2consists of variables 2 and 4, that is, V2={2,4}. Note that the vertices within each strongly connected component are mutually reachable (see Definition 2.2) and each variable (vertex) is contained in exactly one SCC (see Remark 2.3). Moreover, SCC C1is reachable from SCC C2but not vice versa. We may also illustrate Remark 2.6 as it is easy to see that we may reorder the variables such that a lower block-triangular matrix results. For this purpose, we order the SCC that has no leaving edges first. In our example, SCC C1containing the set of vertices V1={1,3}, has no leaving edges and is hence ordered first. The new ordering of variables is then (1, 3, 2, 4), which results in the following reordered VAR matrix: A∗=⎛⎜⎜⎜⎜⎜⎝ a11 a13 00 a31 a33 00 a21 0 0 a24 0a43 a42 a44 ⎞⎟⎟⎟⎟⎟⎠ =(A11 0 A21 A22), where the coefficients within matrix A∗still have their original names. Obviously, this matrix has the desired block-triangular form. After having grouped the variables according to the strongly connected components, we may now draw a corresponding component graph according to the partition of the matrix A∗. The resulting component graph is shown in the right panel of Figure 1. This component graph indicates that component C1may be reached from component C2but not vice versa. Consequently, if the variable(s) of interest are included in component C1, then the minimal VAR only includes the variables contained in C1but not those contained in C2.In contrast, if the variable(s) of interest are contained in C2, a corresponding VAR needs to include the variables from C2and in addition, the variables from C1as C1may be reached from C2. For instance, if the variable of interest is, for example, variable 3, then the VAR needed in structural analysis needs to contain all variables that are in the corresponding component C1. In our example, these are the variables 1 and 3. In contrast, if the variable of interest is variable 2, then we need to include all variables in C2and C1, that is, all four variables, in the VAR model. Similarly, we may find the minimal VAR from the component graph even if we have more than one variable of interest. In our example, if variables 1 and 3 are of interest, a VAR for just these two variables suffices as both variables form a strongly connected component (C1) and no other strongly connected component can be reached from C1.In contrast, if variables 2 and 4 are of interest, we need a VAR with all variables from C1and C2as C1may be reached from C2. In other words, we need all four variables. Now assume that variables 1 and 2 are of interest. Then again, 8To avoid cluttering of the graph, we exclude self-loops from the graphical representation. wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 229 we need to consider all variables from the strongly connected components that include variable 1 and variable 2, which in our example boils down to again using all variables since there are only the two components C1and C2. According to Definition 2.4 our procedure provides us with the minimal set of variables that should be included in a VAR used, for example, for impulse response analysis. In other words, we employ the graph theoretical concept of SCCs to select the VAR variables and view our procedure as a tool to choose the VAR information set in a systematic way. In the final step of our modeling approach, we therefore estimate a VAR using the selected variables R(yI). Note that on this step, we follow the standard practice in VAR modeling used for impulse response analysis and estimate a full VAR without any restrictions on the VAR coefficients. Consequently, we estimate the VAR in this final step by standard multivariate least squares. This simple post-selection estimation approach is similar in spirit to the approach in Belloni and Chernozhukov (2013).9A detailed flow chart illustrates the entire procedure in Appendix C. 3. ECONOMETRIC CAUSALITY CONCEPTS AND GRAPHS The graph theoretical concepts discussed in Section 2have a close relation to multi-step causality concepts in time series econometrics. In this section we explain how the two concepts are related and show that the set of variables selected for a minimal VAR by the SCC method as in Definition 2.4 of Section 2coincides with the set of variables that are multi-step causal for at least one of the variables of interest. The simple notion of Granger-causality (see Granger, 1969) is known to neglect any indirect effects and influences of ‘auxiliary’ variables as it is based on 1-step ahead predictability. Consequently, the original definition of Granger non-causality is not helpful in the context of variable selection. A more general causality concept that takes into account all indirect effects of auxiliary variables is known as multi-step causality and has been formally introduced into the literature by Dufour and Renault (1998).10 Informally, a subset yBof the variables causes another subset yAat a specific horizon hif the best linear forecast for yAat horizon hcan be improved by including the variables in yBin the information set. Dufour and Renault (1998) discuss necessary and sufficient conditions for non-causality at different forecast horizons h. Dufour et al. (2006) focus on developing corresponding multi-step non-causality tests in the context of VAR models. For our purpose, it is convenient to note that multi-step non-causality at different horizons may be formulated as linear exclusion restrictions on the so-called direct VAR model. For h≥1, we write this direct VAR model as: yt+h=Π (h) 1yt+···+Π (h) pyt−p+1+u(h) t+h,(3.3) where this representation is obtained by successive substitution from the VAR in (2.1). Dufour and Renault (1998) show that Π(0) 1=IK,Π(1) s=As,Π(h+1) s=As+h+∑h l=1Ah−l+1Π(l) s=Π (h) s+1+Π(h) 1Asand the MA(h−1) innovation term u(h) t+h=∑h−1 j=0Π(h) 1ut−j. Given sets of indices Aand B,letΠ(h) AB,sdenote the submatrix of Π(h) sconsisting of the intersection of rows with indices in Aand columns with indices in B.IfAand Bare singletons, say A={k},B={l}, we simply write Π(h) kl,s. We reproduce Theorem 3.1 of Dufour and Renault (1998) tailored to the regular, finite VAR case. Theorem 3.1. (Dufour and Renault (1998)).Given yA,yB⊆yand yis generated by a regular, finite-order VAR(p) as in (2.1), it is: yBhyA⇔∀s=1,…,p∶Π (h) AB,s=0, 9We point out, however, that this method ignores the uncertainty due to selection and standard inference confidence intervals for impulse responses may understate the true uncertainty somewhat. Accounting for selection uncertainty is left for future research. 10 The effect of intermediate variables have also been pointed out earlier by, for example, Lütkepohl (1993), Penm and Terrell (1986), and Sims (1980) but Dufour and Renault (1998) were the first who formalized the concept of multi-step causality in a general framework. J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
230 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA where 0 indicates a zero matrix of appropriate dimension. That is, yBdoes not cause yAat horizon hif and only if all the relevant coefficients in the direct VAR model for horizon hare zero. By definition, yBcauses yAat lag hif at least one of the parameter matrices in the above theorem is not zero. For some indices I, we denote by C(yI)the set consisting of the variables in yIitself and all variables that cause yI at any horizon in the above sense. When I is a singleton, say I ={i}, we write C(yi)instead. Formally, we define the causal variables in Definition 3.1. Definition 3.1. (Causal variables).Given yI⊆y, the set of variables that cause yIis given by: C(yI)∶= {yj∈y∶(yj∈yI)∨(∃h∈N∶yj→hyI)}. First, we investigate the case of a VAR with p=1. For this case, we show that the coefficients of the direct VAR representation Π(h) 1are related to the set of paths in the directed graph representing the VAR model. To show this, note that the direct VAR representation for p=1is: yt+h=Π (h) 1yt+u(h) t+h,with Π(h) 1=Ah 1for all h∈N.(3.4) By induction, each element Π(h) ij,1in Π(h) 1can be linked to the set of all paths that lead from the associated vertices i to jin hsteps. We state this result formally in Theorem 3.2. Theorem 3.2. Given two variables yi,yj∈yfollowing a regular VAR(1) as in (2.1), the entry at position (i,j), Π(h) ij , corresponds to the set of paths: P(h) ij ={P∶P=(e1,…,eh)∶∀k=1,…,h∶ek=(vk−1,vk)∈E,v0=i,vh=j},(3.5) leading from vertex ito vertex jfor all h∈Nin that: Π(h) ij =∑ P∈P(h) ij ∏ (l,m)∈P alm.(3.6) Proof. See Appendix A.1.◾ P(h) ij is the set of all paths of length hleading from vertex ito vertex j. Theorem 3.2 essentially states, that the coefficients of the direct VAR Π(h) ij can be written in terms of sums of products of autoregressive coefficients in A1, where the indices correspond to edges on different paths from ito j. To illustrate this, consider again our simple VAR(1) from Figure 1. In this example, there are two paths of length h=2 from variable 2 to variable 3, thus the set of paths is: P(2) 23 ={⟨(2,1),(1,3)⟩,⟨(2,4),(4,3)⟩}. Using the result from Theorem 3.2, we find for h=2, i=2andj=3: Π(2) 23,1=a21a13 +a24a43. Note that the indices of the VAR coefficients match with the edges of the path set P(2) 23 . Obviously, the same Π(2) 23,1 would be obtained from the direct VAR coefficient definition. At first sight, the result of Theorem 3.2 seems to imply that variable jwould be multi-step causal for variable i, whenever there exists at least one path from ito j.However,P(h) ij ≠∅does not imply that variable yjcauses yias wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 237 analysis is useful: In the small monetary system in output, inflation and interest rate, we find that including the selected variables avoids the so-called ‘price puzzle’. Overall, our empirical results suggest that using graphical modeling for variable selection is a useful addition to the VAR econometricians’ toolbox. The method complements existing methods for large data sets and is particularly useful if a researcher prefers to work with smaller scale models, for example, for maintaining consistency with small scale theoretical models. Moreover, compared to alternative methods for large data sets, a graphical representation of the strongly connected components may give useful insights on the (causal) relationships and the transmission channels among the VAR variables. Extensions of the current article could use graphical models for variable selection taking also the contemporaneous relationships among variables into account. Moreover, extending the approach to models with integrated and cointegrated variables would be of interest. We leave this for future research. ACKNOWLEDGEMENTS We thank participants of the SFB 649 final colloquium at Humboldt-University Berlin, of the University of Kiel Econometrics Seminar, the 2019 Annual Congress of the Verein für Socialpolitik and of the Conference on Computational and Financial Econometrics for useful comments on earlier versions of this article. Part of this research has been conducted while the first author was a doctoral student at the Department of Economics at the University of Konstanz, Germany and the third author was a postdoctoral research at the Department of Economics at the University of Zurich, Switzerland. Financial support by the Deutsche Forschungsgemeinschaft, Grant number BR 2941/3-1 is gratefully acknowledged. Open Access funding enabled and organized by Projekt DEAL. DATA AVAILABILITY STATEMENT The data that support the findings of this study are openly available by the Federal Reserve Economic Data at https://fred.stlouisfed.org/. REFERENCES Banbura M, Giannone D, Reichlin L. 2010. Large Bayesian vector autoregressions. Journal of Applied Econometrics 25:71–92. Barigozzi M, Brownlees C. 2019. NETS: network estimation for time series. Journal of Applied Econometrics 34:347–364. Barigozzi M, Hallin M. 2017. A network analysis of the volatility of high dimensional financial series. Journal of the Royal Statistical Society Series C – Applied Statistics 66:581–605. Basu S, Michailidis G. 2015. Regularized estimation in sparse high-dimensional time series models. The Annals of Statistics 43:1535–1567. Basu S, Das S, Michailidis G, Purnanandam A. 2019. A system-wide approach to measure connectivity in the financial sector. SSRN 2816137. Belloni A, Chernozhukov V. 2013. Least squares after model selection in high-dimensional sparse models. Bernoulli 19:521–547. Bernanke BS, Boivin J, Eliasz P. 2005. Measuring the effects of monetary policy: a factor-augmented vector autoregressive (FAVAR) approach. The Quarterly Journal of Economics 120:387–422. Brillinger DR. 1996. Remarks concerning graphical models for time series and point processes. Revista de Econometria 16:1–23. Carriero A, Kapetanios G, Marcellino M. 2009. Forecasting exchange rates with a large Bayesian VAR. International Journal of Forecasting 25:400–417. Carriero A, Kapetanios G, Marcellino M. 2012. Forecasting government bond yields with large Bayesian vector autoregressions. Journal of Banking and Finance 36:2026–2047. Carriero A, Clark TE, Marcellino M. 2015. Bayesian VARs: specification choices and forecast accuracy. Journal of Applied Econometrics 30:46–73. Cheng X, Hansen BE. 2015. Forecasting with factor-augmented regression: a frequentist model averaging approach. Journal of Econometrics 186:280–293. Christiano LJ, Eichenbaum M, Evans CL. 1999. Monetary policy shocks: what have we learned and to what end? .InHandbook of Macroeconomics, Vol. 1, Taylor JB, Woodford M (eds.). Elsevier, Amsterdam; 65–148, chap. 2. J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
238 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA Clements MP. 2016. Real-time factor model forecasting and the effects of instability. Computational Statistics and Data Analysis 100:661–675. Cormen TH, Leiserson CE, Rivest RL, Stein C. 2009. Introduction to Algorithms The MIT Press, Cambridge, MA, chap. 22. Dahlhaus R. 2000. Graphical interaction models for multivariate time series. Metrika 51:157–172. Dahlhaus R, Eichler M. 2003. Causality and graphical models for time series.InHighly Structured Stochastic Systems, Green P, Hjort N, Richardson S (eds.). Oxford University Press, Oxford; 115–137. Davis RA, Zang PF, Zheng T. 2016. Sparse vector autoregressive modeling. Journal of Computational and Graphical Statistics 25:1077–1096. Demiralp S, Hoover KD. 2003. Searching for the causal structure of a vector autoregression. Oxford Bulletin of Economics and Statistics 65:745–767. Doan TA , Todd R. 2010. Causal ordering for multivariate linear systems. Unpublished work, Estima. Duff IS, Reid J. 1978. An implementation of Tarjan’s algorithm for the block triangularization of a matrix. ACM Transactions on Mathematical Software 4:137–147. Dufour JM, Renault E. 1998. Short run and long run causality in time series: theory. Econometrica 66:1099–1125. Dufour JM, Pelletier D, Renault E. 2006. Short run and long run causality in time series: inference. Journal of Econometrics 132:337–362. Edwards D. 2000. Introduction to Graphical Modelling. Springer Texts in Statistics, 2nd ed. Springer-Verlag, New York. Eichler M. 2006. Graphical modeling of dynamic relationships in multivariate time series.InHandbook of Time Series Analysis: Recent Developments and Applications, Schelter B, Winterhalder M, Timmer J (eds.). Wiley, London. Eichler M. 2007. Granger causality and path diagrams for multivariate time series. Journal of Econometrics 137:334–353. Eichler M. 2012. Graphical modelling of multivariate time series. Probability Theory and Related Fields 153:233–268. Eickmeier S, Ziegler C. 2008. How successful are dynamic factor models at forecasting output and inflation? A meta-analytic approach. Journal of Forecasting 27:237–265. Flamm C, Kalliauer U, Deistler M, Waser M, Graef A. 2012. Graphs for dependence and causality in multivariate time series. In System Identification, Environmental Modelling, and Control System Design, Wang L, Garnier H (eds.). Springer London, London; 133–151. Giannone D, Lenza M, Momferatou D, Onorante L. 2014. Short-term inflation projections: a Bayesian vector autoregressive approach. International Journal of Forecasting 30:635–644. Granger CWJ. 1969. Investigating causal relations by econometric models and cross-spectral methods. Econometrica 37:424–438. Hall P. 1992. The Bootstrap and Edgeworth Expansion Springer, New York. Heinlein R, Krolzig HM. 2012. Effects of monetary policy on the US dollar/UK pound exchange rate. Is there a ‘delayed overshooting puzzle’? Review of International Economics 20:443–467. Hoover K, Demiralp S, Perez SJ. 2009. Empirical identification of the vector autoregression: the causes and effects of U.S. M2.InThe Methodology and Practice of Econometrics: A Festschrift in Honour of David F. Hendry, Castle J, Shepard N (eds.). Oxford University Press, Oxford; 37–58. Jaroci´ nski M, Ma´ ckowiak B. 2017. Granger causal priority and choice of variables in vector autoregressions. Review of Economics and Statistics 99:319–329. Javanmard A, Montanari A. 2014. Confidence intervals and hypothesis testing for high-dimensional regression. Journal of Machine Learning Research 15:2869–2909. Kascha C , Trenkler C. 2015. Forecasting VARs, model selection, and shrinkage. Working Paper ECON. Kilian L. 1998. Accounting for lag order uncertainty in autoregressions: the endogenous lag order bootstrap algorithm. Journal of Time Series Analysis 19:531–548. Kock AB, Callot L. 2015. Oracle inequalities for high dimensional vector autoregressions. Journal of Econometrics 186:325–344. Koop GM. 2013. Forecasting with medium and large Bayesian VARs. Journal of Applied Econometrics 28:177–203. Lauritzen SL. 1996. Graphical Models. Oxford Statistical Science Series Oxford University Press, Oxford. Ludvigson SC, Ng S. 2007. The empirical risk-return relation: a factor analysis approach. Journal of Financial Economics 83:171–222. Ludvigson SC, Ng S. 2009. Macro factors in bond risk premia. Review of Financial Studies 22:5027–5067. Lütkepohl H. 1993. Testing for causation between two variables in higher dimensional VAR models.InStudies in Applied Econometrics, Schneeweiß H, Zimmermann KF (eds.). Springer-Verlag, Heidelberg; 75–91. Lütkepohl H. 2005. New Introduction to Multiple Time Series Analysis Springer Science & Business Media, Berlin, Heidelberg. McCracken MW, Ng S. 2016. FRED-MD: a monthly database for macroeconomic research. Journal of Business & Economic Statistics 34:574–589. Medeiros MC, Mendes EF. 2016. l(1)-regularization of high-dimensional time-series models with non-Gaussian and heteroskedastic errors. Journal of Econometrics 191:255–271. Pearl J. 2000. Causality Cambridge University Press, New York. wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 239 Penm J, Terrell R. 1986. The ’Derived’ Moving-average Model and Its Role in Causality Applied Probability Trust, Sheffield; 99–111. Sims CA. 1980. Macroeconomics and reality. Econometrica 48:1–48. Sims CA. 1982. Policy analysis with econometric-models. Brookings Papers on Economic Activity 1: 107–164. Sims CA. 2015. Causal orderings and exogeneity. Lecture Notes. http://sims.princeton.edu/yftp/Times15F/GCP15.pdf. Stock JH, Watson MW. 2002. Forecasting using principal components from a large number of predictors. Journal of the American Statistical Association 97:1167–1179. Stock JH, Watson MW. 2003. Forecasting output and inflation: the role of asset prices. Journal of Economic Literature 41:788–829. Stock JH, Watson MW. 2012. Generalized shrinkage methods for forecasting using many predictors. Journal of Business and Economic Statistics 30:481–493. Stock JH, Watson MW. 2016. Dynamic factor models, factor-augmented vector autoregressions, and structural vector autoregressions in macroeconomics.InHandbook of Macroeconomics, Vol. 2, Taylor JB, Uhlig H (eds.). Elsevier, Amsterdam; 415–525, chap. 8. Swanson NR, Granger CWJ. 1997. Impulse response functions based on a causal approach to residual orthogonalization in vector autoregressions. Journal of the American Statistical Association 92:357–367. Tarjan RE. 1972. Depth-first search and linear graph algorithms. SIAM Journal on Computing 1:146–160. Uhlig H. 2009. Comment on ‘How has the Euro changed the monetary transmission mechanism?’.InNBER Macroeconomics Annual 2008, Vol. 23, Acemoglu D, Rogoff K, Woodford M (eds.). University of Chicago Press, Chicago, IL; 141–152. Van de Geer S, Bühlmann P, Ritov Y, Dezeure R. 2014. On asymptotically optimal confidence regions and tests for high-dimensional models. Annals of Statistics 42:1166–1202. Zhang CH, Zhang SS. 2014. Confidence intervals for low dimensional parameters in high dimensional linear models. Journal of the Royal Statistical Society Series B – Statistical Methodology 76:217–242. Zheng LL, Raskutti G. 2019. Testing for high-dimensional network parameters in auto-regressive models. Electronic Journal of Statistics 13:4977–5043. APPENDIX A: PROOFS A.1. Proof of Theorem 3.2 Proof. We prove Theorem 3.2 by mathematical induction. Base Case Let h=1. Then, it is Π(h) ij =Π (1) ij =aij. If P(1) ij is empty, (i,j)∉Ewhat imposes aij =0 because of Definition 2.1. Then, equality (3.6) holds trivially. If P(1) ij ≠∅, it follows that P(1) ij ={(i,j)}. Consequently, ∑P∈P(1) ij ∏(l,m)∈Palm =aij =Π (1) ij , which proves (3.6) for h=1. Induction Step Let (3.6) hold for h−1, that is ∀i,j∈{1,…,K}∶Π (h−1) ij =∑ P∈P(h−1) ij ∏ (l,m)∈P alm.(A1) Moreover, define: Ei∶= {k∈{1,…,K}∶(i,k)∈E}⇒P(h) ij =⋃ k∈Ei⋃ P∈P(h−1) kj [{(i,k)} ∪ P].(A2) This just means that any path from vertex ito vertex jof length hcan be decomposed into a tuple (i,k)and a path from vertex kto vertex jof length (h−1)for all k∈{1,…,K}with aik ≠0andP(h−1) kj ≠∅. Using this, we get: Π(h) ij = K ∑ k=1 aikΠ(h−1) kj J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
240 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA (A1) = K ∑ k=1 aik ∑ P∈P(h−1) kj ∏ (l,m)∈P alm =∑ k∈Ei∑ P∈P(h−1) kj aik ∏ (l,m)∈P alm =∑ k∈Ei∑ P∈P(h−1) kj ∏ (l,m)∈[{(i,k}∪P] alm (A2) =∑ P∈P(h) ij ∏ (l,m)∈P alm. ◾ A.2. Proof of Lemma 3.1 Proof. We prove both directions of the if-and-only-if statement (3.7): “(A.3) ⇒”LetP(h) ij ≠∅. We prove Π(h) ij ≠0 by mathematical induction. Base Case Let h=1. Then, it is P(1) ij ={(i,j)},thatis,aij ≠0 due to Definition 2.1. Consequently, it is Π(1) ij =aij ≠0. Induction Step Let one direction of (3.7) hold for (h−1),thatis ∀i,j∈{1,…K}with P(h−1) ij ≠0,it is Π(h−1) ij ≠0.(A3) Now, let P(h) ij ≠∅: ⇒∃k∈{1,…,K}∶aik ≠0∧P(h−1) kj ≠∅ (A.3) ⇒Π(h−1) kj ≠0⇒aikΠ(h−1) kj ≠0 ⇒Π(h) ij = K ∑ l=1 ailΠ(h−1) lk ≠0 because of Assumption 3.1 and aikΠ(h−1) kj ≠0. “⇐”LetΠ(h) ij ≠0. Assume P(h) ij =∅. Consequently, by Theorem 3.2 it is Π(h) ij =∑P∈P(h) ij ∏(l,m)∈Palm =0 because it is an empty sum. This is a contradiction. Thus, P(h) ij ≠∅has to hold. ◾ A.3. Proof of Lemma 3.2 Proof. Without loss of generality, let i,j∈Ck. By Definition 2.2,yiand yjare mutually reachable. Therefore, it is: ∃hi∈N∶P(hi) ij ≠∅Lemma 3.1 ⇔Π(hi) ij ≠0Theorem 3.1 ⇔yj→hiyi⇒yj∈C(yi), ∃hj∈N∶P(hj) ji ≠∅Lemma 3.1 ⇔Π(hj) ji ≠0Theorem 3.1 ⇔yi→hjyj⇒yi∈C(yj). Consequently, yiand yjare mutually causal. ◾ wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 241 A.4. Proof of Lemma 3.3 Proof. We prove both directions of the if-and-only-if statement (3.10) whereas the second implication is trivial: “⇒”Letyjbe a variable that causes yI,thatis,∃h1∈N∶yj→h1yI. By Theorem 3.1 it follows: ∃s1∈{1,…,p}∶Π (h1) Ij,s1≠0⇒∃i∈I∶Π (h1) ij,s1≠0. For s1=1, Π(h1) ij,1≠0 and thus Π(h1) Ij,1≠0 follows immediately. So, let s1∈{2,…,p}. Note that one can easily show that JAh=(Π (h) 1,…,Π(h) p)with J=(IK,0,…,0)being a (K×Kp)selection matrix. Consequently, Π(h) ab,s=Ah a,(s−1)K+bholds for all a,b∈{1,…,K},s∈{1,…,p}and h∈N. Therefore, Ah1 i,(s1−1)K+j=Π (h1) ij,s1≠0 holds. Moreover, Al,l−K=1forl=K+1,…,Kp by construction of the companion matrix (3.9). Applying this argument for l=(s1−1)K+jand using Assumption 3.1, it follows that Π(h1+1) ij,s1−1=Ah1+1 i,(s1−2)K+j≠0. Continuing this argument, one shows that Π(h1+s1−1) ij,1=Ah1+s1−1 ij ≠0. So, Π(h1+s1−1) Ij,1≠0 is true. “⇐” Assume that there is a h∈Nsuch that Π(h) Ij,1≠0. Due to Theorem 3.1, this directly implies yj→hyI.◾ A.5. Proof of Theorem 3.3 Proof. First, we prove the general subset relation C(yI)⊆R(yI). “⊆”Letyj∈C(yI)and w.l.o.g. j∈Cj∗. Due to Definition 3.1, either (a) yj∈yI,or (b) ∃h∈N∶yj→hyIhas to hold. In case (a), yj∈Cj∗∩yIand therefore Cj∗∩yI≠∅. By Definition 2.4,yj∈RGSCC (Cj∗)has to hold what directly imposes yj∈R(yI). In case (b): ∃h∈N∶yj→hyITheorem 3.1 ⇔Ah Ij≠0⇔∃i∈I∶Ah ij ≠0Theorem 3.2 ⇒∃i∈I∶P(h) ij ≠∅. Let i∈Ci∗. Obviously, jis reachable from iin G. Hence, Cj∗is also reachable from Ci∗in GSCC. Consequently, it is yj∈RGSCC (Ci∗). Because of i∈Ci∗and i∈I, it is yi∈yI∩Ci∗and therefore yI∩Ci∗≠∅. Thus, RGSCC (Ci∗)⊆R(yI)and therefore yj∈R(yI). “⊇” Let Assumption 3.1 hold, yj∈R(yI)and w.l.o.g. j∈Cj∗. Due to Definition 2.4, then: ∃i∗∈{1,…,k}∶Ci∗∩yI≠∅∶yj∈RGSCC (Ci∗). Again by Definition 2.4, this means that either (i) j∈Ci∗,or (ii) Ci∗ P ⇝Cj∗has to hold. In case (i): Ci∗∩yI≠∅⇒∃i∈I∶i∈Ci∗⇒i,j∈Ci∗ Lemma 3.2 ⇒yj→hyi⇒yj∈C(yI). J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
242 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA Note that because of Remark 2.3,j∈Ci∗would also imply i∗=j∗and thereby cause yj∈C(yI). In case (ii): ∃i1∈Ci∗∶∃j1∈Cj∗∶∃h∈N∶P(h) i1j1≠∅.(A4) As Assumption 3.1 holds for companion form (3.9), we can apply Lemma 3.2 and make use of the fact that the upper left K×Kblock of the autoregressive matrix of the direct VAR representation of companion form (3.8), Ah, is identical with Π(h) 1of the corresponding direct representation of the regular VAR(p) model (2.1) to get: ∀i1∈Ci∗∶∃h1∈N∶yi1→h1yi Lemma 3.3 ⇔∃h2∈N∶Π (h2) i,i1,1≠0⇔Ah2 i,i1≠0Lemma 3.1 ⇔P(h2) i,i1≠∅, ∀j1∈Cj∗∶∃h3∈N∶yj→h3yj1 Lemma 3.3 ⇔∃h4∈N∶Π (h4) j1,j,1≠0⇔Ah4 j1,j≠0Lemma 3.1 ⇔P(h4) j1,j≠∅. As we have paths from vertex ito i1,vertexi1to j1and vertex j1to j, there is also a path from vertex ito jas we can simply connect them, that is P(h+h2+h4) ij ≠∅Lemma 3.3 ⇔∃h5∈N∶Π (h5) ij,1≠0⇔Π(h5) Ij,1≠0Theorem 3.1 ⇔yj→h5yI⇒yj∈C(yI).◾ APPENDIX B: DATA We describe the data used in the empirical illustrations. Raw data for most series are obtained from the FRED database and Table B1 shows the corresponding FRED mnemonics. We construct some variables from splicing two series to obtain long time series: As a measure for the exchange rate, we use the US/DM exchange rate (EXGEUS) until 1998Q4. From 1999Q1 we use EXUSEU and splice both series accordingly. The resulting variable is called EXCH. We follow McCracken and Ng (2016) and use OILPRICE (Spot Oil Price) until 1985Q4 and MCOILWTICO (Crude Oil Price, Cushing) since 1986Q1, since the former series has been discontinued. The resulting series is labeled POIL in our data set. To obtain a crude measure of stock market volatility, we simply use the squared stock market returns, since the time series of volatility indices in FRED are rather short. This series is called VOLA. Seasonally adjusted series have been taken from FRED where necessary. The time series on Government Debt (GFDEBTN) has been seasonally adjusted by the authors using X-ARIMA-13. The resulting series is GFDEBTNSA. The Euro area time series have been added using the update 15 to the AWM database maintained at the ECB. The AWM mnemonics for the real GDP, CPI, and a short-term interest rates are YER,HICP, and STN.HICP has been seasonally adjusted by the authors using X-ARIMA-13. We use EMUGDP,EMUHICPSA, and EMURS to denote the three Euro area variables. The last columns in Table B1 lists the transformation codes 1–6, corresponding to the following transformations of the series yt: (1) no transformation, yt,(2)Δyt,(3)Δ2yt, (4) 400×log(yt), (5) 400×Δlog(yt), (6) 400×Δ2log(yt). APPENDIX C: ALGORITHM Input:rawdatasety, lag length p, set of interest I 1. Transform yto get ytrans (transformation codes see Table B1) in Appendix B. 2. Estimate LASSO-VAR(p)onytrans to obtain autoregressive matrices ÂLASSO 1,…,ÂLASSO p(Kascha and Trenkler, 2015). wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 243 Table B1. Variables, data sources and transformations: Graph-VAR Name Mnemonic Transf.Code Real GDP GDPC96 5 CPI CPIAUCSL 6 Federal Funds Rate FEDFUNDS 2 Real Consumption PCECC96 5 Real Government Consumption GCEC1 5 Real Investment GPDIC1 5 Real Exports EXPGSC1 5 Real Imports IMPGSC1 5 Change in Real Inventories CBIC96 1 Unit Labor Cost ULCNFB 5 Employment PAYEMS 5 Unemployment Rate UNRATE 2 Hours worked HOHWMN02USQ065S 1 1-year T-Bill Rate GS1 2 10-year T-Bill Rate GS10 2 Corporate Bond Spread AAAFFM 1 Lending Rate to NFCs TB3MS 3 Mortgage Rate MORTG 2 M1 M1SL 6 M2 M2SL 6 Government Debt GFDEBTNSA GFDEBTN. seas.adj: X-13 5 Real Estate Loans REALLN 5 Consumer Credits TOTALSL 5 Commercial Loans BUSLOANS 5 Dollar/Euro Exchange Rate (EXCH) spliced from EXGEUS and EXUSEU 5 Effective Exchange Rate NNUSBIS 5 Oil Price (POIL) spliced from OILPRICE and MCOILWTICO 5 Commodity Prices CUSR0000SAC 6 Consumer Prices (excl. food, energy) CPILFESL 6 Producer Price Index PPIACO 5 House Prices USSTHPI 6 Real Housing Investment PRFI 5 Total Share Prices SPASTT01USQ661N 5 Volatility Index VIXCLS 5 Capacity Utilization CUMFNS 2 Consumer Confidence CSCICP03USM665S 2 Industrial Confidence BSCICP03USM665S 2 Purchasing Manager’s Index NAPM 1 Real GDP (Euro Area) AWM mnemonic: YER 5 CPI (Euro Area) AWM mnemonic: HICP, seas.adj: X-13 6 Short term interest rate (Euro Area) AWM mnemonic: STN 2 Note: The table shows FRED and AWM database names together with the transformation codes. See Appendix Bfor a detailed description of the transformations. J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
244 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA 3. Based on ÂLASSO 1,…,ÂLASSO pfind SCCs C1,…,Ck(Tarjan, 1972). 4. Based on C1,…,Ckfind minimal VAR R(yI trans)(Definition 2.4). 5. Estimate an unrestricted VAR(p)inlevelsonR(yI). 6. Conduct impulse response analysis. Output: relevant variables R(yI trans), estimated impulse response functions APPENDIX D: ADDITIONAL RESULTS D.1. Selection Uncertainty and Impulse Response Intervals The construction of impulse response confidence intervals in the selected VAR of Section 4.2 does not account for the uncertainty in the variable selection process. While a theoretical analysis of this issue is beyond the scope of this article, we try to get some indication of the underlying uncertainty in our empirical application. To this end, we use a residual bootstrap procedure, which is designed to empirically capture the selection uncertainty. The approach is similar to the ‘endogenous lag order bootstrap’, which has been used for capturing uncertainty in VAR lag selection (see e.g. Kilian, 1998). Using the parameter estimates and residuals of the Selected VAR, we generate B=999 bootstrap samples. In each bootstrap replication, we repeat the variable selection approach of the article to determine the set of relevant variables. Based on the VAR in the newly selected variables, we compute the impulse responses of interest. The confidence intervals are constructed using Hall’s percentile method (see Hall, 1992) and Appendix D.3 in Lütkepohl (2005)) with nominal coverage of 95%. As the selection is repeated in each bootstrap replication, the results give some indication of the selection uncertainty. Using our empirical application from Section 4.2, we illustrate the effect of accounting the selection uncertainty with the above procedure. The first two columns in Figure D2 reproduce the result for the baseline sample 0481216 -4 -2 0 2 Small VAR: FFR GDP 0481216 -4 -2 0 2 Selected Variable VAR: FFR GDP 0481216 -6 -4 -2 0 2 4 Small VAR: FFR CPI 0481216 -6 -4 -2 0 2 4 Selected Variable VAR: FFR CPI 0481216 -1 0 1 Small VAR: FFR FFR 0481216 -1 0 1 Selected Variable VAR: FFR FFR Figure D1. Impulse responses in small VAR and selected variable VAR. Left: Responses to a shock in FFR in 3-variable (small) VAR(4) including GDP, FFR, and CPI. Right: Responses to a shock in FFR in 9-variable VAR(4) with six selected additional variables. The dashed line shows the estimated responses from a LASSO-VAR(4). Sample period: 1975Q1–2014Q4 wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664
DIRECTED GRAPHS AND VARIABLE SELECTION 245 0481216 -4 -2 0 2 Small VAR: FFR GDP 0481216 -4 -2 0 2 Selected Variable VAR: FFR GDP 0481216 -4 -2 0 2 Hall bootstrap: FFR GDP 0481216 -10 -5 0 Small VAR: FFR CPI 0481216 -10 -5 0 Selected Variable VAR: FFR CPI 0481216 -10 -5 0 Hall bootstrap: FFR CPI 0481216 -1 0 1 Small VAR: FFR FFR 0481216 -1 0 1 Selected Variable VAR: FFR FFR 0481216 -1 0 1 Hall bootstrap: FFR FFR Figure D2. Selection uncertainty in impulse responses from selected variable VAR. Left: Responses to a shock in FFR in 3-variable (small) VAR(4) including GDP, FFR, and CPI. Middle: Responses to a shock in FFR in 9-variable VAR(4) with six selected additional variables. Right: Responses to a shock in FFR in selected VAR with bootstrap intervals accounting for selection uncertainty. The dashed line shows the estimated responses from a LASSO-VAR(4). Sample period: 1975Q1–2008Q4 0 4 8 12 16 -4 -2 0 2 Small VAR: FFR GDP 0 4 8 12 16 -4 -2 0 2 Selected Variable VAR: FFR GDP 0481216 -4 -2 0 2 Hall bootstrap: FFR GDP 0 4 8 12 16 -10 -5 0 Small VAR: FFR CPI 0 4 8 12 16 -10 -5 0 Selected Variable VAR: FFR CPI 0481216 -10 -5 0 Hall bootstrap: FFR CPI 0 4 8 12 16 -1 0 1 Small VAR: FFR FFR 0 4 8 12 16 -1 0 1 Selected Variable VAR: FFR FFR 0481216 -1 0 1 Hall bootstrap: FFR FFR Figure D3. Selection uncertainty in impulse responses from selected variable VAR. Left: Responses to a shock in FFR in 3-variable (small) VAR(4) including GDP, FFR, and CPI. Middle: Responses to a shock in FFR in 9-variable VAR(4) with six selected additional variables. Right: Responses to a shock in FFR in selected VAR with bootstrap intervals accounting for selection uncertainty. The dashed line shows the estimated responses from a LASSO-VAR(4). Sample period: 1975Q1–2014Q4 J. Time Ser. Anal. 44: 223–246 (2023) © 2022 The Authors. wileyonlinelibrary.com/journal/jtsa DOI: 10.1111/jtsa.12664 Journal of Time Series Analysis published by John Wiley & Sons Ltd.
246 D. BERTSCHE, R. BRÜGGEMANN AND C. KASCHA 1975Q1–2008Q4 from Figure 3, while the last column shows the confidence intervals accounting for selection uncertainty. As expected, these intervals are somewhat wider. We note, however, that the economic results are qualitatively very similar. For the extended sample (1975Q1–2014Q4, originally shown in Figure D1), a similar pattern can be observed (see Figure D3). Interestingly, for this extended sample, accounting for selection uncertainty increases the widths of the intervals more than in our baseline sample. Nevertheless, against the background of these results, we still find that our approach successfully mitigates and helps to solve the price puzzle. wileyonlinelibrary.com/journal/jtsa © 2022 The Authors. J. Time Ser. Anal. 44: 223–246 (2023) Journal of Time Series Analysis published by John Wiley & Sons Ltd. DOI: 10.1111/jtsa.12664