VAR Models and Cointegration 1

Size: px
Start display at page:

Download "VAR Models and Cointegration 1"

Transcription

1 VAR Models and Cointegration 1 Sebastian Fossati University of Alberta 1 These slides are based on Eric Zivot s time series notes available at:

2 The Cointegrated VAR In a series of important papers Soren Johansen firmly roots cointegration and error correction models in a vector autoregression framework. Consider the levels VAR(p) for the (n 1) vector Y t Y t = ΦD t + Π 1 Y t Π p Y t p + ε t, t = 1,..., T D t = deterministic terms 2 / 64

3 The VAR(p) model is stable if det(i n Π 1 z Π p z p ) = 0 has all roots outside the complex unit circle. If there are roots on the unit circle then some or all of the variables in Y t are I (1) and they may also be cointegrated. If Y t is cointegrated then the VAR representation is not the most suitable representation for analysis because the cointegrating relations are not explicitly apparent. 3 / 64

4 The cointegrating relations become apparent if the levels VAR is transformed to the vector error correction model (VECM) Y t = ΦD t + ΠY t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t Π = Π Π p I n p Γ k = Π j, k = 1,..., p 1 j=k+1 In the VECM, Y t and its lags are I (0). The term ΠY t 1 is the only one which includes potential I (1) variables and for Y t to be I (0) it must be the case that ΠY t 1 is also I (0). Therefore, ΠY t 1 must contain the cointegrating relations if they exist. If the VAR(p) process has unit roots (z = 1) then det(i n Π 1... Π p ) = 0 det(π) = 0 Π is singular 4 / 64

5 If Π is singular then it has reduced rank; that is rank(π) = r < n. There are two cases to consider: 1. rank(π) = 0. This implies that Π = 0 Y t I (1) and not cointegrated The VECM reduces to a VAR(p 1) in first differences Y t = ΦD t +Γ 1 Y t Γ p 1 Y t p+1 + ε t 5 / 64

6 2. 0 < rank(π) = r < n. This implies that Y t is I (1) with r linearly independent cointegrating vectors and n r common stochastic trends (unit roots). Since Π has rank r it can be written as the product Π = (n n) α β (n r)(r n) where α and β are (n r) matrices with rank(α) = rank(β) = r. The rows of β form a basis for the r cointegrating vectors and the elements of α distribute the impact of the cointegrating vectors to the evolution of Y t. The VECM becomes Y t = ΦD t + αβ Y t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t, where β Y t 1 I (0) since β is a matrix of cointegrating vectors. 6 / 64

7 Non-uniqueness It is important to recognize that the factorization Π = αβ is not unique since for any r r nonsingular matrix H we have αβ = αhh 1 β = (ah)(βh 1 ) = a β Hence the factorization Π = αβ only identifies the space spanned by the cointegrating relations. To obtain unique values of α and β requires further restrictions on the model. 7 / 64

8 Example: A bivariate cointegrated VAR(1) model Consider the bivariate VAR(1) model for Y t = (y 1t, y 2t ) The VECM is Y t = Π 1 Y t 1 + ɛ t Y t = ΠY t 1 + ε t Π = Π 1 I 2 Assuming Y t is cointegrated there exists a 2 1 vector β = (β 1, β 2 ) such that β Y t = β 1 y 1t + β 2 y 2t I (0) Using the normalization β 1 = 1 and β 2 = β the cointegrating relation becomes β Y t = y 1t βy 2t This normalization suggests the stochastic long-run equilibrium relation y 1t = βy 2t + u t 8 / 64

9 Since Y t is cointegrated with one cointegrating vector, rank(π) = 1 so that ( ) ( ) Π = αβ α ( ) 1 α 1 α 1 β = 1 β = α 2 β α 2 The elements in the vector α are interpreted as speed of adjustment coefficients. The cointegrated VECM for Y t may be rewritten as α 2 Y t = αβ Y t 1 + ε t Writing the VECM equation by equation gives y 1t = α 1 (y 1t 1 βy 2t 1 ) + ε 1t y 2t = α 2 (y 1t 1 βy 2t 1 ) + ε 2t The stability conditions for the bivariate VECM are related to the stability conditions for the disequilibrium error β Y t. 9 / 64

10 It is straightforward to show that β Y t follows an AR(1) process β Y t = (1 + β α)β Y t 1 + β ε t or u t = φu t 1 + v t, u t = β Y t φ = 1 + β α = 1 + (α 1 βα 2 ) v t = β ε t = u 1t βu 2t The AR(1) model for u t is stable as long as φ = 1 + (α 1 βα 2 ) < 1 For example, suppose β = 1. Then the stability condition is φ = 1 + (α 1 α 2 ) < 1 which is satisfied if α 1 α 2 < 0 and α 1 α 2 > / 64

11 Johansen s Methodology for Modeling Cointegration The basic steps in Johansen s methodology are: Specify and estimate a VAR(p) model for Y t. Construct likelihood ratio tests for the rank of Π to determine the number of cointegrating vectors. If necessary, impose normalization and identifying restrictions on the cointegrating vectors. Given the normalized cointegrating vectors estimate the resulting cointegrated VECM by maximum likelihood. 11 / 64

12 LR Tests for the Number of Cointegrating Vectors The unrestricted cointegrated VECM is denoted H(r). The I (1) model H(r) can be formulated as the condition that the rank of Π is less than or equal to r. This creates a nested set of models H(0) H(r) H(n) H(0) = non-cointegrated VAR H(n) = stationary VAR(p) This nested formulation is convenient for developing a sequential procedure to test for the number r of cointegrating relationships. 12 / 64

13 Remarks: Since the rank of the long-run impact matrix Π gives the number of cointegrating relationships in Y t, Johansen formulates likelihood ratio (LR) statistics for the number of cointegrating relationships as LR statistics for determining the rank of Π. These LR tests are based on the estimated eigenvalues ˆλ 1 > ˆλ 2 > > ˆλ n of the matrix Π. These eigenvalues also happen to equal the squared canonical correlations between Y t and Y t 1 corrected for lagged Y t and D t and so lie between 0 and 1. Recall, the rank of Π is equal to the number of non-zero eigenvalues of Π. 13 / 64

14 Johansen s Trace Statistic Johansen s LR statistic tests the nested hypotheses H 0 (r) : r = r 0 vs. H 1 (r 0 ) : r > r 0 The LR statistic, called the trace statistic, is given by n LR trace (r 0 ) = T ln(1 ˆλ i ) i=r 0+1 If rank(π) = r 0 then ˆλ r0+1,..., ˆλ n should all be close to zero and LR trace (r 0 ) should be small since ln(1 ˆλ i ) 0 for i > r 0. In contrast, if rank(π) > r 0 then some of ˆλ r0+1,..., ˆλ n will be nonzero (but less than 1) and LR trace (r 0 ) should be large since ln(1 ˆλ i ) << 0 for some i > r / 64

15 The asymptotic null distribution of LR trace (r 0 ) is not chi-square but instead is a multivariate version of the Dickey-Fuller unit root distribution which depends on the dimension n r 0 and the specification of the deterministic terms. Critical values for this distribution are tabulated in Osterwald-Lenum (1992) for n r 0 = 1,..., / 64

16 Determining the Number of Cointegrating Vectors A sequential procedure is used to determine the number of cointegrating vectors: 1. First test H 0 (r 0 = 0) against H 1 (r 0 > 0). If this null is not rejected then it is concluded that there are no cointegrating vectors among the n variables in Y t. 2. If H 0 (r 0 = 0) is rejected then it is concluded that there is at least one cointegrating vector and proceed to test H 0 (r 0 = 1) against H 1 (r 0 > 1). If this null is not rejected then it is concluded that there is only one cointegrating vector. 3. If the H 0 (r 0 = 1) is rejected then it is concluded that there is at least two cointegrating vectors. 4. The sequential procedure is continued until the null is not rejected. 16 / 64

17 Johansen s Maximum Eigenvalue Statistic Johansen also derives a LR statistic for the hypotheses H 0 (r 0 ) : r = r 0 vs. H 1 (r 0 ) : r 0 = r The LR statistic, called the maximum eigenvalue statistic, is given by LR max (r 0 ) = T ln(1 ˆλ r0+1) As with the trace statistic, the asymptotic null distribution of LR max (r 0 ) is not chi-square but instead is a complicated function of Brownian motion, which depends on the dimension n r 0 and the specification of the deterministic terms. Critical values for this distribution are tabulated in Osterwald-Lenum (1992) for n r 0 = 1,..., / 64

18 Specification of Deterministic Terms Following Johansen (1995), the deterministic terms in are restricted to the form ΦD t = µ t = µ 0 + µ 1 t If the deterministic terms are unrestricted then the time series in Y t may exhibit quadratic trends and there may be a linear trend term in the cointegrating relationships. Restricted versions of the trend parameters µ 0 and µ 1 limit the trending nature of the series in Y t. The trend behavior of Y t can be classified into five cases: 18 / 64

19 1. Model H 2 (r): µ t = 0 (no constant): Y t = αβ Y t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t and all the series in Y t are I (1) without drift and the cointegrating relations β Y t have mean zero. 2. Model H 1 (r): µ t = µ 0 = αρ 0 (restricted constant): Y t = α(β Y t 1 + ρ 0 ) + Γ 1 Y t Γ p 1 Y t p+1 + ε t the series in Y t are I (1) without drift and the cointegrating relations β Y t have non-zero means ρ Model H 1 (r): µ t = µ 0 (unrestricted constant): Y t = µ 0 + αβ Y t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t the series in Y t are I (1) with drift vector µ 0 and the cointegrating relations β Y t may have a non-zero mean. 19 / 64

20 4. Model H (r): µ t = µ 0 + αρ 1 t (restricted trend). The restricted VECM is Y t = µ 0 + α(β Y t 1 + ρ 1 t) + Γ 1 Y t Γ p 1 Y t p+1 + ε t the series in Y t are I (1) with drift vector µ 0 and the cointegrating relations β Y t have a linear trend term ρ 1 t. 5. Model H(r): µ t = µ 0 + µ 1 t (unrestricted constant and trend). The unrestricted VECM is Y t = µ 0 + µ 1 t + αβ Y t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t the series in Y t are I (1) with a linear trend (quadratic trend in levels) and the cointegrating relations β Y t have a linear trend. 20 / 64

21 Simulated Y t from Bivariate Cointegrated VECM Case 1: No constant Case 2: Restricted constant Time Case 3: Unrestricted constant Time Case 4: Restricted trend Time Time Case 5: Unrestricted trend Time 21 / 64

22 Simulated β Y t from Bivariate Cointegrated VECM Case 1: No constant Case 2: Restricted constant Time Case 3: Unrestricted constant Time Case 4: Restricted trend Time Time Case 5: Unrestricted trend Time 22 / 64

23 Johansen s Cointegration Tests in R The package urca includes functions for cointegration analysis based on Johansen s methods. > ca.jo function (x, type = c("eigen", "trace"), ecdet = c("none", "const", "trend"), K = 2, spec = c("longrun", "transitory"),...) Note: This function considers 3 specifications for the deterministic term: none corresponds to case 1, i.e. no constant const corresponds to case 2, i.e. restricted constant trend corresponds to case 4, i.e. restricted trend K is the number of lags for the VAR in levels, so K 1 is the number of lags in the VECM representation 23 / 64

24 Example 1: Testing for Cointegration Simulated data set 1: y 1t = y 2t + u t, u t = 0.75u t 1 + ε 1t y 2t = y 2t 1 + ε 2t ε it iid N(0, (0.5) 2 ) for i = 1, 2 > # Example (1) bivariate cointegrated system > nobs <- 250 > e <- rmvnorm(n=nobs,sigma=diag(c(.5,.5))) > u.ar1 <- arima.sim(model=list(ar=.75),nobs,innov=e[,1]) > y2 <- cumsum(e[,2]) > y1 <- y2 + u.ar1 > data1 <- cbind(y1,y2) 24 / 64

25 Example 1: Trace Statistic > # trace statistic > test1 <- ca.jo(data1,ecdet="const",type="trace",k=2,spec="transitory") > summary(test1) Test type: trace statistic, without linear trend and constant in cointeg Eigenvalues (lambda): [1] e e e-20 Values of teststatistic and critical values of test: test 10pct 5pct 1pct r <= r = Test finds 1 cointegrating vector 25 / 64

26 Example 1: Max Eigenvalue Statistic > # max eigenvalue statistic > test2 <- ca.jo(data1,ecdet="const",type="eigen",k=2,spec="transitory") > summary(test2) Test type: maximal eigenvalue statistic (lambda max), without linear tre Eigenvalues (lambda): [1] e e e-20 Values of teststatistic and critical values of test: test 10pct 5pct 1pct r <= r = Test finds 1 cointegrating vector 26 / 64

27 Example 2: Testing for Cointegration Simulated data set 2: y t1 = 0.5y 2t + 0.5y 3t + u t, u t = 0.75u t 1 + ε 1t y 2t = y 2t 1 + ε 2t y 3t = y 3t 1 + ε 3t ε it iid N(0, (0.5) 2 ) for i = 1, 2, 3 > # Example (2) trivariate cointegrated system (1 coint vector) > nobs <- 250 > e <- rmvnorm(n=nobs,sigma=diag(c(.5,.5,.5))) > u.ar1 <- arima.sim(model=list(ar=.75),nobs,innov=e[,1]) > y2 <- cumsum(e[,2]) > y3 <- cumsum(e[,3]) > y1 <-.5*y2 +.5*y3 + u.ar1 > data2 <- cbind(y1,y2,y3) 27 / 64

28 Example 2: Trace Statistic > # trace statistic > test1 <- ca.jo(data2,ecdet="const",type="trace",k=2,spec="transitory") > summary(test1) Test type: trace statistic, without linear trend and constant in cointeg Eigenvalues (lambda): [1] e e e e-18 Values of teststatistic and critical values of test: test 10pct 5pct 1pct r <= r <= r = Test finds 1 cointegrating vector 28 / 64

29 Example 3: Testing for Cointegration Simulated data set 3: y 1t = y 3t + u t, u t = 0.75u t 1 + ε 1t y 2t = y 3t + v t, v t = 0.75v t 1 + ε 2t y 3t = y 3t 1 + ε 3t ε it iid N(0, (0.5) 2 ) for i = 1, 2, 3 > # Example (3) trivariate cointegrated system (2 coint vectors) > nobs <- 250 > e <- rmvnorm(n=nobs,sigma=diag(c(.5,.5,.5))) > u.ar1 <- arima.sim(model=list(ar=.75),nobs,innov=e[,1]) > v.ar1 <- arima.sim(model=list(ar=.75),nobs,innov=e[,2]) > y3 <- cumsum(e[,3]) > y1 <- y3 + u.ar1 > y2 <- y3 + v.ar1 > data3 <- cbind(y1,y2,y3) 29 / 64

30 Example 3: Trace Statistic > # trace statistic > test1 <- ca.jo(data3,ecdet="const",type="trace",k=2,spec="transitory") > summary(test1) Test type: trace statistic, without linear trend and constant in cointeg Eigenvalues (lambda): [1] e e e e-18 Values of teststatistic and critical values of test: test 10pct 5pct 1pct r <= r <= r = Test finds 2 cointegrating vectors 30 / 64

31 Maximum Likelihood Estimation of the VECM If it is found that rank(π) = r, 0 < r < n, then the cointegrated VECM Y t = ΦD t + αβ Y t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t becomes a reduced rank multivariate regression. Johansen derived the maximum likelihood estimation of the parametes under the reduced rank restriction rank(π) = r (see Hamilton for details). He shows that ˆβ mle = (ˆv 1,..., ˆv r ), where ˆv i are the eigenvectors associated with the eigenvalues ˆλ i The MLEs of the remaining parameters are obtained by least squares estimation of Y t = ΦD t + α ˆβ mley t 1 + Γ 1 Y t Γ p 1 Y t p+1 + ε t 31 / 64

32 Normalized Estimates of α and β The factorization ˆΠ mle = ˆα mle ˆβ mle is not unique. The columns of ˆβ mle may be interpreted as linear combinations of the underlying cointegrating relations. For interpretations, it is often convenient to normalize or identify the cointegrating vectors by choosing a specific coordinate system in which to express the variables. 32 / 64

33 Johansen s normalized MLE An arbitrary normalization, suggested by Johansen, is to solve for the triangular representation of the cointegrated system. The resulting normalized cointegrating vector is denoted ˆβ c,mle. The normalization of the MLE for β to ˆβ c,mle will affect the MLE of α but not the MLEs of the other parameters in the VECM. Let ˆβ c,mle denote the MLE of the normalized cointegrating matrix β c. Johansen (1995) showed that T (vec( ˆβ c,mle ) vec(β c )) is asymptotically (mixed) normally distributed. ˆβ c,mle is super consistent. 33 / 64

34 Testing Linear Restrictions on β The Johansen MLE procedure only produces an estimate of the basis for the space of cointegrating vectors. It is often of interest to test if some hypothesized cointegrating vector lies in the space spanned by the estimated basis: H 0 : β = (r n) ( β 0 φ β 0 = s n matrix of hypothesized cv s ) φ = (r s) n matrix of remaining unspecified cv s Result: Johansen (1995) showed that a likelihood ratio statistic can be computed, which is asymptotically distributed as a χ 2 with s(n r) degrees of freedom. 34 / 64

35 Example 1 continued... The test statistics found 1 cointegrating vector, i.e. r = 1. The function cajorls (urca package) estimates the restricted VECM. > # estimate restricted VECM > model1 <- cajorls(test1,r=1) > print(model1) $rlm $beta ect1 y1.l y2.l constant Note that the β coefficients closely match those in the DGP 35 / 64

36 Restricted VECM Response y1.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect *** y1.dl y2.dl Residual standard error: on 245 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: on 3 and 245 DF, p-value: Note that y 1t depends on the cointegrating vector 36 / 64

37 Restricted VECM Response y2.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect y1.dl y2.dl Residual standard error: on 245 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: 0.56 on 3 and 245 DF, p-value: Note that y 2t does not depend on the cointegrating vector 37 / 64

38 Testing Restrictions on β Hypotheses on the long-run coefficients β can be formulated in terms of linear restrictions on β: H 0 : R β = 0 or β = BΨ where Ψ are the unknown parameters in the cointegrating vectors β, B = R and R is the orthogonal complement of R such that R R = / 64

39 Testing Restrictions on β Suppose we want to test whether the cointegrating vector is β = (1, 1) without imposing any restrictions on the intercept. With the notation β = (β, β 3 ) = (β 1, β 2, β 3 ) the hypothesis becomes β 1 = β 2. Note that the vector β is typically normalized such that β 1 = 1. In terms of the parameterization β = BΨ, the matrix B is given by B = and Ψ = (ψ 1, ψ 2 ) such that BΨ = (ψ 1, ψ 1, ψ 2 ). In terms of the parameterization R β = 0, the matrix R is given by R = (1, 1, 0) which implies β 1 + β 2 = 0 and β 3 unrestricted. Note that R B = / 64

40 Testing Restrictions on β > B1 <- matrix(c(1,-1,0,0,0,1),nrow=3) > B1 [,1] [,2] [1,] 1 0 [2,] -1 0 [3,] 0 1 > R <- Null(B1) > R [,1] [1,] [2,] [3,] The test can be performed by passing the matrix B to the test function 40 / 64

41 Testing Restrictions on β > # test restrictions on beta > test3 <- blrtest(z=test1,h=b1,r=1) > summary(test3) Estimation and testing under linear restrictions on beta Eigenvalues of restricted VAR (lambda): [1] The value of the likelihood ratio test statistic: 0 distributed as chi square with 1 df. The p-value of the test statistic is: 0.96 The restrictions are not rejected 41 / 64

42 Estimate VECM with Restrictions on β > # estimate VECM with beta restrictions > model2 <- cajorls(test3,r=1) > print(model2) $rlm $beta ect1 y1.l y2.l constant The estimated cointegrating vector now satisfies the imposed restriction: β 1 + β 2 = 0 while the intercept remains unrestricted 42 / 64

43 Testing Restrictions on β Suppose we want to test whether the cointegrating vector is β = (1, 1) with no intercept, i.e we want R β = 0 such that β 1 + β 2 = 0 and β 3 = 0. > B2 <- matrix(c(1,-1,0),nrow=3) > B2 [,1] [1,] 1 [2,] -1 [3,] 0 > R <- Null(B2) > R [,1] [,2] [1,] [2,] [3,] / 64

44 Testing Restrictions on β > # test restrictions on beta > test4 <- blrtest(z=test1,h=b2,r=1) > summary(test4) Estimation and testing under linear restrictions on beta Eigenvalues of restricted VAR (lambda): [1] The value of the likelihood ratio test statistic: 0.2 distributed as chi square with 2 df. The p-value of the test statistic is: 0.91 The restrictions are not rejected 44 / 64

45 Estimate VECM with Restrictions on β > # estimate VECM with beta restrictions > model3 <- cajorls(test4,r=1) > print(model3) $rlm $beta ect1 y1.l1 1 y2.l1-1 constant 0 The estimated cointegrating vector now satisfies the imposed restrictions: β 1 + β 2 = 0 and β 3 = 0 45 / 64

46 Testing Restrictions on α Suppose we want to test whether α 2 = 0 without imposing any restrictions on α 1, i.e. we want to test for weak exogeneity of y 2t. This hypothesis can be represented as a linear restriction on α: H 0 : R α = 0 or α = AΨ The matrix R is given by R = (0, 1) which implies α 2 = 0 and α 1 unrestricted. > A1 <- matrix(c(1,0),nrow=2) > R <- Null(A1) > R [,1] [1,] 0 [2,] 1 The test can be performed by passing the matrix A to the test function 46 / 64

47 Testing Restrictions on α > # test weak exogeneity > test5 <- alrtest(z=test1,a=a1,r=1) > summary(test5) The value of the likelihood ratio test statistic: 0.17 distributed as chi square with 1 df. The p-value of the test statistic is: 0.68 Weights W of the restricted VAR: [,1] [1,] [2,] The restrictions are not rejected 47 / 64

48 Testing Restrictions on α and β We can test the restrictions on α and β jointly. > # test restriction on beta and weak exogeneity > test6 <- ablrtest(z=test1,a=a1,h=b2,r=1) > summary(test6) Estimation and testing under linear restrictions on alpha and beta Eigenvalues of restricted VAR (lambda): [1] The value of the likelihood ratio test statistic: 0.51 distributed as chi square with 2 df. The p-value of the test statistic is: 0.78 The restrictions are not rejected 48 / 64

49 Testing Restrictions on α and β Eigenvectors, normalised to first column of the restricted VAR: [,1] [1,] 1 [2,] -1 [3,] 0 Weights W of the restricted VAR: [,1] [1,] [2,] The estimated vectors now satisfy the imposed restrictions: β 1 + β 2 = 0, β 3 = 0, and α 2 = 0 49 / 64

50 Example 3 continued... The test statistics found 2 cointegrating vectors, i.e. r = 2. The function cajorls (urca package) estimates the restricted VECM. > # estimate restricted VECM > model1 <- cajorls(test1,r=2) > print(model1) $rlm $beta ect1 ect2 y1.l e y2.l e y3.l e constant e Note that the β coefficients closely match those in the DGP 50 / 64

51 Restricted VECM Response y1.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect e-05 *** ect y1.dl y2.dl y3.dl Residual standard error: on 243 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: on 5 and 243 DF, p-value: Note that y 1t only depends on the first cointegrating vector 51 / 64

52 Restricted VECM Response y2.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect ect * y1.dl * y2.dl y3.dl Residual standard error: on 243 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: on 5 and 243 DF, p-value: Note that y 2t only depends on the second cointegrating vector 52 / 64

53 Restricted VECM Response y3.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect ect y1.dl y2.dl y3.dl Residual standard error: on 243 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: on 5 and 243 DF, p-value: Note that y 3t does not depend on any of the cointegrating vectors 53 / 64

54 Testing Restrictions on β Suppose we want to test β 11 + β 13 = 0 and β 22 + β 23 = 0 without imposing any restrictions on the intercept. In terms of the parameterization R β = 0, the matrix R is given by R = (1, 1, 1, 0) which implies β 11 + β 13 = 0 and β 22 + β 23 = 0, with β 14 and β 24 unrestricted. Note that the matrix β is typically normalized such that β 11 = β 22 = 1 and β 12 = β 21 = 0. > B1 <- matrix(c(1,0,-1,0,0,1,-1,0,0,0,0,1),nrow=4) > R <- Null(B1) > R [,1] [1,] [2,] [3,] [4,] / 64

55 Testing Restrictions on β > # test restrictions on beta > test3 <- blrtest(z=test1,h=b1,r=2) > summary(test3) Estimation and testing under linear restrictions on beta Eigenvalues of restricted VAR (lambda): [1] The value of the likelihood ratio test statistic: 1.14 distributed as chi square with 2 df. The p-value of the test statistic is: 0.57 The restrictions are not rejected 55 / 64

56 Estimate VECM with Restrictions on β > # estimate VECM with beta restrictions > model2 <- cajorls(test3,r=2) > print(model2) $rlm $beta ect1 ect2 y1.l y2.l y3.l constant The estimated cointegrating vectors now satisfy the imposed restrictions: β 11 + β 13 = 0 and β 22 + β 23 = 0 while the intercepts remain unrestricted 56 / 64

57 Testing Restrictions on α > # test weak exogeneity of y3t > A1 <- matrix(c(1,0,0,0,1,0),nrow=3) > test4 <- alrtest(z=test1,a=a1,r=2) > summary(test4) The value of the likelihood ratio test statistic: 1.53 distributed as chi square with 2 df. The p-value of the test statistic is: 0.47 Weights W of the restricted VAR: [,1] [,2] [1,] [2,] [3,] The restrictions are not rejected 57 / 64

58 Testing Restrictions on α and β We can test the restrictions on α and β jointly. > # test restriction on beta and weak exogeneity > test5 <- ablrtest(z=test1,a=a1,h=b1,r=2) > summary(test5) Estimation and testing under linear restrictions on alpha and beta Eigenvalues of restricted VAR (lambda): [1] The value of the likelihood ratio test statistic: 1.96 distributed as chi square with 2 df. The p-value of the test statistic is: 0.38 The restrictions are not rejected 58 / 64

59 Zivot (2000) continued... > # trace test > data <- cbind(st,ft) > test1 <- ca.jo(data,ecdet="const",type="trace",k=2,spec="transitory") > summary(test1) Test type: trace statistic, without linear trend and constant in cointeg Eigenvalues (lambda): [1] e e e-18 Values of teststatistic and critical values of test: test 10pct 5pct 1pct r <= r = The test finds 1 cointegrating vector 59 / 64

60 Estimate Restricted VECM The test statistics found 1 cointegrating vectors, i.e. r = 1. The function cajorls (urca package) estimates the restricted VECM. > # estimate restricted model > model1 <- cajorls(test1,r=1) > print(model1) $rlm $beta ect1 st.l ft.l constant / 64

61 Restricted VECM Response st.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect * st.dl ft.dl Residual standard error: on 240 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: on 3 and 240 DF, p-value: Note that s t only depends on the cointegrating vector 61 / 64

62 Restricted VECM Response ft.d : Coefficients: Estimate Std. Error t value Pr(> t ) ect * st.dl ft.dl Residual standard error: on 240 degrees of freedom Multiple R-squared: , Adjusted R-squared: F-statistic: on 3 and 240 DF, p-value: Note that f t only depends on the cointegrating vector 62 / 64

63 Testing Restrictions on β We can test whether the cointegrating vector is β = (1, 1) with no intercept, i.e we want R β = 0 such that β 1 + β 2 = 0 and β 3 = 0. > # test restrictions on beta > B1 <- matrix(c(1,-1,0),nrow=3) > test3 <- blrtest(z=test1,h=b1,r=1) > summary(test3) Eigenvalues of restricted VAR (lambda): [1] The value of the likelihood ratio test statistic: 6.71 distributed as chi square with 2 df. The p-value of the test statistic is: 0.03 The restrictions are not rejected at 1% level 63 / 64

64 Estimate VECM with Restrictions on β > # estimate restricted model > model2 <- cajorls(test3,r=1) > print(model2) $rlm $beta ect1 st.l1 1 ft.l1-1 constant 0 The estimated cointegrating vector now satisfies the imposed restrictions: β 1 + β 2 = 0 and β 3 = 0 64 / 64

Y t = ΦD t + Π 1 Y t Π p Y t p + ε t, D t = deterministic terms

Y t = ΦD t + Π 1 Y t Π p Y t p + ε t, D t = deterministic terms VAR Models and Cointegration The Granger representation theorem links cointegration to error correction models. In a series of important papers and in a marvelous textbook, Soren Johansen firmly roots

More information

Cointegrated VAR s. Eduardo Rossi University of Pavia. November Rossi Cointegrated VAR s Financial Econometrics / 56

Cointegrated VAR s. Eduardo Rossi University of Pavia. November Rossi Cointegrated VAR s Financial Econometrics / 56 Cointegrated VAR s Eduardo Rossi University of Pavia November 2013 Rossi Cointegrated VAR s Financial Econometrics - 2013 1 / 56 VAR y t = (y 1t,..., y nt ) is (n 1) vector. y t VAR(p): Φ(L)y t = ɛ t The

More information

ECON 4160, Lecture 11 and 12

ECON 4160, Lecture 11 and 12 ECON 4160, 2016. Lecture 11 and 12 Co-integration Ragnar Nymoen Department of Economics 9 November 2017 1 / 43 Introduction I So far we have considered: Stationary VAR ( no unit roots ) Standard inference

More information

ECON 4160, Spring term Lecture 12

ECON 4160, Spring term Lecture 12 ECON 4160, Spring term 2013. Lecture 12 Non-stationarity and co-integration 2/2 Ragnar Nymoen Department of Economics 13 Nov 2013 1 / 53 Introduction I So far we have considered: Stationary VAR, with deterministic

More information

Vector error correction model, VECM Cointegrated VAR

Vector error correction model, VECM Cointegrated VAR 1 / 58 Vector error correction model, VECM Cointegrated VAR Chapter 4 Financial Econometrics Michael Hauser WS17/18 2 / 58 Content Motivation: plausible economic relations Model with I(1) variables: spurious

More information

Multivariate Time Series: Part 4

Multivariate Time Series: Part 4 Multivariate Time Series: Part 4 Cointegration Gerald P. Dwyer Clemson University March 2016 Outline 1 Multivariate Time Series: Part 4 Cointegration Engle-Granger Test for Cointegration Johansen Test

More information

Cointegrated VAR s. Eduardo Rossi University of Pavia. November Rossi Cointegrated VAR s Fin. Econometrics / 31

Cointegrated VAR s. Eduardo Rossi University of Pavia. November Rossi Cointegrated VAR s Fin. Econometrics / 31 Cointegrated VAR s Eduardo Rossi University of Pavia November 2014 Rossi Cointegrated VAR s Fin. Econometrics - 2014 1 / 31 B-N decomposition Give a scalar polynomial α(z) = α 0 + α 1 z +... + α p z p

More information

Modelling of Economic Time Series and the Method of Cointegration

Modelling of Economic Time Series and the Method of Cointegration AUSTRIAN JOURNAL OF STATISTICS Volume 35 (2006), Number 2&3, 307 313 Modelling of Economic Time Series and the Method of Cointegration Jiri Neubauer University of Defence, Brno, Czech Republic Abstract:

More information

Introduction to Algorithmic Trading Strategies Lecture 3

Introduction to Algorithmic Trading Strategies Lecture 3 Introduction to Algorithmic Trading Strategies Lecture 3 Pairs Trading by Cointegration Haksun Li haksun.li@numericalmethod.com www.numericalmethod.com Outline Distance method Cointegration Stationarity

More information

Advanced Econometrics

Advanced Econometrics Based on the textbook by Verbeek: A Guide to Modern Econometrics Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna May 2, 2013 Outline Univariate

More information

Multivariate Time Series: VAR(p) Processes and Models

Multivariate Time Series: VAR(p) Processes and Models Multivariate Time Series: VAR(p) Processes and Models A VAR(p) model, for p > 0 is X t = φ 0 + Φ 1 X t 1 + + Φ p X t p + A t, where X t, φ 0, and X t i are k-vectors, Φ 1,..., Φ p are k k matrices, with

More information

Test for Structural Change in Vector Error Correction Models 1

Test for Structural Change in Vector Error Correction Models 1 中京大学経済学論叢 25 号 24 年 3 月 Test for Structural Change in Vector Error Correction Models Junya MASUDA 2 Abstract In this paper we suggest a test for cointegration rank when change point is known and model

More information

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University EC48 Topics in Applied Econometrics B Fingleton, Dept of Economics, Strathclyde University Applied Econometrics What is spurious regression? How do we check for stochastic trends? Cointegration and Error

More information

A Test of Cointegration Rank Based Title Component Analysis.

A Test of Cointegration Rank Based Title Component Analysis. A Test of Cointegration Rank Based Title Component Analysis Author(s) Chigira, Hiroaki Citation Issue 2006-01 Date Type Technical Report Text Version publisher URL http://hdl.handle.net/10086/13683 Right

More information

07 Multivariate models: Granger causality, VAR and VECM models. Andrius Buteikis,

07 Multivariate models: Granger causality, VAR and VECM models. Andrius Buteikis, 07 Multivariate models: Granger causality, VAR and VECM models Andrius Buteikis, andrius.buteikis@mif.vu.lt http://web.vu.lt/mif/a.buteikis/ Introduction In the present chapter, we discuss methods which

More information

Cointegration Introduction. This is page 429 Printer: Opaque this

Cointegration Introduction. This is page 429 Printer: Opaque this 12 Cointegration This is page 429 Printer: Opaque this 12.1 Introduction The regression theory of Chapter 6 and the VAR models discussed in the previous chapter are appropriate for modeling I(0) data,

More information

Cointegration Lecture I: Introduction

Cointegration Lecture I: Introduction 1 Cointegration Lecture I: Introduction Julia Giese Nuffield College julia.giese@economics.ox.ac.uk Hilary Term 2008 2 Outline Introduction Estimation of unrestricted VAR Non-stationarity Deterministic

More information

Cointegration. Example 1 Consider the following model: x t + βy t = u t (1) x t + αy t = e t (2) u t = u t 1 + ε 1t (3)

Cointegration. Example 1 Consider the following model: x t + βy t = u t (1) x t + αy t = e t (2) u t = u t 1 + ε 1t (3) Cointegration In economics we usually think that there exist long-run relationships between many variables of interest. For example, although consumption and income may each follow random walks, it seem

More information

Vector Auto-Regressive Models

Vector Auto-Regressive Models Vector Auto-Regressive Models Laurent Ferrara 1 1 University of Paris Nanterre M2 Oct. 2018 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions

More information

VAR Models and Applications

VAR Models and Applications VAR Models and Applications Laurent Ferrara 1 1 University of Paris West M2 EIPMC Oct. 2016 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions

More information

The Effects of Ignoring Level Shifts on Systems Cointegration Tests

The Effects of Ignoring Level Shifts on Systems Cointegration Tests August 19, 2002 The Effects of Ignoring Level Shifts on Systems Cointegration Tests by Carsten Trenkler Sonderforschungsbereich 373 Humboldt-University Berlin Spandauer Str. 1 D-10178 Berlin Germany Tel.:

More information

Unit roots in vector time series. Scalar autoregression True model: y t 1 y t1 2 y t2 p y tp t Estimated model: y t c y t1 1 y t1 2 y t2

Unit roots in vector time series. Scalar autoregression True model: y t 1 y t1 2 y t2 p y tp t Estimated model: y t c y t1 1 y t1 2 y t2 Unit roots in vector time series A. Vector autoregressions with unit roots Scalar autoregression True model: y t y t y t p y tp t Estimated model: y t c y t y t y t p y tp t Results: T j j is asymptotically

More information

Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8]

Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8] 1 Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8] Insights: Price movements in one market can spread easily and instantly to another market [economic globalization and internet

More information

TESTING FOR CO-INTEGRATION

TESTING FOR CO-INTEGRATION Bo Sjö 2010-12-05 TESTING FOR CO-INTEGRATION To be used in combination with Sjö (2008) Testing for Unit Roots and Cointegration A Guide. Instructions: Use the Johansen method to test for Purchasing Power

More information

Questions and Answers on Unit Roots, Cointegration, VARs and VECMs

Questions and Answers on Unit Roots, Cointegration, VARs and VECMs Questions and Answers on Unit Roots, Cointegration, VARs and VECMs L. Magee Winter, 2012 1. Let ɛ t, t = 1,..., T be a series of independent draws from a N[0,1] distribution. Let w t, t = 1,..., T, be

More information

Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem

Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Prof. Massimo Guidolin 20192 Financial Econometrics Winter/Spring 2018 Overview Defining cointegration Vector

More information

Lecture 8a: Spurious Regression

Lecture 8a: Spurious Regression Lecture 8a: Spurious Regression 1 2 Old Stuff The traditional statistical theory holds when we run regression using stationary variables. For example, when we regress one stationary series onto another

More information

Econ 423 Lecture Notes: Additional Topics in Time Series 1

Econ 423 Lecture Notes: Additional Topics in Time Series 1 Econ 423 Lecture Notes: Additional Topics in Time Series 1 John C. Chao April 25, 2017 1 These notes are based in large part on Chapter 16 of Stock and Watson (2011). They are for instructional purposes

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

Estimation and Testing for Common Cycles

Estimation and Testing for Common Cycles Estimation and esting for Common Cycles Anders Warne February 27, 2008 Abstract: his note discusses estimation and testing for the presence of common cycles in cointegrated vector autoregressions A simple

More information

TESTING FOR CO-INTEGRATION PcGive and EViews 1

TESTING FOR CO-INTEGRATION PcGive and EViews 1 Bo Sjö 203--27 Lab 3 TESTING FOR CO-INTEGRATION PcGive and EViews To be used in combination with Sjö (203) Testing for Unit Roots and Cointegration A Guide and the special instructions below for EViews

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

Tests of the Co-integration Rank in VAR Models in the Presence of a Possible Break in Trend at an Unknown Point

Tests of the Co-integration Rank in VAR Models in the Presence of a Possible Break in Trend at an Unknown Point Tests of the Co-integration Rank in VAR Models in the Presence of a Possible Break in Trend at an Unknown Point David Harris, Steve Leybourne, Robert Taylor Monash U., U. of Nottingam, U. of Essex Economics

More information

Multivariate forecasting with VAR models

Multivariate forecasting with VAR models Multivariate forecasting with VAR models Franz Eigner University of Vienna UK Econometric Forecasting Prof. Robert Kunst 16th June 2009 Overview Vector autoregressive model univariate forecasting multivariate

More information

Moreover, the second term is derived from: 1 T ) 2 1

Moreover, the second term is derived from: 1 T ) 2 1 170 Moreover, the second term is derived from: 1 T T ɛt 2 σ 2 ɛ. Therefore, 1 σ 2 ɛt T y t 1 ɛ t = 1 2 ( yt σ T ) 2 1 2σ 2 ɛ 1 T T ɛt 2 1 2 (χ2 (1) 1). (b) Next, consider y 2 t 1. T E y 2 t 1 T T = E(y

More information

Numerically Stable Cointegration Analysis

Numerically Stable Cointegration Analysis Numerically Stable Cointegration Analysis Jurgen A. Doornik Nuffield College, University of Oxford, Oxford OX1 1NF R.J. O Brien Department of Economics University of Southampton November 3, 2001 Abstract

More information

Numerical Distribution Functions of. Likelihood Ratio Tests for Cointegration. James G. MacKinnon. Alfred A. Haug. Leo Michelis

Numerical Distribution Functions of. Likelihood Ratio Tests for Cointegration. James G. MacKinnon. Alfred A. Haug. Leo Michelis Numerical Distribution Functions of Likelihood Ratio Tests for Cointegration by James G. MacKinnon Department of Economics Queen s University Kingston, Ontario, Canada K7L 3N6 jgm@qed.econ.queensu.ca Alfred

More information

If there are multiple cointegrating relationships, there may be multiple

If there are multiple cointegrating relationships, there may be multiple Web Extension 7 Section 18.8 Multiple Cointegrating Relationships If there are multiple cointegrating relationships, there may be multiple error correction terms in the error correction specification.

More information

Econometrics II. Seppo Pynnönen. January 14 February 27, Department of Mathematics and Statistics, University of Vaasa, Finland

Econometrics II. Seppo Pynnönen. January 14 February 27, Department of Mathematics and Statistics, University of Vaasa, Finland Department of Mathematics and Statistics, University of Vaasa, Finland January 14 February 27, 2014 Feb 19, 2014 Part VI Cointegration 1 Cointegration (a) Known ci-relation (b) Unknown ci-relation Error

More information

Modeling Long-Run Relationships

Modeling Long-Run Relationships Modeling Long-Run Relationships Chapter 8 of Chris Brook s Book Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036 April

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference

More information

Bootstrapping the Grainger Causality Test With Integrated Data

Bootstrapping the Grainger Causality Test With Integrated Data Bootstrapping the Grainger Causality Test With Integrated Data Richard Ti n University of Reading July 26, 2006 Abstract A Monte-carlo experiment is conducted to investigate the small sample performance

More information

Cointegration and Error-Correction

Cointegration and Error-Correction Chapter 9 Cointegration and Error-Correction In this chapter we will estimate structural VAR models that include nonstationary variables. This exploits the possibility that there could be a linear combination

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

Lecture 8a: Spurious Regression

Lecture 8a: Spurious Regression Lecture 8a: Spurious Regression 1 Old Stuff The traditional statistical theory holds when we run regression using (weakly or covariance) stationary variables. For example, when we regress one stationary

More information

(Y jz) t (XjZ) 0 t = S yx S yz S 1. S yx:z = T 1. etc. 2. Next solve the eigenvalue problem. js xx:z S xy:z S 1

(Y jz) t (XjZ) 0 t = S yx S yz S 1. S yx:z = T 1. etc. 2. Next solve the eigenvalue problem. js xx:z S xy:z S 1 Abstract Reduced Rank Regression The reduced rank regression model is a multivariate regression model with a coe cient matrix with reduced rank. The reduced rank regression algorithm is an estimation procedure,

More information

Notes on Time Series Modeling

Notes on Time Series Modeling Notes on Time Series Modeling Garey Ramey University of California, San Diego January 17 1 Stationary processes De nition A stochastic process is any set of random variables y t indexed by t T : fy t g

More information

Final Exam November 24, Problem-1: Consider random walk with drift plus a linear time trend: ( t

Final Exam November 24, Problem-1: Consider random walk with drift plus a linear time trend: ( t Problem-1: Consider random walk with drift plus a linear time trend: y t = c + y t 1 + δ t + ϵ t, (1) where {ϵ t } is white noise with E[ϵ 2 t ] = σ 2 >, and y is a non-stochastic initial value. (a) Show

More information

E 4160 Autumn term Lecture 9: Deterministic trends vs integrated series; Spurious regression; Dickey-Fuller distribution and test

E 4160 Autumn term Lecture 9: Deterministic trends vs integrated series; Spurious regression; Dickey-Fuller distribution and test E 4160 Autumn term 2016. Lecture 9: Deterministic trends vs integrated series; Spurious regression; Dickey-Fuller distribution and test Ragnar Nymoen Department of Economics, University of Oslo 24 October

More information

Asymptotic theory for cointegration analysis when the cointegration rank is deficient

Asymptotic theory for cointegration analysis when the cointegration rank is deficient Asymptotic theory for cointegration analysis when the cointegration rank is deficient David Bernstein Department of Economics, University of Miami, Coral Gables, FL 33146, U.S. davebernstein1@gmail.com

More information

Econometrics. Week 11. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

Econometrics. Week 11. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Econometrics Week 11 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 30 Recommended Reading For the today Advanced Time Series Topics Selected topics

More information

Multivariate Time Series

Multivariate Time Series Multivariate Time Series Fall 2008 Environmental Econometrics (GR03) TSII Fall 2008 1 / 16 More on AR(1) In AR(1) model (Y t = µ + ρy t 1 + u t ) with ρ = 1, the series is said to have a unit root or a

More information

QED. Queen s Economics Department Working Paper No. 1273

QED. Queen s Economics Department Working Paper No. 1273 QED Queen s Economics Department Working Paper No. 1273 FCVARmodel.m: A Matlab software package for estimation and testing in the fractionally cointegrated VAR model Morten ßrregaard Nielsen Queen s University

More information

Econ 583 Homework 7 Suggested Solutions: Wald, LM and LR based on GMM and MLE

Econ 583 Homework 7 Suggested Solutions: Wald, LM and LR based on GMM and MLE Econ 583 Homework 7 Suggested Solutions: Wald, LM and LR based on GMM and MLE Eric Zivot Winter 013 1 Wald, LR and LM statistics based on generalized method of moments estimation Let 1 be an iid sample

More information

[y i α βx i ] 2 (2) Q = i=1

[y i α βx i ] 2 (2) Q = i=1 Least squares fits This section has no probability in it. There are no random variables. We are given n points (x i, y i ) and want to find the equation of the line that best fits them. We take the equation

More information

Testing Error Correction in Panel data

Testing Error Correction in Panel data University of Vienna, Dept. of Economics Master in Economics Vienna 2010 The Model (1) Westerlund (2007) consider the following DGP: y it = φ 1i + φ 2i t + z it (1) x it = x it 1 + υ it (2) where the stochastic

More information

7. Integrated Processes

7. Integrated Processes 7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider

More information

Stationarity and Cointegration analysis. Tinashe Bvirindi

Stationarity and Cointegration analysis. Tinashe Bvirindi Stationarity and Cointegration analysis By Tinashe Bvirindi tbvirindi@gmail.com layout Unit root testing Cointegration Vector Auto-regressions Cointegration in Multivariate systems Introduction Stationarity

More information

Econometric Methods for Panel Data

Econometric Methods for Panel Data Based on the books by Baltagi: Econometric Analysis of Panel Data and by Hsiao: Analysis of Panel Data Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies

More information

Switching Regime Estimation

Switching Regime Estimation Switching Regime Estimation Series de Tiempo BIrkbeck March 2013 Martin Sola (FE) Markov Switching models 01/13 1 / 52 The economy (the time series) often behaves very different in periods such as booms

More information

7. Integrated Processes

7. Integrated Processes 7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider

More information

E 4101/5101 Lecture 9: Non-stationarity

E 4101/5101 Lecture 9: Non-stationarity E 4101/5101 Lecture 9: Non-stationarity Ragnar Nymoen 30 March 2011 Introduction I Main references: Hamilton Ch 15,16 and 17. Davidson and MacKinnon Ch 14.3 and 14.4 Also read Ch 2.4 and Ch 2.5 in Davidson

More information

Empirical Market Microstructure Analysis (EMMA)

Empirical Market Microstructure Analysis (EMMA) Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg

More information

The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests

The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests Working Paper 2013:8 Department of Statistics The Number of Bootstrap Replicates in Bootstrap Dickey-Fuller Unit Root Tests Jianxin Wei Working Paper 2013:8 June 2013 Department of Statistics Uppsala

More information

by Søren Johansen Department of Economics, University of Copenhagen and CREATES, Aarhus University

by Søren Johansen Department of Economics, University of Copenhagen and CREATES, Aarhus University 1 THE COINTEGRATED VECTOR AUTOREGRESSIVE MODEL WITH AN APPLICATION TO THE ANALYSIS OF SEA LEVEL AND TEMPERATURE by Søren Johansen Department of Economics, University of Copenhagen and CREATES, Aarhus University

More information

Time Series Forecasting Model for Chinese Future Marketing Price of Copper and Aluminum

Time Series Forecasting Model for Chinese Future Marketing Price of Copper and Aluminum Georgia State University ScholarWorks @ Georgia State University Mathematics Theses Department of Mathematics and Statistics 11-18-2008 Time Series Forecasting Model for Chinese Future Marketing Price

More information

Stock Prices, News, and Economic Fluctuations: Comment

Stock Prices, News, and Economic Fluctuations: Comment Stock Prices, News, and Economic Fluctuations: Comment André Kurmann Federal Reserve Board Elmar Mertens Federal Reserve Board Online Appendix November 7, 213 Abstract This web appendix provides some more

More information

1 Phelix spot and futures returns: descriptive statistics

1 Phelix spot and futures returns: descriptive statistics MULTIVARIATE VOLATILITY MODELING OF ELECTRICITY FUTURES: ONLINE APPENDIX Luc Bauwens 1, Christian Hafner 2, and Diane Pierret 3 October 13, 2011 1 Phelix spot and futures returns: descriptive statistics

More information

Testing for non-stationarity

Testing for non-stationarity 20 November, 2009 Overview The tests for investigating the non-stationary of a time series falls into four types: 1 Check the null that there is a unit root against stationarity. Within these, there are

More information

Oil price and macroeconomy in Russia. Abstract

Oil price and macroeconomy in Russia. Abstract Oil price and macroeconomy in Russia Katsuya Ito Fukuoka University Abstract In this note, using the VEC model we attempt to empirically investigate the effects of oil price and monetary shocks on the

More information

Lecture 7a: Vector Autoregression (VAR)

Lecture 7a: Vector Autoregression (VAR) Lecture 7a: Vector Autoregression (VAR) 1 2 Big Picture We are done with univariate time series analysis Now we switch to multivariate analysis, that is, studying several time series simultaneously. VAR

More information

Volume 03, Issue 6. Comparison of Panel Cointegration Tests

Volume 03, Issue 6. Comparison of Panel Cointegration Tests Volume 03, Issue 6 Comparison of Panel Cointegration Tests Deniz Dilan Karaman Örsal Humboldt University Berlin Abstract The main aim of this paper is to compare the size and size-adjusted power properties

More information

Recent Advances in Cointegration Analysis

Recent Advances in Cointegration Analysis EUROPEAN UNIVERSITY INSTITUTE DEPARTMENT OF ECONOMICS EUI Working Paper ECO No. 2004 /12 Recent Advances in Cointegration Analysis HELMUT LÜTKEPOHL BADIA FIESOLANA, SAN DOMENICO (FI) All rights reserved.

More information

Residual Autocorrelation Testing for Vector Error Correction Models 1

Residual Autocorrelation Testing for Vector Error Correction Models 1 November 18, 2003 Residual Autocorrelation Testing for Vector Error Correction Models 1 Ralf Brüggemann European University Institute, Florence and Humboldt University, Berlin Helmut Lütkepohl European

More information

1 Regression with Time Series Variables

1 Regression with Time Series Variables 1 Regression with Time Series Variables With time series regression, Y might not only depend on X, but also lags of Y and lags of X Autoregressive Distributed lag (or ADL(p; q)) model has these features:

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY PREFACE xiii 1 Difference Equations 1.1. First-Order Difference Equations 1 1.2. pth-order Difference Equations 7

More information

Consider the trend-cycle decomposition of a time series y t

Consider the trend-cycle decomposition of a time series y t 1 Unit Root Tests Consider the trend-cycle decomposition of a time series y t y t = TD t + TS t + C t = TD t + Z t The basic issue in unit root testing is to determine if TS t = 0. Two classes of tests,

More information

Discussion Papers in Economics and Econometrics

Discussion Papers in Economics and Econometrics Department of Economics University of Southampton Southampton SO17 1BJ UK Discussion Papers in Economics and Econometrics OMITTED VARIABLES IN COINTEGRATION ANALYSIS Nicoletta Pashourtidou No. 0304 This

More information

Further results on weak-exogeneity in vector error correction models

Further results on weak-exogeneity in vector error correction models Further results on weak-exogeneity in vector error correction models Christophe RAULT (EPEE, University of Evry and EUREQua, Sorbonne University) December 16, 2003 Abstract This paper provides a necessary

More information

Modelling Electricity Demand in New Zealand

Modelling Electricity Demand in New Zealand Modelling Electricity Demand in New Zealand Market performance enquiry 14 April 2014 Market Performance Version control Version Date amended Comments 1.0 15 April 2014 1 st draft i 20 March 2015 12.39

More information

THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI

THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI 92 Multiple Criteria Decision Making XIII THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI Abstract: The paper verifies the long-run determinants

More information

Cointegration Tests Using Instrumental Variables with an Example of the U.K. Demand for Money

Cointegration Tests Using Instrumental Variables with an Example of the U.K. Demand for Money Cointegration Tests Using Instrumental Variables with an Example of the U.K. Demand for Money Walter Enders Kyung So Im Junsoo Lee May 20, 2008 Abstract In this paper, we propose new cointegration tests

More information

Stationary and nonstationary variables

Stationary and nonstationary variables Stationary and nonstationary variables Stationary variable: 1. Finite and constant in time expected value: E (y t ) = µ < 2. Finite and constant in time variance: Var (y t ) = σ 2 < 3. Covariance dependent

More information

New Introduction to Multiple Time Series Analysis

New Introduction to Multiple Time Series Analysis Helmut Lütkepohl New Introduction to Multiple Time Series Analysis With 49 Figures and 36 Tables Springer Contents 1 Introduction 1 1.1 Objectives of Analyzing Multiple Time Series 1 1.2 Some Basics 2

More information

Unit Root and Cointegration

Unit Root and Cointegration Unit Root and Cointegration Carlos Hurtado Department of Economics University of Illinois at Urbana-Champaign hrtdmrt@illinois.edu Oct 7th, 016 C. Hurtado (UIUC - Economics) Applied Econometrics On the

More information

Lecture 7a: Vector Autoregression (VAR)

Lecture 7a: Vector Autoregression (VAR) Lecture 7a: Vector Autoregression (VAR) 1 Big Picture We are done with univariate time series analysis Now we switch to multivariate analysis, that is, studying several time series simultaneously. VAR

More information

Models of Stationary & Non-Stationary Time Series

Models of Stationary & Non-Stationary Time Series POLS/CSSS 503 Advanced Quantitative Political Methodology Models of Stationary & Non-Stationary Time Series Christopher Adolph University of Washington, Seattle May 19, 2011 Assistant Professor, Department

More information

Out of Bounds? Testing for Long Run Relationships under Uncertainty Over Univariate Dynamics

Out of Bounds? Testing for Long Run Relationships under Uncertainty Over Univariate Dynamics Out of Bounds? Testing for Long Run Relationships under Uncertainty Over Univariate Dynamics Clayton McLaughlin Webb Department of Political Science University of Kansas Lawrence, KS 66045 Email: webb767@ku.edu

More information

A Modified Information Criterion for Cointegration Tests based on a VAR Approximation

A Modified Information Criterion for Cointegration Tests based on a VAR Approximation A Modified Information Criterion for Cointegration Tests based on a VAR Approximation Zhongjun Qu University of Illinois at Urbana-Champaign Pierre Perron Boston University This version: September 18,

More information

QED. Queen s Economics Department Working Paper No Improved Likelihood Ratio Tests for Cointegration Rank in the VAR Model

QED. Queen s Economics Department Working Paper No Improved Likelihood Ratio Tests for Cointegration Rank in the VAR Model QED Queen s Economics Department Working Paper No. 1297 Improved Likelihood Ratio Tests for Cointegration Rank in the VAR Model H. Peter Boswijk University of Amsterdam Michael Jansson UC Berkeley and

More information

Title. Description. var intro Introduction to vector autoregressive models

Title. Description. var intro Introduction to vector autoregressive models Title var intro Introduction to vector autoregressive models Description Stata has a suite of commands for fitting, forecasting, interpreting, and performing inference on vector autoregressive (VAR) models

More information

Generalized Reduced Rank Tests using the Singular Value Decomposition

Generalized Reduced Rank Tests using the Singular Value Decomposition Generalized Reduced Rank Tests using the Singular Value Decomposition Frank Kleibergen Department of Quantitative Economics University of Amsterdam Richard Paap Econometric Institute Erasmus University

More information

MA Advanced Econometrics: Applying Least Squares to Time Series

MA Advanced Econometrics: Applying Least Squares to Time Series MA Advanced Econometrics: Applying Least Squares to Time Series Karl Whelan School of Economics, UCD February 15, 2011 Karl Whelan (UCD) Time Series February 15, 2011 1 / 24 Part I Time Series: Standard

More information

The purpose of this section is to derive the asymptotic distribution of the Pearson chi-square statistic. k (n j np j ) 2. np j.

The purpose of this section is to derive the asymptotic distribution of the Pearson chi-square statistic. k (n j np j ) 2. np j. Chapter 9 Pearson s chi-square test 9. Null hypothesis asymptotics Let X, X 2, be independent from a multinomial(, p) distribution, where p is a k-vector with nonnegative entries that sum to one. That

More information

Univariate Nonstationary Time Series 1

Univariate Nonstationary Time Series 1 Univariate Nonstationary Time Series 1 Sebastian Fossati University of Alberta 1 These slides are based on Eric Zivot s time series notes available at: http://faculty.washington.edu/ezivot Introduction

More information

Market efficiency of the bitcoin exchange rate: applications to. U.S. dollar and Euro

Market efficiency of the bitcoin exchange rate: applications to. U.S. dollar and Euro Market efficiency of the bitcoin exchange rate: applications to U.S. dollar and Euro Zheng Nan and Taisei Kaizoji International Christian University 3-10-2 Osawa, Mitaka, Tokyo 181-8585 1 Introduction

More information

Statistics 910, #5 1. Regression Methods

Statistics 910, #5 1. Regression Methods Statistics 910, #5 1 Overview Regression Methods 1. Idea: effects of dependence 2. Examples of estimation (in R) 3. Review of regression 4. Comparisons and relative efficiencies Idea Decomposition Well-known

More information

Booth School of Business, University of Chicago Business 41914, Spring Quarter 2017, Mr. Ruey S. Tsay Midterm

Booth School of Business, University of Chicago Business 41914, Spring Quarter 2017, Mr. Ruey S. Tsay Midterm Booth School of Business, University of Chicago Business 41914, Spring Quarter 2017, Mr. Ruey S. Tsay Midterm Chicago Booth Honor Code: I pledge my honor that I have not violated the Honor Code during

More information

FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE -MODULE2 Midterm Exam Solutions - March 2015

FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE -MODULE2 Midterm Exam Solutions - March 2015 FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE -MODULE2 Midterm Exam Solutions - March 205 Time Allowed: 60 minutes Family Name (Surname) First Name Student Number (Matr.) Please answer all questions by

More information

Linear models and their mathematical foundations: Simple linear regression

Linear models and their mathematical foundations: Simple linear regression Linear models and their mathematical foundations: Simple linear regression Steffen Unkel Department of Medical Statistics University Medical Center Göttingen, Germany Winter term 2018/19 1/21 Introduction

More information