Automatic identification of general vector error correction models
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Arbués, Ignacio; Ledo, Ramiro; Matilla-García, Mariano Article Automatic identification of general vector error correction models Economics: The Open-Access, Open-Assessment E-Journal Provided in Cooperation with: Kiel Institute for the World Economy – Leibniz Center for Research on Global Economic Challenges Suggested Citation: Arbués, Ignacio; Ledo, Ramiro; Matilla-García, Mariano (2016) : Automatic identification of general vector error correction models, Economics: The Open-Access, Open- Assessment E-Journal, ISSN 1864-6042, Kiel Institute for the World Economy (IfW), Kiel, Vol. 10, Iss. 2016-26, pp. 1-41, https://doi.org/10.5018/economics-ejournal.ja.2016-26 This Version is available at: https://hdl.handle.net/10419/147300 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/
Received June 8, 2016 Published as Economics Discussion Paper July 5, 2016 Revised October 10, 2016 Accepted October 18, 2016 Published October 31, 2016 © Author(s) 2016. Licensed under the Creative Commons License - Attribution 4.0 International (CC BY 4.0) Vol. 10, 2016-26 | October 31, 2016 | http://dx.doi.org/10.5018/economics-ejournal.ja.2016-26 Automatic Identification of General Vector Error Correction Models Ignacio Arbués, Ramiro Ledo, and Mariano Matilla-García Abstract There are a number of econometrics tools to deal with the different types of situations in which cointegration can appear: I(1), I(2), seasonal, polynomial, etc. There are also different kinds of Vector Error Correction models related to these situations. The authors propose a unified theoretical and practical framework to deal with many of these situations. To this aim: (i) they introduce a general class of models and (ii) provide an automatic method to identify models, based on estimating the Smith form of an autoregressive model. Their simulations suggest the power of the new proposed methodology. An empirical example illustrates the methodology. (Published in Special Issue Recent Developments in Applied Economics) JEL C01 C22 C32 C51 C52 Keywords Time series; unit root; cointegration; error correction; model identification; Smith form Authors Ignacio Arbués, Ministerio de Industria, Energía y Turismo and Instituto Complutense de Análisis Económico, Madrid, Spain Ramiro Ledo, UNED and Universidad Complutense de Madrid, Facultad de Ciencias Económicas y Empresariales, Departamento de Economía Aplicada II, Spain Mariano Matilla-García, UNED, Departamento de Economía Aplicada Cuantitativa, Paseo Senda del Rey, 11, 28040, Madrid, Spain, Citation Ignacio Arbués, Ramiro Ledo, and Mariano Matilla-García (2016). Automatic Identification of General Vector Error Correction Models. Economics: The Open-Access, Open-Assessment E-Journal, 10 (2016-26): 1—41. http://dx.doi.org/10.5018/economics-ejournal.ja.2016-26
conomics: The Open-Access, Open-Assessment E-Journal 1 Introduction The basis of the theory of cointegration was laid out in a surge of articles about the late eighties and early nineties, preceded by the seminal paper by Granger (1981). By the mid-nineties, there was a relatively complete theoretical framework for I(1) (Engle and Granger, 1987; Johansen, 1988; Johansen and Juselius, 1990), I(2) cointegration (Johansen, 1992; Paruolo, 1996), multicointegration (Granger and Lee, 1989) and seasonal cointegration (Hylleberg et al., 1990). Since then, much of the attention in cointegration theory has been focused on panel data (Levin and Lin, 1993; Levin et al., 2002) or on fractional cointegration (Engle and Granger, 1987; Granger and Joyeux, 1980). Latest developments are focused on particular cases as cointegration in dynamic panels (Yu and Lee, 2010), or panel data multicointegration (Worthington and Higgs, 2010). Also, some contributions have been made to the foundations and algebraic theory of multivariate integrated processes (Franchi, 2006, 2007). A concern that may explain the persistence of interest in the algebra of cointegration is the perceived necessity of a unifying theoretic framework for all situations. In this article, we contribute in two ways to facilitate a more unified treatment of cointegration. First, in Section 2 we provide a general theoretical framework that covers any process that can be represented by an autoregressive model with unit roots. This framework has the following elements: (i) a classification of all such models based on the Smith form (SF); (ii) a class of General Vector Error Models (GVEC) that correspond to every unstable autoregressive model and (iii) a consistency result for the Least Squares estimator of the GVEC models. The first two points are in fact straightforward generalizations of the kind of reasoning that Hylleberg et al. (1990) used to find a seasonal vector error correction model by assuming that the process had a Wold representation with a Smith form of a particular shape. By removing the restriction on the SF, we find a general family of VEC models (General VEC or GVEC, hereinafter). The GVEC family covers the following cases: I(1), I(2), multicointegration (with a caveat that will be explained later), polynomial and seasonal cointegration. On the other hand, this framework does not include panel data or fractional integration. At this point, we do not know how difficult will be to generalize our results in those directions, but it seems that www.economics-ejournal.org 2
conomics: The Open-Access, Open-Assessment E-Journal fractional integration poses more difficulties from the theoretical point of view, whereas the algorithms we use are not well-suited to panel data. The second contribution (Section 3) is an automatic method to identify GVEC models based on an estimate of the SF of the autoregressive model. We show by means of Monte Carlo simulations (Section 4) that our method works better than the Johansen test in the restricted cases in which the latter applies. But of course, our method has also the advantage that it can detect other situations. This is the case in the practical example of Section 5, where our algorithm detects both seasonal cointegration and higher order of integration. Therefore, in series that have a marked seasonal behavior, with our method it is no longer necessary to do a cointegration analysis with the seasonally adjusted series, as is sometimes done. 2 General Vector Error Correction Models In this section, we generalize some fundamental results of the representation of cointegrated variables by means of VEC models. We will denote polynomials and power series using the inderminate z . When we use them to define autoregressive or ARMA models, we substitute the backshift operator B for z , so for example φ(z) = φ0+... +φpzp , but φ(B)yt=φ0yt+... +φpyt−p . Sometimes, when the context makes clear that φ is a polynomial, we can drop the indeterminate for ease of notation. The same applies for vectors and matrices whose entries are polynomials or power series. Assumption 1. Let yt be a n×1 random vector, s be a positive integer and d(z) a real polynomial such that all its roots belong to {ωk}s−1 k=0 where ωk=exp2πik/s and d(B)ytis stationary and purely nondeterministic. The fact that we limit the roots of d to that set is just for convenience, as the most common cause of unit roots other than the unity is seasonal integration. Hence, s can be interpreted as the number of observations per year (or per week in the case of daily data). All the subsequent developments can easily be adapted to the general case, although most applications do not require that. Under assumption 1, if the multiplicity of ωk is dk we can say that yt is integrated of order dk with respect to ωk and denote this property as yt∼Ik(dk) . www.economics-ejournal.org 3
conomics: The Open-Access, Open-Assessment E-Journal We say that yt is polynomially cointegrated of order j at ωk when there exists a polynomial vector a(z) such that a(B)0yt is Ik(dk−j) . There can be several cointegration relationships for yt . For each k and j , let us say there is a set A of such vectors with exactly rk,j elements and {a(ωk)}a∈A is linearly independent. For the sake of generality, we do not require that all the components of yt have the same order of integration, so there may be trivial cointegration relationships. Then, if yt= (y1,t,y2,t)0 , where y1,t∼I(1) and y2,t∼I(0) , a trivial cointegrating vector would be (0,1)0 . For convenience, we can say that yt is cointegrated of order 0 with rank n , so rk,0=n . Clearly rk,j≥rk,j+1 and there is some j from which rk,j=0 onwards. We call rk,jcointegration ranks. Assumption 2. The Wold representation of d(B)yt is Ψ(B)εt , where Ψ(z) is rational, that is, its entries are polynomial fractions. Now, we will present our generalization of the Granger Representation Theorem (GRT) as in Engle and Granger (1987). First, we adapt statements (1)–(3). Proposition 1. If assumptions 1 and 2 hold and yt has cointegration ranks rk,j , then (a) Ψ(z) = U(z)D(z)V(z) , where detU(z) and detV(z) have no roots in the closed unit circle, D(z) = D0(z)·...·Ds−1(z)and Dk(z) = Isk,00 0 ... 01−ω−1 kzIsk,10... 0 0 1−ω−1 kz2Isk,2... ... ... ... ... where sk,j=rk,j−rk,j+1 . D(z) is called the Smith form 1 of Ψ(x) . Conversely, if the SF is as above, then ythas cointegration ranks rk,j. (b) There is a VARMA representation A(B)yt=m(B)εt such that m(z) is a polynomial. If D divides d , then the SF of A(z) is d(z)D(z)−1 and m(z) has no unit roots. In this case, there is also the infinite VAR representation Φ(B)yt=m(B)−1A(B)yt=εt. 1We go back to this in Section 3.1. www.economics-ejournal.org 4
conomics: The Open-Access, Open-Assessment E-Journal (c) There are full rank n×rk,j polynomial matrices α(z) and γ(z) such that α(z)0Ψ(z) and Ψ(z)γ(z)have jth-order zeros at ωk. Proof. See Appendix A. Statements (a) and (b) are of paramount importance for our results, because they mean that the cointegration structure of yt can be entirely obtained from the SF of Ψ(z) or Φ(B) . In order to distinguish both diagonal matrices we can use DΨ(z) and DΦ(z) . Let δ1(z),...,δh(z) be the distinct diagonal elements of DΦ(z) . For j=1,...,h−1 , we denote by mjk the multiplicity of ωk in δj+1/δj . If we define ∆jk`(z) = δj+1(z) (1−ω−1 kz)`Imωk=0 δj+1(z) (1−2Reωkz+z2)`Imωjk >0 and ∆h=δh. Now, we can generalize statement (4) of GRT. Proposition 2. In the conditions of Proposition 1, ytsatisfies the model Γ(B)∆h(B)yt= h−1 ∑ j=1n∑ Imωjk=0 mjk ∑ `=1 Π(j) k`∆jk`(B) + ∑ Imωjk>0 mjk ∑ `=1 (Π(j,−) k`+Π(j,+) k`B)∆jk`(B)oyt−1+m(B)εt,(1) where Γ(z) is a polynomial matrix. If DΨ(z)|d(z) , then there is a representation with Γ(z)an infinite power series and m(B) = 1. Proof. See appendix A. We will see now some examples of well-known models that are particular cases of GVEC. When yt is I(1) , the simplest case occurs when DΦ(z) = diag(1− z,...,1−z) . Then, the components of yt are not actually cointegrated. A stable VAR model can be fitted for their differences (∇y1 t,...,∇yn t). In a similar fashion, if yt is seasonally integrated and DΦ(z) = diag(1−zs,...,1−zs) , a stable VAR is appropriate for the seasonal differences. www.economics-ejournal.org 5
conomics: The Open-Access, Open-Assessment E-Journal We encounter classical I(1)cointegration when DΦ(z) = Ir0 0(1−z)In−r and 0<r<n . Then (1) is the usual VEC model Γ(B)∇yt=Πyt−1+εt , where rankΠ=r. When the series ytis I(2), we find DΦ(z) = Ir0 0 0(1−z)Ir00 0 0 (1−z)2Ir00 , and then associate GVEC model is Γ(B)∇2yt=Π(1) 1,1yt−1+Π(1) 1,2∇yt−1+εt. If we allow unit roots other than unity, in particular seasonal roots, the picture is much more complicated. However, there is a particular case that has been already described in the literature. Let us assume that yt represents quarterly data, so s=4 . If DΦ(z) = Ir0 0(1−z4)In−r, then (1) boils down to the model in section 4 of Hylleberg et al. (1990). With our notation, Γ(B)(1−B4)yt=Π(1) 0,1(1+B+B2+B3)yt−1+ Π(1,+) 1,1+Π(1,−) 1,1B(1−B2)yt−1+Π(1) 2,1(1−B−B2+B3)yt−1+εt. As we mentioned above, multicointegration also fits in our framework. Following Granger and Lee (1989), consider the case of the production ( pt ) and sales ( st ). They are cointegrated I(1) variables with cointegrating vector (1,−1)0 , so pt−st is stationary. In addition, ∇−1(st−pt) is cointegrated with st (again, with (1,−1)0 ). This relation holds, for example, when ∇(pt,st)0=Ψ(B)εtand Ψ(B) = ∇ ∇ +1 ∇1. www.economics-ejournal.org 6
conomics: The Open-Access, Open-Assessment E-Journal If we calculate the SF of Ψ(B)in R[z], we get the representation ∇pt st=1 0 B1 1 0 0∇2 ∇ ∇ +1 1 1 εt.(2) Note that the alternative representation by Haldrup and Salmon (1998), ∇pt st=∇ ∇−1+∇−2 ∇ ∇−2 1 0 0∇2 1 0 0 1 εt is in a greater ring, that contains ∇−1 . The condition DΨ|d is violated because the second element ∇2 in the diagonal of the SF of Ψ(B) does not divide the operator ∇ that we use to make (pt,st) stationary. Nevertheless, in order to get a representation without a moving average part this problem can be circumvented by modeling the integrated vector ∇(P t,St)0= (pt,st)0(∇=lcm(∇,∇2)∇−1). From (2), we get −∇+1 1 −1∇ 1 0 0∇2 −B1 1 0 P t St=εt. This is the I(2) cointegration case with r2=0 . In fact, we can follow the constructive proof of Proposition 2 and arrive to the model ∇2P t St=−∇yt−1+1−1 1−1yt−1+εt. Here we can see the two cointegration relations. The second row means that sales and inventory are cointegrated, and the sum of the two rows gives the relation between sales and production. We will get asymptotic properties of of the least squares estimation of models of the form of (1) in the case that Γ(B) is of finite order, but first we need an additional assumption. Assumption 3. Let Ft be the σ− field generated by {εs:s≤t} . Then, E[εt|Ft−1] = 0 , ∑t,iE[|εit|2+δ|Ft−1]<∞ almost surely for δ>0 and V[εt|Ft−1] = Σ, where Σis positive definite. www.economics-ejournal.org 7
conomics: The Open-Access, Open-Assessment E-Journal Proposition 3. Let yt satisfy model (1), where Γ(z) is a polynomial matrix and εt fulfils assumption 3. In addition, for simplicity we assume that d|D , so m(z) = 1 . Let us stack the coefficients of model (1) as β= [Γ:Π] with Γ= [Γ1,...] , Π= [Π(1),...,Π(h)] and Π(j)= [Π(j) 11 ,...] and let ˆ β= [ˆ Γ:ˆ Π] be the least squares estimator of β. Then, ˆ βp →βand T1/2(ˆ Γ−Γ)d →N(0,Ξ)(3) LT(ˆ Π−Π) = Op(1)(4) where LT=diag(Tqjk`In)jk` , qjk` is the minimum multiplicity of the unit roots of ∆jk`(z). Proof. See Appendix A. It is likely that consistency could be proved in the case that the true Γ(B) has infinite order. That would require the order of the estimate ˆ Γ(B) to diverge to infinity at a certain rate, as in Lewis and Reinsel (1985). This result should be extended to allow the presence of moving average terms in the model. The results of Barrio Castro and Osborn (2011), suggest that significant improvements could be achieved with this generalization, that could be attempted following the lines of Yap and Reinsel (1995). 3 Identification We have built an R package to automatically identify and estimate GVEC models. This package can be obtained from the corresponding author until it is uploaded to a public repository. The main steps of the procedure are: (i) estimate a VAR representation Φ(B)yt=εt ; (ii) estimating the SF of Φ(z) and (iii) applying Proposition 2 to obtain the GVEC model. This procedure resembles the unit root determination method of the program TRAMO 2 , albeit with the additional complication that polynomial matrices cannot 2 Current versions of this program, together with SEATS have been developed by Agustín Maravall and his team at the Bank of Spain, upon the programs originally developed by A. Maravall and V. Gómez. www.economics-ejournal.org 8
conomics: The Open-Access, Open-Assessment E-Journal Since the asymptotic efficiency of AIC is proved for the nonstationary case in Ing et al. (2007) one may think that AIC would be the right choice, but there are reasons to support the use of a more parsimonious criterion, such as BIC. One is that in fact, it is not necessary that the estimated VAR is consistent, as long as it captures consistently the unstable part of the model. This argument is developed in Proposition 5. This is strengthened by the fact that the unstable part of the model is superconsistent. Hence, in the example of section 5 we use BIC. Even when the model Φ(B)yt=εt is an infinite VAR, it can be approximated by a VAR( p ). We would like to prove that it is possible to estimate consistently the SF of the infinite model using finite approximations. Unfortunately, while for the case of stable infinite VAR we know that under some assumptions the finite VAR approximation is consistent, to our knowledge there is no such result for the unstable case. However, we can show that for the rational case, i. e., when Φ=M−1A , the approximation by a finite VAR works asymptotically well for our purposes even if the order of the VAR does not diverge to infinity. Let ˜ S(ˆ Φ,εT;R[z]) be the result of factorizing S(ˆ Φ,εT;R[z]) and removing the factors with non-unitary roots. Then, ˜ S(ˆ Φ,εT;R[z]) may be a consistent estimate of S(Φ,0;R1(z)) even if ˆ Φ is not a consistent estimate of Φ . This happens when the true model is an unstable VARMA. Proposition 5. If A(B)yt=M(B)εt , where A may have unit roots and ˆ Φ(B) is the least squares estimator of Φ(B)yt=εt with order greater than that of A , then, ˜ S(ˆ Φ,εT;R[z]) p →S(A,0;R1(z)). Proof. See Appendix A. On the other hand, Φ may be approximated by a VARMA model. We lack a precise analysis of the properties of the estimators of unstable VARMA models, but probably the properties of the univariate case (Ling and Li, 1998) still hold. This is a possible line of investigation for the future. www.economics-ejournal.org 15
conomics: The Open-Access, Open-Assessment E-Journal 4 Monte Carlo Since the automatic identification method described in Section 3.2 is not an absolutely straightforward application of the algorithm of section 3.1, but has instead some small heuristic modifications, it is convenient to have an empiric confirmation that the method actually works. We want to compare the performance of the method to more traditional tools. Thus, our exercise will have two parts. First, we will compare our method to one based in the Johansen cointegration test in cases in which the latter can be applied. In second place, we will turn to a variety of cases and show the performance of our method alone, since there is no one to compare in such a general framework. For this purpose, we will consider n×1 (with n=2,3 ) processes yt with the form: d(B)yt=Q·DΨ(B)εt,(10) where Q is a random matrix with [0,1]− uniform entries, DΨ(B) is a certain Smith matrix whose choice is described below and εt is n×1 Gaussian white noise. For each model (10), we will simulate M=500 time series of length T=25,50,...,500 . For the simulations, we have translated the identificacion programs into MATLAB code that runs faster than our R package. 4.1 Comparison with Johansen test in the I(1)case Our first exercise with simulated series is to compare our method to the Johansen test. The way in which we will use the test is as follows: (i) For each r=0,...,n−1 we perform the Johansen test for the null that the cointegration rank is less or equal that r, with signifcance level α=0.05. (ii) We estimate the cointegration rank as r∗+1 , where r∗ the greatest value of r for which the test rejects. This procedure is only valid for I(1) processes. Therefore, we limit the range of the polynomial d(z)and matrices DΨin (10) to d(z) = 1−zand DΨ(z) = Ir0 0(1−z)In−r.(11) www.economics-ejournal.org 16
conomics: The Open-Access, Open-Assessment E-Journal 50 100 150 200 250 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 50 100 150 200 250 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 50 100 150 200 250 0.75 0.8 0.85 0.9 0.95 1 Figure 1: Probability of correct identification as a function of series length. Thick line: our method; continuous thin line: Johansen test with α=0.01 ; dotted line: Johansen test with α=0.05 . Dimension n=2 and series simulated according to (11) with (from top to bottom and from left to right) r=2 (the series are actually stationary), r=1 (cointegrated) and r=0 (no cointegration). Within this boundary, determining the SF is equivalent to determining the cointegration rank, so we can actually compare the probability of correctly identifying the cointegration rank with the Johansen test and with our procedure. We estimate both probabilities counting for each series length T how many times both methods get it right. In Figure 1 and Figure 2, we represent the length-dependent curves for dimensions 2 and 3. Both in dimension 2 and 3, our method seems to do very well in the nontrivial cases when 0<r<n , clearly outperforming the Johansen test, particularly in n=3 . In the case r=n there are no very large differences, since all methods detect quite easily that the series are not actually integrated. The only case in which the Johansen test works better is when r=0 , for series of short to moderate lengths, although for d=2 this only happens for α=0.01 . Also, even in the cases when www.economics-ejournal.org 17
conomics: The Open-Access, Open-Assessment E-Journal 0 100 200 300 400 500 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 100 200 300 400 500 0 0.2 0.4 0.6 0.8 1 0 100 200 300 400 500 0 0.2 0.4 0.6 0.8 1 0 100 200 300 400 500 0.5 0.6 0.7 0.8 0.9 1 Figure 2: Probability of correct identification as a function of series length. Thick line: our method; continuous thin line: Johansen test with α=0.01 ; dotted line: Johansen test with α=0.05 . Dimension n=3 and series simulated according to (11) with (from top to bottom and from left to right) r=3 (the series are actually stationary), r=2 (cointegrated with rank 2), r=1 (cointegrated with rank 1) and r=0 (no cointegration). the probability of correct identification with our method grows at a slower pace, it always starts at pretty decent levels for very short series, unlike the Johansen test, which yields very small probabilities in some cases. We would like to point out that at least in this limited framework our method performs at least as well as the Johansen test even though ours is not restricted to the I(1) case, unlike the Johansen test which limits itself to any of the n+1 possible values for the cointegration rank. In the next subsection, we show what happens when the true model is not among those that can be identify using the Johansen test. www.economics-ejournal.org 18
conomics: The Open-Access, Open-Assessment E-Journal 4.2 Results in the I(2)case Now, we consider cases with d(z) = (1−z)2;DΨ(z) = Ir00 0 0(1−z)Ir10 0 0 (1−z)2In−r0−r1 .(12) Additionally, we also try a case with negative unit roots that can be interpreted as biannual seasonality, that is, d(z) = 1−z2;DΨ(z) = Ir0 0(1−z2)In−r.(13) In Figure 3, we see that the convergence is somewhat slower in some cases, in particular when r0=r1=1 , but we got fairly good probabilities for long series, above 150 observations length. In Figure 4 for n=3 we have some cases that are really tough. Since the convergence is slower, we represent the curves with the length parameter going up to 500 observations. In particular, the convergence of the case r0=2,r1=0, seems to be very slow. It is not surprising that for n=3 is more difficult to identify correctly the case, since there are much more possible cases to distinguish. In fact, considering only roots equal to unity, the number of combinations for n− dimensional I(d) series grows as (d+1)n−1 . However, we see that the seasonal case works pretty well even for relatively short series. 5 Real data example To illustrate the use of the method and the package GVEC, we will identify a model for a data set similar to the one used in Hylleberg et al. (1990). In particular, y1 t will be the logarithm of the net disposable income of the UK and y2 t will be the logarithm of the expenditure in final consumption of the households, with t ranging from 1955:Q1 to 2012:Q1. Both series are depicted in Figure 5. www.economics-ejournal.org 19
conomics: The Open-Access, Open-Assessment E-Journal The AIC-selected order for the var is 5. The estimated VAR is ˆ Φ=Φ11 Φ12 Φ21 Φ22 with ˆ Φ11 =1−0.400B−0.105B2−0.107B3−0.462B4+0.129B5 ˆ Φ12 =−0.588B+0.073B2+0.112B3−0.254B4+0.603B5 ˆ Φ21 =−0.021B+0.014B2−0.108B3+0.091B4−0.056B5 ˆ Φ22 =1−0.908B−0.000B2+0.0646B3−0.973B4+0.899B5. 50 100 150 200 250 0.75 0.8 0.85 0.9 0.95 1 50 100 150 200 250 0.4 0.5 0.6 0.7 0.8 0.9 1 50 100 150 200 250 0.4 0.5 0.6 0.7 0.8 0.9 1 50 100 150 200 250 0.9 0.92 0.94 0.96 0.98 1 Figure 3: Probability of correct identification as a function of series length. Dimension n=2 and series simulated according to (from top to bottom and from left to right) model (12): r0=1,r1=0 ; r0,r1=1; r0=2,r1=0 and model (13), r=1. www.economics-ejournal.org 20
conomics: The Open-Access, Open-Assessment E-Journal 0 100 200 300 400 500 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 0 100 200 300 400 500 0.2 0.3 0.4 0.5 0.6 0.7 0 100 200 300 400 500 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0 100 200 300 400 500 0.1 0.12 0.14 0.16 0.18 0.2 0.22 0.24 0 100 200 300 400 500 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0 100 200 300 400 500 0 0.2 0.4 0.6 0.8 1 0 100 200 300 400 500 0.75 0.8 0.85 0.9 0.95 1 Figure 4: Probability of correct identification as a function of series length. Dimension n=3 and series simulated according to (from top to bottom and from left to right) model (12): r0=1,r1=0 ; r0,r1=1; r0=1,r1=2; r0=2,r1=0; r0=2,r1=1; r0=3,r1=0; and model (13), r=2. www.economics-ejournal.org 21
conomics: The Open-Access, Open-Assessment E-Journal 1960 1970 1980 1990 2000 2010 8 9 10 11 12 logINC logCONS Figure 5: Logarithm of Income and Consumption of the UK. We apply the automatic method with εT=T−1/3 and get the matrix diag(d1,d2) with d1=1−Band d2= (1−B)(1−B4), or ∇0 0∇·∇s, where ∇=1−Band ∇s=1−Bs. Then, the GVEC is Γ(B)∇s·∇yt=Π(1) 0,1∇syt−1+Π(1,−) 0,1+Π(1,+) 0,1B(1−B2)∇yt−1+ Π(1) 2,1(1−B−B2+B3)∇yt−1+εt. where Γ(B) has order p=4 and the intercept µ equals to (−0.00369,−0.00343)0 and Π(1) 0,1=−0.185 0.139 −0.717 0.667 Π(1,−) 1,1=−0.046 0.023 −0.090 0.104 www.economics-ejournal.org 22
conomics: The Open-Access, Open-Assessment E-Journal Π(1,+) 1,1=−0.020 0.038 0.190 −0.069 Π(1) 2,1=0.032 0.001 0.070 −0.019 . this means that according to our method both series are I(2) with respect to frequency zero and I(1) with respect to the seasonal frequencies. In this respect, this is consistent with the univariate results obtained with TRAMO/SEATS. The model identified is equivalent to a seasonal VEC model as the one analyzed in HEGY for the first differences. Therefore, the interpretation of the coefficients in the HEGY model applies here. For example, by extracting the eigenvector corresponding to the greatest eigenvalue of Π(1) 0,1 , we get that there is cointegration in the with respect to frequency zero and the cointegrating vector is quite close to (1,−1). 6 Conclusions We have tried to unify the treatment of cointegration for practitioners, in doing so we have contributed in providing unified theoretic framework for a broad class of situations. To this end we have provided a theoretical framework that covers any process that can be represented by an autoregressive model with unit roots. Our approach covers I(1), I(2), multicointegration, polynomial and seasonal cointegration. From the practioner perspective we put forward an automatic method to identify GVEC models based on an estimate of the Smith Forms of the autoregressive model. Our method is competitive with Johansen test, in the restricted cases in which the latter applies, with the advantage that the new method can cope with other practical situations. Further research can be conducted to extend the theoretical framework to fractional integration or other forms of long memory and to relax some assumptions such as the rationality of the transfer function. Also, in order to apply these ideas to large dimension, or even to panel data, the algorithms need to be adapted, since in their actual form they are only suited to moderate dimensions. Acknowledgements: Mariano Matilla-García is grateful to the following research grants: ECO2015-65637-P from the Ministerio de Economía y Competitividad de Espana and www.economics-ejournal.org 23
conomics: The Open-Access, Open-Assessment E-Journal FEDER funds, and to the program of Groups of Excellence of the Región de Murcia, the Fundación Séneca , Science and Technology Agency of the Región de Murcia, project 19884/GERM/15. A Appendix Proof of Proposition 1. First, the ranks rk,jare uniquely determined because rk,j=dimCnha(ωk):a(B)0yt∼I(dk−j)i. By the uniqueness of the ranks, it suffices to prove that for every process yt , Ψ can be represented as in (a) and then, there are exactly n−∑`≥jsk,` cointegration vectors whose values at ωkare linearly independent. The first step is a consequence of Proposition 2.11 from Hungerford (1980), applied to the ring R={f/g:∀k,g(ωk)6=0} . We have then a representation Ψ(z) = U(z)DΨ(z)V(z) , where the elements of the diagonal of DΨ(z) divide one each other di,i(z)|di+1,i+1(z). This allows to represent ytas d(B)yt=U(B)DΨ(B)V(B)εt.(14) It is clear that we can factorize DΨ(z) as DΨ(z) = D0(z)·... ·Dg(z) . If we focus on a certain k , all the other unit roots can be moved to the left or the right so we can write Ψ(z) = Uk(z)Dk(z)Vk(z) . where detU(ωk),detV(ωk)6=0 . If we choose G(z)as the last rk,jrows of Uk(z)−1, then we get G(B)yt= [01×n−rk,j:...]d(B)−1Dk(B)Vk(B))εt. Since the last rk,j elements of the diagonal of DΨ(z) are divided by (1−ω−1 kz)j , we get that G(B)yt∼Ik(dk−j) . On the other hand, G(ωk) is full rank for otherwise Uk(z) would have a root at ωk , which is contradictory with the conditions of the SF. Thus, there are at least r0 k,j:=n−∑`≥jsk,` cointegrating vectors a(z)∈A such that {a(ωk)}a∈A are linearly independent. Hence rk,j≥r0 k,j . To see that this is actually an identity, let us assume that rk,j>r0 k,j . Then, we arrange the cointegration relationships in a rk,j×n matrix A1(z) . Then A1(B)yt=˜ U1(B)˜ D1(B)˜ V1(B)˜ ε1t . Now, www.economics-ejournal.org 24
conomics: The Open-Access, Open-Assessment E-Journal Let us denote zν,τ,t=Lν,τ(B)yt= (1−θ−1 τz)−νC(B)εt . When 0<τ<b , zν,τ,t and zν,s−τ,t are conjugate. We can also make a transformation similar to that in section 3 of TT to transform the conjugate pairs into pairs of real and imaginary parts w(uν,τ,t=ν,τ,t,vν,τ,t)0 . Then, there is an invertible matrix P such that VB−1=WC−1P , W=VP and C=PBP0 . Consequently, UA−1Q0−1P0−1 has the form hW−1:W0,...,Wbi× C−1,−1C−1,0... C−1,b C0,−1C0,0... C0,b ... ... ... ... Cb,−1Cb,0... Cb,b −1 , where W−1= [∑tεty(h) t 0,...,∑tεty(h) t−p 0] , Wτ=∑tεtz0 1,τ,t−1,...,∑tεtz0 mτ,τ,t−10 for τ=0,...,b, and C−1,−1= T ∑ t y(h) t−uy(h) t−v 0u,vC−1,τ=∑T ty(h) t−uzν,τ,t−10u,ν Cσ,−1=C0 −1,σCσ,τ=∑T tzµ,σ,t−1zν,τ,t−10µ,ν. We can deal now with the W ’s and C ’s in a similar fashion as the unity case, along the lines of section 4 of TT. Proof of Proposition 4. It suffices to see that the algorithm described in annex B (i) can be described as (5)-(6) with ε=0 , (ii) it stops and (iii) when it stops, the state variable Dis the Smith form of A. The first assertion can be proved as follows: let the state variable ek comprise all the flags, an additional flag indicating whether r=0 and the current line number. Then, all the actions in the algorithm are either (a) control flow sentences and changes of r , that are (5) or (b) admissible operations, that are (6). Thus, we can write a meta-algorithm that runs over the algorithm of the annex as follows: 1: k,nline ←1 2: loop www.economics-ejournal.org 31
conomics: The Open-Access, Open-Assessment E-Journal 3: if sentence(nline)is type (a) then 4: perform ek=f0(ek−1,A(k−1)) 5: else 6: perform A(k)=g(ek−1,A(k−1))and nline ←nline +1 7: end if 8: k←k+1 9: end loop In order to see that the algorithm always stops and that when it stops, we get the Smith form, we can easily adapt the proof in Hungerford (1980), page 340, replacing the arguments based on the finiteness of the divisors of an element in the ring, by the fact that the degree function takes values in N and thus it can decrease only a finite number of times. Proof of Theorem 1. To simplify the proof, we assume that the algorithm does not involve the condition r=0 , but just conditions of the form ai j =0 . The proof can be easily adapted then by considering an augmented matrix ˜ A= [A:R] , where R= (ri j)i j and ri j is the remainder of the Euclidean division of aii and ai j. We will denote by (ek,A(k)) the pair we obtain as the result of iterating (5)-(6) starting from A , whereas (ˆek,ˆ A(k)) is got by iterating the ε− approximate version of (5)-(6) starting from ˆ A. We will see that ∀k, P[ˆe`=e`,∀`≤k]→1 (18) ˆ A(k)−A(k)=wk T,(19) where ∀δ>0,∃M>0,T0 such that ∀T≥T0 , P[ξ−1 Tkwk Tk>M|ˆe`=e`,∀`≤k]<δ . For any random variable that satisfies this property of wk T , we write Ocp(ξT) , that is, conditional order ξT in probability. It is easy to see that this property behaves in a similar fashion to the usual order in probability, in particular, the product of two Ocp(ξT)and Ocp(ηT)sequences is Ocp(ξTηT). We will prove (18) and (19) by induction in k . For k=0 it is trivial. Now, let us assume that it holds for k−1 and we will prove it for k. www.economics-ejournal.org 32
conomics: The Open-Access, Open-Assessment E-Journal First, we will see that P[ˆe`=e`,∀`≤k]→1 . Let i and j be indexes such that given ˆek−1=ek−1 , fεT takes a certain value α if |ˆa(k−1) i j |<ε and a value β if |ˆa(k−1) i j | ≥ ε. We will use that Pˆe`=e`,∀`≤k=Pˆek=ek|ˆe`=e`,∀`≤k−1Pˆe`=e`,∀`≤k−1.(20) There are two cases, either a(k−1) i j =0 or a(k−1) i j 6=0. If a(k−1) i j =0, then Pˆe`=e`,∀`≤k=P|ˆa(k−1) i j | ≤ εT|ˆe`=e`,∀`≤k−1Pˆe`=ev,∀`≤k−1 From (18) and ξ−1 TεT−→ ∞, it follows, P|ˆa(k−1) i j | ≤ εT|ˆe`=e`,∀`≤k−1=(21) Pξ−1 T|ˆa(k−1) i j −a(k−1) i j | ≤ ξ−1 TεT|ˆe`=e`,∀`≤k−1→1. Let us now consider the case that a(k−1) i j 6=0. Then, P|ˆa(k−1) i j | ≤ εT|ˆe`=e`,∀`≤k−1=(22) P|ˆa(k−1) i j −a(k−1) i j | ≤ εT|ˆe`=e`,∀`≤k−1→1, because |ˆa(k−1) i j −a(k−1) i j | → |a(k−1) i j |>0 in probability and εT→0. Consequently, (18) is proved. Let us see (19). We denote by ˆ S(k−1) and S(k−1) the matrices of the admissible operation (d) performed on ˆ A(k−1) and A(k−1) respectively. Then, ˆ A(k)−A(k)=ˆ A(k−1)ˆ S(k−1)−A(k−1)S(k−1)=(23) =hˆ A(k−1)−A(k−1)iˆ S(k−1)+A(k−1)hˆ S(k−1)−S(k−1)i.(24) For row operations, we find a similar identity. Thus, we just need to prove that ˆ S(k−1)−S(k−1)=Ocp(ξT)and use that in turn, this implies ˆ S(k−1)=Ocp(1). The matrix ˆ S(k−1)−S(k−1) only has a nonzero element, that is the difference between the quotient ˆc of the Euclidean division of ˆa(k−1) i j between ˆa(k−1) ii in ˆ S(k−1) www.economics-ejournal.org 33
conomics: The Open-Access, Open-Assessment E-Journal and its counterpart c from A(k−1) . The degrees of the ˆa(k) i j are bounded conditionally to ˆe`=e`,∀`≤k, so we can use assumption 4 and ˆa(k−1) ii −a(k−1) ii =Ocp(ξT)(25) ˆa(k−1) i j −a(k−1) i j =Ocp(ξT),(26) and get that ˆc−c=Ocp(ξT)and thus ˆ S(k−1)−S(k−1)=Ocp(ξT). The case of the admissible operations (c) and (e) are similar, while (a) and (b) are isometries and thus they satisfy trivially the condition. Lemma 3. The Euclidean division and the mapping u are continuous in R=R[z] . Proof. If δ<1 , then |q−q0|<δ entails ϕ(q0) = ϕ(q) . Thus, the degrees of the polynomials, and consequently the number of operations involved in the division are bounded. Since the algorithm only requires addition, multiplication and division by the lead coefficient of the divisor, the continuity is granted. The mapping u in this case boils down to calculate the inverse of the leading coefficient of the argument and by definition, the leading coefficient is always nonzero. Before proving Proposition 5, we need some preliminary results. In TT, it is proved that for purely nonstationary processes, that is, processes that satisfy a A(B)yt=M(B)εt such that detΦ(z) has only unit roots, the autoregressive least squares estimates are consistent. For processes that are nonstationary, but not purely nonstationary, that is, when detA(z) has roots on and outside the unit circle, the purely nonstationary part of the estimates (in some sense that is specified in the proof of proposition 5) is consistent. We will prove that ˜ S(A,0;R[z]) does not depend on the stationary part and that ˆ Φ→A∗ such that the ˜ S(A∗,0;R[z]) = ˜ S(A,0;R[z]) and thus ˜ S(ˆ Φ,εt;R[z]) p → ˜ S(A,0;R[z]). Now, we see that if we can decompose the autoregressive polynomial into stable and purely unstable components, only the purely unstable component determines ˜ S(A,0;R1(z)). Lemma 4. Let Φs(z) be stable (i.e., without unit roots). Then, for any Φn(z) , possibly with unit roots, S((Φ−1 n+Φ−1 s)−1,0;R1(z)) = S(Φn,0;R1(z)). www.economics-ejournal.org 34
conomics: The Open-Access, Open-Assessment E-Journal Proof. For ease of notation, we drop the superscript ·Φ . Let Φn=UDV and (Φ−1 n+Φ−1 s)−1=Θ−1Φ , where Φ and Θ are left-coprime. Then Θ−1Φ= hDV adjΦsdetU+adjUdetΦsi−1·hDV detΦsdetUi . By theorem 2.1.1 in Hannan and Deistler (1988), we know that there exists some unimodular matrix C such that Φ=CDV detΦsdetU . Therefore (Φ−1 n+Φ−1 s)−1=Θ−1CDV detΦsdetU and thus, its SF is D. Proof of Proposition 5. We will use the representation Yt=FYt−1+at , where Yt= (y0 t,...,y0 t−p+1)0 , at=LΘ(B)εt , F is the companion matrix of Φ and L comprises the first n columns of Inp . Let J=PFP−1 be the Jordan form of F . We can decompose it in the stable and non-stable parts as J=diag(Js,Jn). If we call Ut=PYt , then Ut= (Ust,Unt )0 , where Ust and Unt are the stable and unstable components. In TT it is proved that ˆ Js→J∗ s and ˆ Jn→Jn , where J∗ s6=Js when Θ6=0 , but we can see that J∗ s is stable, that is, it has all its eigenvalues inside the unit disk. Since Ust is stable, Ust =∑k≥0Ψkεt−k , with ∑kkΨkk2<+∞ . Then, J∗ s=Γ(0)−1Γ(1), where Γ(0) = ∑k≥0ΨkΨ0 kand Γ(1) = ∑k≥0Ψk+1Ψ0 k. Let us see that all eigenvalues of J∗ s have modulus less than one. Let u be an eigenvector and λ its eigenvalue, so Γ(1)u=λΓ(0)u and then u0Γ(1)u=λu0Γ(0)u . Let us consider the infinite sequences x= (x0,x1,...) , where xj∈Rn endowed with the scalar product hx,yi=∑kx0 kyk . Then, by defining a= (Ψ0 0u,Ψ0 1u,...) and b= (Ψ0 1u,Ψ0 2u...) , then u0Γ(0)u=ha,ai and u0Γ(1)u=ha,bi . Since kbk ≤ kak , we conclude that |λ|<1 unless a and b are linearly dependent, but his implies that Ψ0 ku=αkw . Then, α=λ and necessarily |α|<1 because Ψk is square-summable. We can recover the infinite MA representation of yt as yt=L0P−1(1− JB)−1PLεt. Since J=diag(Js,Jn), then ˆ Φ(z)−1→L0P−1(1−J∗ sB)−10 0 0 PL +L0P−10 0 0(1−JnB)−1PL Since the first part is stable and the second unstable, we conclude by applying lemma 4. www.economics-ejournal.org 35
conomics: The Open-Access, Open-Assessment E-Journal B Algorithm For a∈R , Ta i j is the unitary matrix that multiplied on the right side adds the i th column to the j th one, whereas matrix Si j swaps columns i and j. 1: for i=0 to n−1do 2: for j=0 to ndo 3: Ai j ←u(Aii)Ai j 4: end for 5: f lagdiv ←T RUE 6: while f lagdiv do 7: f lagz←TRUE 8: while f lagzdo 9: f lagrow ←TRUE 10: while f lagrow do 11: MAKE ROW ZEROS 12: end while 13: f lagcol ←TRUE 14: while f lagcol do 15: MAKE COLUMN ZEROS 16: end while 17: f lagz←FALSE 18: for j=i+1 to ndo 19: if Ai j 6=0 or Aji 6=0then 20: f lagz←TRUE 21: end if 22: end for 23: end while 24: BOX DIVISIBILITY 25: end while 26: end for SUBALGORITHM MAKE ROW ZEROS. 1: nzcount ←0 www.economics-ejournal.org 36
conomics: The Open-Access, Open-Assessment E-Journal 2: for j=i+1,...,ndo 3: if Ai j 6=0then 4: nzcount ←nzcount +1 5: r←remainder from ( Ai j =Aiiq+r) 6: if r=0then 7: q←quotient from ( Ai j =Aiiq+r) 8: A←ATq i j 9: U←(Tq i j )−1U 10: else 11: q←quotient from ( Ai j =Aiiq+r) 12: A←ATq i j Si j 13: U←S−1 i j (Tq i j )−1U 14: end if 15: end if 16: end for 17: if nzcount =0then 18: f lagrow ←FALSE 19: end if SUBALGORITHM MAKE COLUMN ZEROS 1: nzcount ←0 2: for j=i+1 to ndo 3: if Aji 6=0then 4: nzcount ←nzcount +1 5: r←remainder from ( Ai j =Aiiq+r) 6: if krk<εthen 7: q←quotient from ( Ai j =Aiiq+r) 8: D←Tq i j (q)A 9: V←V(Tq i j )−1 10: else 11: q←quotient from ( Ai j =Aiiq+r) 12: A←Si jTq i j A 13: U←U(Tq i j )−1(Si j)−1 14: end if www.economics-ejournal.org 37
conomics: The Open-Access, Open-Assessment E-Journal 15: end if 16: end for 17: if nzcount =0then 18: f lagcol ←FALSE 19: end if SUBALGORITHM BOX DIVISIBILITY 1: f lagdiv ←FALSE 2: for j=i+1 to ndo 3: for k=i+1 to ndo 4: r←remainder from ( Aik =Aiiq+r) 5: if r6=0then 6: f lagdiv ←T RUE 7: D←Si jA 8: V←VS−1 i j 9: break for 10: end if 11: end for 12: if f lagdiv =T RUE then 13: break for 14: end if 15: end for www.economics-ejournal.org 38
conomics: The Open-Access, Open-Assessment E-Journal References Barrio Castro, T., and Osborn, D. (2011). HEGY Tests in the presence of moving averages. Oxford Bulletin of Economics and Statistics, 73: 691–704. URL http://onlinelibrary.wiley.com/doi/10.1111/j.1468-0084.2011.00633.x/abstract. Engle, R., and Granger, C. (1987). Co-integration and error correction: Representation, estimation and testing. Econometrica, 55: 251–76. URL http: //www.jstor.org/stable/1913236. Franchi, M. (2006). A general representation theorem for integrated vector autoregressive processes. Discussion paper 06-16, University of Copenhagen. URL http://www.economics.ku.dk/research/publications/wp/2006/0616.pdf/. Franchi, M. (2007). The integration order of vector autoregressive processes. Econometric Theory, 23: 546–553. URL http://www.jstor.org/stable/4497802. Granger, C. (1981). Some properties of time series data and their use in econometric model specification. Journal of Econometrics, 23: 121–130. URL http://www. sciencedirect.com/science/article/pii/0304407681900798. Granger, C. W., and Joyeux, R. (1980). An introduction to long-memory time series models and fractional differencing. Journal of time series analysis, 1: 15–29. URL http://onlinelibrary.wiley.com/doi/10.1111/j.1467-9892.1980.tb00297.x/ abstract. Granger, C. W. J., and Lee, T. (1989). Investigation of production, sales and inventory relations using multicointegration and non-symmetric error correction models. Journal of Applied Econometrics, 4 (S1): S145–S159. URL http: //onlinelibrary.wiley.com/doi/10.1002/jae.3950040508/abstract. Haldrup, N., and Salmon, M. (1998). Representations of I(2) Cointegrated Systems Using the Smith-McMillan Form. Journal of Econometrics, 84: 303–325. URL http://www.sciencedirect.com/science/article/pii/S0304407697000882. Hannan, E. J., and Deistler, M. (1988). The statistical theory of linear systems. John Wiley and Sons, New-York. www.economics-ejournal.org 39
conomics: The Open-Access, Open-Assessment E-Journal Hungerford, T. W. (1980). Algebra. Springer, New-York. Hylleberg, S., Engle, R. F., Granger, C. W. J., and Yoo, B. S. (1990). Seasonal integration and cointegration. Journal of Econometrics, 44: 215–238. URL http://www.sciencedirect.com/science/article/pii/030440769090080D. Ing, C.-K., Sin, C., and Yu, S.-H. (2007). Efficient selection of the order of an AR( ∞ ): a unified approach without knowing the order of integratedness. Discussion paper, Institute of Statistical Science, Academia Sinica. Johansen, S. (1988). Statistical analysis of cointegration vectors. Journal of Economic Dynamics and Control, 12: 231–254. URL http://www.sciencedirect. com/science/article/pii/0165188988900413. Johansen, S. (1992). A representation of vector autoregressive processes integrated of order 2. Econometric Theory, 8: 188–202. URL http://www.jstor.org/stable/ 3532439. Johansen, S., and Juselius, K. (1990). Maximum likelihood estimation and inference on cointegration with applications to the demand for money. Oxford Bulletin of Economics and Statistics, 52: 169–210. URL http://onlinelibrary. wiley.com/doi/10.1111/j.1468-0084.1990.mp52002003.x/abstract. Levin, A., and Lin, C. F. (1993). Unit root tests in panel data: Asymptotic and finite-sample properties. Discussion paper, University of California, San Diego. Levin, A., Lin, C. F., and Chu, C. S. J. (2002). Unit root tests in panel data: Asymptotic and finite-sample properties. Journal of Econometrics, 108: 1–24. URL http://www.sciencedirect.com/science/article/pii/S0304407601000987. Lewis, R., and Reinsel, G. C. (1985). Prediction of multivariate time series by autoregressive model fitting. Journal of Multivariate Analysis, 16: 393–411. URL http://www.sciencedirect.com/science/article/pii/0047259X85900272. Ling, S., and Li, W. K. (1998). Limiting distributions of maximum likelihood estimators for unstable autoregressive moving-average time series with general autoregressive heteroscedastic errors. The Annals of Statistics, 26: 84–125. URL http://www.jstor.org/stable/119980. www.economics-ejournal.org 40