Cointegration - general discussion

Size: px
Start display at page:

Download "Cointegration - general discussion"

Transcription

1 Coint - 1 Cointegration - general discussion Definitions: A time series that requires d differences to get it stationary is said to be th "integrated of order d". If the d difference has p AutoRegressive and q Moving Average terms, the differenced series is said to be ARMA(p,q) and the original Integrated series to be ARIMA(p,d,q). To series X t and Y t that are integrated of order d may, through linear combination, produce a series +\ >,] > hich is stationary (or integrated of order smaller than d) in hich case e say that \ > and ] > are cointegrated and e refer to Ð+ß,Ñ as the cointegrating vector. Granger and Weis discuss this concept and terminology. An example: For example, if \ > and ] > are ages in to similar industries, e may find that both are unit root processes. We may, hoever, reason that by virtue of the similar skills and easy transfer beteen the to industries, the difference \ > - ] > cannot vary too far from 0 and thus, certainly should not be a unit root process. The cointegrating vector is specified by our theory to be Ð"ß "Ñ or Ð "ß "Ñ, or Ð-ß -Ñ all of hich are equivalent. The test for cointegration here consists of simply testing the original series for unit roots, not rejecting the unit root null, then testing the \ > - ] > series and rejecting the unit root null. We just use the standard D-F tables for all these tests. The reason e can use these D-F tables is that the cointegrating vector as specified by our theory, not estimated from the data. Numerical examples: ] œ E] I > > > 1. Bivariate, stationary: ]"> "Þ# Þ$ ]"ß> /"> Œ œ ] 0Þ% 0Þ& Œ ] Œ / ß #> #ß> #>! % " I > µ R Œ ß! Œ " $ E "Þ# - Þ$ # -M œ º œ - "Þ(- Þ' Þ"# œ Ð- Þ*ÑÐ- Þ)Ñ Þ% Þ& - º this is =>+>398+<C Ðnote I > distribution has no impact )

2 Coint Bivariate, nonstationary: Œ ]"> "Þ# Þ& 02 0 Œ ]"ß> Œ /"> œ ] Þ Þ& ] / ß #> #ß> #> E - M œ º "Þ# - Þ5 œ "Þ( Þ' Þ" œ Ð ÑÐ Þ Ñ Þ Þ& - º - # this is a?83> <99> :<9-/== Using the spectral decomposition (eigenvalues, vectors) of A e have Þ& Î È "Þ"' "Î È # È È È È œ Î "Þ"' "Î # È È!!Þ#!Þ&!!Þ( Þ%Î "Þ"' "Î # Þ%Î "Þ"' "Î # E X œ X? > > > X ] œ ÐX EX ÑX ] X I œ? ( > > > components of the > vector: "ß> œ "ß> ("ß> ></8. (unit root) œ 0.7 ( (stationary root) 2ß> 2ß> 2ß> ] œ A A œ "Î È"Þ"' "Î È "ß> " "ß> # #ß> "ß> # #ß> ] œ A A œ Þ%Î È"Þ"' "Î È Ÿ # 2 ß> $ "ß> % #ß> "ß> #ß> <- share "common trend" " " œ > X ] > so that last ro of X is cointegrating vector. Notice that Ais not symmetric and X Á X Þ

3 Coint - 3 Engle - Granger method This is one of the earliest and easiest to understand treatments of cointegration. ] œ A A ] œ A A "ß> " "ß> # #ß> 2ß> $ "ß> % #ß>! 2 Z! 2 Z 1 8# : 8# : n 1,t 2,t here is O Ð"Ñ and is O Ð Ñ so if e regress ] on ] our regression coefficient is "ß> #ß> n -2! Y1tY2t t=1 n n-2! Y2 2t t=1 n -2 n! 2 " AA " $ Z 1,t O: Ð Ñ A " n-2 A#! Z2 " O Ð Ñ A : È8 È8 " = œ + O Ð Ñ $ 1,t : È8 $ and our residual series is thus approximately A ÒA $ Y1t- A " Y2t Ó œ $ ÐA# AAÎAÑ " % $ #>, a stationary series. Thus a simple regression of ]"ß> on ]#ß> gives an estimate of the cointegrating vector and a test for cointegration is just a test that the residuals are stationary. Let the residuals be < >. Regress < > < > on < > (and possibly some lagged differences). Can e compare to our D-F tables? Engle and Granger argue that one cannot do so. " The null hypothesis is that there is no cointegration, thus the bivariate series has 2 unit roots and no linear combination is stationary. We have, in a sense, looked through all possible linear combinations of ]"ß> and ]#ß> finding the one that varies least (least squares) and hence the one that looks most stationary. It is as though e had computed unit root tests for all possible linear combinations then selected the one most likely to reject. We are thus in the area of order statistics. (If you report the minimum heights from samples of 10 men each, the distribution of these minimae ill not be the same as the distribution of heights of individual men nor ill the distribution of unit root tests from these "best" linear combinations be the same as the distribution you ould get for a pre specified linear combination). Engle and Granger provide adjusted critical values. Here is a table comparing their E-G tables to our D-F tables for n=100. E-G used an augmented regression ith 4 lagged differences and an intercept to calculate a t statistic 7. so keep in mind that part of the discrepancy is due to finite sample effects of the (asymptotically negligible) lagged differences. Prob of smaller 7. : E-G D-F

4 Coint - 4 Example: P = cash price on delivery date, Texas steers t F = Futures price t (source: Ken Mathes, NCSU Ag. Econ.) Data are bimonthly Feb. '76 through Dec. '86 (60 obs.) 1. Test individual series for integration 5 fp = P + t t-1! " fp t-i 7. (D-F) = = i=1 5 i ff = F + t t-1! " ff t-i 7. (D-F) = = i=1 each series is integrated, cannot reject at 10% 2. Regress F on P : F t t t = P t, residual Rt i fr = R (E-G) = = t t-1 Thus, ith a bit of rounding, F t P t is stationary The Engle-Granger method requires the specification of one series as the dependent variable in the bivariate regression. Fountis and Dickey (Annals of Stat.) study distributions for the multivariate system. If ] œ E] I then ] ] œ ÐM E Ñ] I > > > > > > > We sho that if the true series has one unit root then the root of the least squares estimated matrix M E that is closest to 0 has the same limit distribution, after multiplication by n, as the standard D-F tables and e suggest the use of the eigenvectors of M E to estimate the cointegrating vector. The only test e can do ith this is the null of one unit root versus the alternative of stationarity. Johansen's test, discussed later, extends this in a very nice ay. Our result also holds for higher dimension models, but requires the extraction of roots of the estimated characteristic polynomial. For the Texas steer futures data, the regression gives f P> "Þ(( "Þ'* Œ f œ 5.3 P> F 6.9 "Þ!$!Þ*$ Œ F $ lagged differences > >

5 Coint - 5 here "Þ(( "Þ'* "Þ!$!Þ*$ indicating that.69 P> 0.72 F t is stationary. This is about.7 times the difference so the to methods agree that P F is stationary, as is any multiple of it. Johansen's Method > > This method is similar to that just illustrated but has the advantage of being able to test for any number of unit roots. The method can be described as the application of standard multivariate calculations in the context of a vector autoregression, or VAR. The test statistics are those found in any multivariate text. Johansen's idea, like in univariate unit root tests, is to get the right distribution for these standard calculated statistics. The statistics are standard, their distributions are not. We start ith just a lag one model ith mean 0 (no intercept). f] œ C ] I here ] is a p-dimensional column vector as is I > > > > > assume E Ö II œ > > A Þ H! Ô À C œ!" œ Õ Ø :B< c d <B: <œ! Ê all linear combinations nonstationary <œ: Ê all linear combinations stationary 0 < < : Êcointegration Note: for any C there are infinitely many!, " such that C œ!" [because!" =! XX " Ó so e do not test hypotheses about! and ", only about the rank r. No define sums of squares and cross products: > > f] ] f] W W ] Œ W W >!!!" > "! "" for example: W =!] ] "" 8 >œ" > > No rite don likelihood (conditional on ] 0 = 0 ) " " _ = /B:Ö! Ðf] C] Ñ A Ðf] C] Ñ Ð# Ñ la l # >œ" 1 8: # 8 # 8 > > > >

6 Coint - 6 If C is assumed to be full rank ( r = p) then the likelihood is maximized at the usual estimate - the least squares regression estimate and 8 8 C =! Ðf Ñ! ] ] ] ] œ W W >œ" 8 " 8 >œ" > > > >!" >œ" = A!Ðf] C] ÑÐf] C] Ñ œ W C W C "" > > > >!! "" H! À r stationary linear combinations of ] > (linearly indep.) and thus (p-r) unit root linear combinations H 0 À r "cointegrating vectors" and (p-r) "common trends"! :B< :B< H À C œ!" ith! and " So far e have the unrestricted estimate ( C, A ) and can evaluate likelihood there. Principle of likelihood ratio requires that e maximize the likelihood for C œ!" and compare to the unrestricted maximum. That is, e no ant to maximize " " _ = /B: Ö! Ðf] +!" ] Ñ A Ðf] +!" ] Ñ Ð# Ñ la l # >œ" 1 8: # 8 # 8 > > > > Step 1: ] > For any given " e can compute " and find the corresponding! by regression in the model f] =! (" ] ) + I and this is simply > > > 8 8! Ð" Ñ =! Ðf " Ñ! ] ] Ð" ] ] " Ñ >œ" > > > >œ" Step 2: Search over " for maximum. To do this, plug! Ð" Ñ into the likelihood function hich no becomes a function of " and A. No recall (from general regression) that >

7 Coint " 8 # 8 # exp š - ><+-/ Ò \ Ð \\ Ñ \ Ó œ exp š - ><+-/ Ò Ð\\ Ñ \\ Ó œ 8: exp{ - # here exp is the exponential function and p=rank( \). In our case \ has t ro Ðf] > +!" ] > Ñ and by our usual maximum likelihood arguments e ill, for any given ", estimate A by ( ) = n \\ so that _ = " A" Ð# 1Ñ 8: la" l # # 8 8: # ( ) /B: Ö Our goal no is to maximize _ hich e ould do by minimizing la" ( ) l. Step 2 a Minimize la" ( ) lœlw W " Ð" W " Ñ " W l Recall for a 2x2 matrix e have!!!" "" "! +,.Ð+,. -Ñ º -. º œ+.,- œ +Ð. - +,Ñ and similarly for the determinant of a partitioned matrix. Thus W!! W!" " W l º W W º œ la" s Ð Ñll " """ " "! " """ lw l l " W " " W W W " l!! "" "!!!!" >2 so our problem no becomes: ls A" Ð Ñl l " W " W W W " l "" "!!!!" Mi n lw l Ê Mi n!! l " W"" " l œ " " Recall: Cholesky Root W"" p.s.d. and symmetric Ê W"" = Y Y = Î ÑÎ Ñ Ï ÒÏ Ò ÐY upper triangular) SAS: PROC IML; U=ROOT(S11); * = l " Y Ð M Ð Y Ñ W "! W!! W!" Y Ñ Y " l l" YY" l Note: We have seen that C =!" allos a lot of flexibility in choosing the columns of ". (Corresponding adjustments in! ill preserve C.) We choose " Y Y" = M.

8 Coint - 8 Let œ Y" Ò " œ Y Ó Fact: >2 ' 3 = i column of Z is eigenvector of symmetric matrix so can get it in SAS. "!!!!" ÐM ÐY Ñ W W W Y Ñ œ ><3bþ (1) Cholesky on W "" "!!!!" (2) ÐY Ñ W W W Y (3) EIGENVECTORS ', EIGENVALUES (- - - â - Ñ Ð%Ñ s " œy 3 " # $ : Get by regressing on ( Ð&Ñ f ) : œ Ð s s! ] " ]! " W " Ñ Ð " s > > "" W"! Ñ * Note: eigenvalues are called "squared canonical correlations" beteen f] > and ] >. PROC CANCOR ill compute these for you. Testing Maximized _ unconditionally Maximized _ under H!Þ No look at 635/ <+>39 >/=>. Summary (1) Choose " s to minimize la s Ð" Ñl (2) Y invertible so any " s is expressible as " s = Y for some choice of. (3) Length of " s vector is arbitrary so e can specify œmþ Ð%Ñ Pick to minimize l ÐY Ñ Ð W!! W!" W"" W"! ÑY l and thus ould be picked as the matrix hose columns are those associated ith the smallest (1-- 3 Ñß that is, the largest "squared canonical correlations" - 3 Þ H! À r Ÿ r! H À r r "! 8Î# 7+B H! Ð_ Ñ la" l 3œ" PVX = = œ œ Ò # Ð" - Ñ Ó 7+B H H Ð_ Ñ! " # s Ð" -3Ñ las! l 8Î# # Ð" - Ñ : 3œ" 8Î# <! 3! : 3œ< 3 8Î#

9 Coint - 9 No in standard likelihood ratio testing e often take the log of the likelihood ratio. The reason for this is that it often leads to a Chi-square limit distribution. There is no hope of that happening in this nonstandard case, but Johansen still follos that tradition, : 8 suggesting that e reject hen! # 68 Ð" -3Ñ is small, that is e ill reject hen 3œ r! : 8! 68Ð" - Ñ is large here â> - 3œr! 3 r r # r $ :!!! are the p-r! =7+66/=> squared canonical correlations. This is Johansen's "trace" test. To keep things straight You use the smallest squared canonical correlations thus making large (nearer 1) and hence making -n D68(1-- 3 Ñ small (i.e. you select the - 3 that best protect H! Ñ In a later article, Johansen notes that you may have better poer if you opt to test H! À r=r! versus H" À r=r! +1 and thus use the largest (- r! ) of the smallest -'s. This is Johansen's "maximal eigenvalue test." 2. Under H! 9< H " you have at least r! cointegrating vectors and hence at most p-r! "common trends." Therefore rejection of the null hypothesis means you have found yet another cointegrating vector. 3. The interpretation of a cointegrating vector is that you have found a linear combination of your vector components that cannot vary too far from 0 (i.e. you have a "la" that cannot be too badly violated). A departure from this relationship ould be called an "error" and if e start at any point and forecast into the future ith this model, the forecasts ill eventually satisfy the relationship. Therefore this kind of model is referred to as an "error correction" model. Example: Z "> = Z" ß> e "> We observe Y"> œ Z"> Þ* Z#> Z =.8 Z ß e Y œ Z Þ' Z 2> 2 > 2> #> "> #> Notice that Y"> Y #> œ "Þ& Z#> is stationary so e are saying that Y"> can't ander too far from Y #> and yet both Y> s are nonstationary. They are andering around, but andering around together, you might say. No in practice e ould just observe the Y's. Notice that "! > = Œ > I> Ê! Þ)

10 Coint - 10 " Þ* "! " Þ* ] œ Œ Œ Œ ] " Þ'! Þ) " Þ' > > 893=/ Ð/B+->6CÑ Þ)) Þ"# œ Œ 893=/ Þ!) Þ*# ] > No suppose Y "> œ"# and Y #> = 2. These are not very close to each other and thus are in violation of the equilibrium condition Y"> œ Y #>. In the absence of future shocks, does the model indicate that this "error" ill "correct" itself? Error correction: The next period e forecast Þ)) Þ"# "# "!Þ) ] > + " = Œ Œ = hose components Þ!) Þ*# 2 Œ #Þ) are closer together. Þ)) Þ"# Our to step ahead forecast is Œ Œ = and continuing one Þ!) Þ*# 2.8 Œ 3.44 "! &! finds that Œ Þ)) Þ"# Œ "# and = 2 œ Œ 'Þ'%% Œ Þ)) Þ"# Œ "# 2 Œ 'Þ!!!" Þ!) Þ*# &Þ("" Þ!) Þ*# &Þ***" Let us take this example a step further. Modeling the changes in the series as a function of the lagged levels, e have f ] œ Þ)) -1 Þ"# > Œ 893=/ Þ!) Þ*# ] > -1 Þ"# œ Œ a" b ] > 893=/ Þ!) so e see that the discrepancy from equilibrium a" b ] >, hich in our case is 10, is computed then.12 times this is subtracted from Y " and.08 times this is added to Y #. The "speed of adjustment" is thus faster in Y " and e end up farther from the original Y " than from the original Y #Þ Also, although the model implies (assuming 0 initial condition) that E{Y" œe{y #} = 0, there is nothing draing the series back toard their theoretical means (0). Shocks to this series have a permanent effect on the levels of the series, but only a temporary effect on the relationship (equality in this model) beteen the series components.

11 Coint - 11 Remaining to do: Q1: What are the critical values for the test? Q2: What if e have more than 1 lag? Q3: What if e include intercepts, trends, etc. Q1. Usually the likelihood ratio test has a limit Chi-square distribution. For example a % % _ # 1 # _ # regression F 8 test is such that 4F 8 Ä ;%. Also F 8= t Ä is a special case. No e have seen that the t statistic, 7, has a nonstandard limit distribution expressible as a functional of Bronian Motion FÐ>Ñ on [0,1]. We found: 7 = " " #! FÐ>Ñ.FÐ>Ñ # ÒF Ð"ÑÓ " " œ " " # #!! ' Ò' F# Ð>Ñ.>Ó Ò' F# Ð>Ñ.>Ó and e might thus expect Johansen's test statistic to converge to a multivariate analogue of this expression. Indeed, Johansen proved that his likelihood ratio (trace) test converges to a variable that can be expressed as a functional of a vector valued Bronian Motion ith independent components (channels) as follos (i.e. the error term has variance matrix I5 # Ñ _ " LRT Ä trace œ[ ' " Ð>Ñ. Ð>Ñ ] [ ' " F F FÐ>Ñ F Ð>Ñ.> ] [' FÐ>Ñ. FÐ>Ñ]!!! For a Bronian motion of dimension m = 1,2,3,4,5 (Table 1, page 239 of Johansen) he computes the distribution of the LRT by Monte Carlo. Empirically he notes that these percentiles are quite close to the percentiles of c; # 0 here f=2m # and c= /f. We ill not repeat Johansen's development of the limit distribution of the LRT but ill simply note that it is hat ould be expected by one familiar ith the usual limit results for F statistics and ith the nonstandard limit distributions that arise ith unit root processes. As one might expect, the m=1 case can be derived from the 7 distribution. Q2. What happens in higher order processes? ] > œ E "] > E #] > # E $ ] > $ â E 5 ] > 5 I> f] œ ( M E E2 â E Ñ] ÐE + E + â+ E Ñf] ÐE + E + â+ E Ñf] â E f] I > " 5 > # $ 5 > hich has the form $ % 5 > # 5 > 5 > f] œ ( M E E2 â E Ñ] F f] Ff] â Ff] I > " 5 > " > $ > # 5 > 5 >

12 Coint # The characteristic equation is Mm E" m E2m â E5l œ!þ No if m=1 is a root of this, e have M E" E2 â E5 = 0. The number of unit roots in the system is the number of 0 roots for the matrix ( M -E"-E2-â E5Ñand the rank of this matrix is the number of cointegrating vectors. I am assuming a vector autoregression in hich each component has at most one unit root (i.e. differencing makes each component stationary) here. While this parameterization most closely resembles the usual unit root testing frameork, Johansen chooses an equivalent ay to parameterize the model, placing the lagged levels at lag k instead of lag 1. His model is ritten: f] œ ( M E Ñf] â ( M E E2 â E -1 Ñf] + (M E E â E Ñ] I > " > " 5 > 5 " " 2 5 > 5 > and he is checking the rank of C = ( M E" E2 â E5Ñ. Recall: Regression can be done in 3 steps. Suppose e are regressing ] on \" ß\ # ß âß\ 5, \ 5and e are interested in the coefficient (matrix) of. We can get that coefficient matrix in 3 steps: \ 5 Step 1: Regress ] on \" ß\ # ß âß\ residuals R] Step 2: Regress \ 5 on \" ß\ # ß âß\ residuals Rk Step 3: Regress R on R -- gives same coefficient matrix as in full regression. ] k so Johansen does the folloing in higher order models: Step 1: Regress f] on f] ß f] ß âß f] residuals R Step 2: Regress ] on f] ß f] ß âß f] residuals R Step 3: Squared canonical correlations beteen R on R > > > # > 5 " f > 5 > > # > 5 " 5 ] k The idea is very nice. Johansen maximizes the likelihood for any C 5 ith respect to the other parameters by performing steps 1 and 2. Having done this, he's back to a lag 1 type of problem. By analogy, if in ordinary unit root testing the null hypothesis ere true, you could estimate the autoregressive coefficients consistently by regressing the first difference on the lagged first differences. Having these estimates,!s 3, you could compute a "filtered" version of ], namely Z s > œ ] >! s "] > â! s :] > : and under the null hypothesis, Z > œ] >!"] > â!:] > : is a random alk so you could regress Z s on Z s > >-1 and, in large samples, compare the results to our D-F unit root tables both for the coefficient and t statistic. Note that all of Johansen's statistics are multivariate analogues of 7 - there is nothing like the "normalized bias test" n( 3-1).

13 Coint - 13 Example: > " > # > # $ > $ > > "> #> $> %> ] œ E ] E ] E ] I, ] œ Ð] ß] ß] ß] Ñ "!! observations Step 1: Regress f] > on f] > ß f] > # Step 2: Regress ] > 3 on f] > ß f] > # Step 3: Squared canonical correlations 0.010, 0.020, 0.08, Test H! À r =! vs. H ": r > 0. r! = 0, p=4, so use 4-0 = 4 smallest canonical correlations. LRT = -100 [ 68(0.99) 68(0.98) 68(0.92) 68Ð0.54) ] = Johansen, Table 1, gives critical value for m=4 (H! implies m=4 common trends) Critical value is Reject H!Þ There is at least 1 cointegrating vector. Test H! À r = 1 vs. H ": r > 1. r! = 1, p=4, so use 4-1 = 3 smallest canonical correlations. LRT = -100 [ 68(0.99) 68(0.98) 68(0.92) ] = (look in Johansen's table under m=3 common trends) Critical value is Do not reject H!Þ There are no more cointegrating vectors. Q3 Johansen later rote a paper addressing the intercept case. The trend issue is a bit tricky as is true in the univariate case. Even the intercept case has some interesting features in terms of ho intercepts in the model for the observed series translate into the underlying canonical series (common trends). An additional note: We are used to taking -2 68Ð_ Ñ in maximum likelihood estimation and likelihood ratio testing. We do this because, under certain regularity conditions, it produces test statistics ith standard limiting distributions, (Chi-square usually). In this case, e do not have the required regularity conditions for the test of r (number of cointegrating vectors) otherise, Johansen ould not have needed to do any ne tabulations. Because this is the case, Johansen could have opted to use other functions of the eigenvalues such as n! - in place of his -n! 68Ð" - Ñ statistic. We 3 3 sho (for the case of a uinivariate series - just one -) that both of these statistics converge to the same distribution and it is the distribution 7 # Þ First note that for the series ] œ ] / e have ] œ ] ] œ / so our regression MSE is > > > > > > >!/ Î8 œ W! ÊQWIÎ ] œ È > #!!, our standard error is # > W!! ÎÐ8 W"" Ñ and 3 " = W ÎW!" "" so

14 Coint œ 3 W!" ÎW"" œ QWIÎ!] # ÈW!! ÎÐ8W"" Ñ Ê > 7 È8 œ W ÈW!"!! W"" No the "Cholesky root" of the univariate variable S"" is, of course, just ÈW"" and Johansen looks at the matrix È W!" " W!" W ( 1 - ) ÈW = "" ÈW W W ""!! È "" "" È 7 W"" ( 1 - # ÑÈ 8 W"" calling its eigenvalues 1--3 Þ We see immediately that 8-3 is just 7 # so e already kno its distribution (the multivariate cases are analogous). This also shos that - 3 = S : Ð"Î8Ñ so if e expand Johansen's statistic, using the Taylor series for 68Ð" BÑ expanded around B œ!, e then have " 3 "! 3 : 8 68Ð" - Ñ œ 8Ð 68Ð"Ñ Ð - Ñ S Ð"Î8 Ñ Ñ from hich e see that 8 68Ð" -3Ñ œ 8-3 S: Ð"Î8Ñ proving, as claimed, that these to statistics have the same limit distribution (of course there are some extra details needed for the multivariate case). Notice that for a single - these to statistics are monotone transforms of each other so even in finite samples, provided e had the right distributions, they ould give exactly equivalent tests. For the more interesting multivariate case, they are the same only in the limit. Demo: Amazon.com High and Lo stock prices # DATA AMAZON; INPUT DATE OPEN HIGH LOW CLOSE VOLUME; TITLE "DATA ON AMAZON.COM STOCK"; /** DATA FROM INTERNET, YAHOO SITE ****/ ; CLOSE_LEVEL=CLOSE; VOL_LEVEL=VOLUME; OPEN=LOG(OPEN); CLOSE=LOG(CLOSE); HIGH=LOG(HIGH); LOW=LOG(LOW); VOLUME=LOG(VOLUME); TITLE2 "DATA IN LOGARITHMS"; HHAT=LOW+.076; SPREAD=HIGH-LOW; FORMAT DATE DATE7.; CARDS; (more data)

15 Coint ; RUN; PROC SORT; BY DATE; RUN; PROC ARIMA DATA=AMAZON; I VAR=SPREAD STATIONARITY = (ADF=(2)); E P=3; RUN; The spread = log(high)-log(lo) seems stationary: Augmented Dickey-Fuller Unit Root Tests Type Lags Tau Pr < Tau Zero Mean Single Mean <.0001 Trend <.0001 Conditional Least Squares Estimation Lag Standard Approx Parameter Estimate Error t Value Pr > t MU <.0001 AR1, <.0001 AR1, AR1, <.0001 Constant Estimate Variance Estimate Std Error Estimate

16 Coint - 16 The fit seems fine so e expect to find log(high)-log(lo) = cointegration vector.: Autocorrelation Check of Residuals To Chi- Pr > Lag Square DF ChiSq Autocorrelations Model for variable SPREAD Estimated Mean Autoregressive Factors Factor 1: B**(1) B**(2) B**(3) Try Johansen's method (PROC VARMAX). Lots of output produced. The VARMAX Procedure Number of Observations 509 Number of Pairise Missing 0 Simple Summary Statistics Standard Variable Type N Mean Deviation HIGH Dependent LOW Dependent

17 Coint - 17 Individual series should be nonstationary: Dickey-Fuller Unit Root Tests Variable Type Rho Pr < Rho Tau Pr < Tau HIGH Zero Mean Single Mean Trend LOW Zero Mean Single Mean Trend There follo cross covariances, cross-correlations etc. Next: VAR representation (3 lags, 2x2 coefficient matrices) and partial autoregressive matrices - i.e. fit 1 then 2 then 3 vector lags and report last coefficient matrix. Yule-Walker Estimates Lag Variable HIGH LOW 1 HIGH LOW HIGH LOW HIGH LOW Schematic Representation of Partial Autoregression Variable/ Lag HIGH LOW is > 2*std error, - is < -2*std error,. is beteen

18 Coint - 18 Next, the partial canonical correlations and Johansen trace tests Partial Canonical Correlations Lag Correlation1 Correlation2 DF Chi-Square Pr > ChiSq < Cointegration Rank Test Using Trace 5% H0: H1: Critical Drift Drift in Rank=r Rank>r Eigenvalue Trace Value in ECM Process Constant Linear Cointegration Rank Test Using Trace Under Restriction 5% H0: H1: Critical Drift Drift in Rank=r Rank>r Eigenvalue Trace Value in ECM Process Constant Constant Hypothesis of the Restriction Drift Drift in Hypothesis in ECM Process H0 Constant Constant H1 Constant Linear

19 Coint - 19 The restriction is that the cointegrating vector annihilates the intercept term hence the drift is constant in the "error correction mechanism" as ell as in the process itself in analogy to Y t = Y > + e t. Without the restriction, an intercept appears in the ECM but a linear trend appears in the process in analogy to Y t = Y > + e t. hich has either a mean 2/(1-3) or drift 2 per time period depending on hether 3 is less than 1 or equal to 1. Either ay, e decide there is more than 0 (Trace > Critical Value) but not more than 1 (Trace < Critical Value). No e may be interested in testing hether this restriction holds. To do this e have to take a stand on the cointegrating rank. A rough plot suggests drift in the underlying processes Plot of HIGH*DATE. Symbol used is 'H'. Plot of LOW*DATE. Symbol used is 'L'. HIGH 6 ˆ H HHH HHHHHHHHH HHHHHLH H HHH L 4 ˆ HH HL HHHHH HHHH HL HHHH HH LL HHHHHHH HHHHHHHHHHL 2 ˆ HHHLHHLLL HHHHH HHHHHHH HHHH 0 ˆ Šˆƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒƒƒƒˆƒ 27MAR97 13OCT97 01MAY98 17NOV98 05JUN99 DATE NOTE: 927 obs hidden.

20 Coint - 20 The tests for ranks 0 and 1 are given. We are interested in the rank 1 test as e believe the cointegrating rank is indeed 1 and the to tests disagree on hether or not the restriction (that the cointegrating vector annihilates the intercept) holds. For the rank 1 model, e reject the restriction (as the graph above seems to suggest). Hypothesis Test of the Restriction Restricted Rank Eigenvalue Eigenvalue DF Chi-Square Pr > ChiSq There follo estimates of the! and " matrices ithout the restriction and under the restriction. From the above, e are interested in the results for the unrestricted model and e think the rank is 1 so e are also interested only in the first columns of! and " from hich the 2x2 impact matrix 1 =!" is computed. Long-Run Parameter Beta Estimates Variable 1 2 HIGH LOW Adjustment Coefficient Alpha Estimates Variable 1 2 HIGH LOW In addition a 3x3 matrix " and a 2x3 matrix! hich relate the 2-vector (H>- H >, L > - L t-1ñ to the 3-vector ( H >, L >, 1) hen the restriction holds. We are not interested in that one as e have rejected the restriction. So ithout the restriction, our impact matrix 1 =!" becomes Œ = a"þ!! "Þ!" b Œ

21 Coint - 21 Estimates of the intercepts are given as ell: Constant Estimates Variable Constant HIGH LOW Parameter Alpha * Beta' Estimates Variable HIGH LOW HIGH LOW Combining these items e have the folloing : Œ H > H >!Þ!!)&( Œ Œ a bœ H > œ "Þ!! "Þ!" L L 0.35 LL +!Þ!"!"* > > > + lagged difference terms + e here the 2x2 estimate of the covariance matrix D for e also appears on the printout as ell as the 2x2 estimated coefficient matrices for the lagged differences. A schematic representation of the vector autoregressive model is shon as ell. AR Coefficients of Differenced Lag DIF Lag Variable HIGH LOW 1 HIGH LOW HIGH LOW

22 Coint - 22 Schematic Representation of Parameter Estimates Variable/ Lag C AR1 AR2 AR3 HIGH + **.+.. LOW - ** is > 2*std error, - is < -2*std error,. is beteen, * is N/A The next result is a bit surprising. Even though e shoed that a"þ!! "Þ! 0 b( H > L > ) is stationary (if e choose 1 and -1 beforehand and thus alloed the use of ordinary unit root tests), even though a"þ!! "Þ! 0 b and a"þ!! "Þ!" b are almost the same (perhaps the same from a practical if not statistical perspective) and even though e have shon that there is 1 cointegrating vector, e ill REJECT the hypothesis that the cointegrating vector takes the form of a difference. Since e rejected here, the disagreement cannot be attributed to lo poer of the test. Here is the relevant piece of output: Restriction Matrix H ith Respect to Beta Variable 1 2 HIGH LOW Long-Run Coefficient Beta ith Respect to Hypothesis on Beta Variable 1 HIGH LOW

23 Coint - 23 Adjustment Coefficient Alpha ith Respect to Hypothesis on Beta Variable 1 HIGH LOW Test for Restricted Long-Run Coefficient Beta Restricted Index Eigenvalue Eigenvalue DF Chi-Square Pr > ChiSq Much more output is produced, including a large array of residual diagnostics, information criteria, impulse response functions, etc.

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series. Cointegration The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series. Economic theory, however, often implies equilibrium

More information

Chapter 5: Bivariate Cointegration Analysis

Chapter 5: Bivariate Cointegration Analysis Chapter 5: Bivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie V. Bivariate Cointegration Analysis...

More information

Chapter 6: Multivariate Cointegration Analysis

Chapter 6: Multivariate Cointegration Analysis Chapter 6: Multivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie VI. Multivariate Cointegration

More information

ADVANCED FORECASTING MODELS USING SAS SOFTWARE

ADVANCED FORECASTING MODELS USING SAS SOFTWARE ADVANCED FORECASTING MODELS USING SAS SOFTWARE Girish Kumar Jha IARI, Pusa, New Delhi 110 012 gjha_eco@iari.res.in 1. Transfer Function Model Univariate ARIMA models are useful for analysis and forecasting

More information

How To Model A Series With Sas

How To Model A Series With Sas Chapter 7 Chapter Table of Contents OVERVIEW...193 GETTING STARTED...194 TheThreeStagesofARIMAModeling...194 IdentificationStage...194 Estimation and Diagnostic Checking Stage...... 200 Forecasting Stage...205

More information

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem Chapter Vector autoregressions We begin by taking a look at the data of macroeconomics. A way to summarize the dynamics of macroeconomic data is to make use of vector autoregressions. VAR models have become

More information

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models Forecasting the US Dollar / Euro Exchange rate Using ARMA Models LIUWEI (9906360) - 1 - ABSTRACT...3 1. INTRODUCTION...4 2. DATA ANALYSIS...5 2.1 Stationary estimation...5 2.2 Dickey-Fuller Test...6 3.

More information

Is the Basis of the Stock Index Futures Markets Nonlinear?

Is the Basis of the Stock Index Futures Markets Nonlinear? University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC) - Conference Papers Faculty of Engineering and Information Sciences 2011 Is the Basis of the Stock

More information

Univariate and Multivariate Methods PEARSON. Addison Wesley

Univariate and Multivariate Methods PEARSON. Addison Wesley Time Series Analysis Univariate and Multivariate Methods SECOND EDITION William W. S. Wei Department of Statistics The Fox School of Business and Management Temple University PEARSON Addison Wesley Boston

More information

ITSM-R Reference Manual

ITSM-R Reference Manual ITSM-R Reference Manual George Weigt June 5, 2015 1 Contents 1 Introduction 3 1.1 Time series analysis in a nutshell............................... 3 1.2 White Noise Variance.....................................

More information

A Trading Strategy Based on the Lead-Lag Relationship of Spot and Futures Prices of the S&P 500

A Trading Strategy Based on the Lead-Lag Relationship of Spot and Futures Prices of the S&P 500 A Trading Strategy Based on the Lead-Lag Relationship of Spot and Futures Prices of the S&P 500 FE8827 Quantitative Trading Strategies 2010/11 Mini-Term 5 Nanyang Technological University Submitted By:

More information

Testing The Quantity Theory of Money in Greece: A Note

Testing The Quantity Theory of Money in Greece: A Note ERC Working Paper in Economic 03/10 November 2003 Testing The Quantity Theory of Money in Greece: A Note Erdal Özmen Department of Economics Middle East Technical University Ankara 06531, Turkey ozmen@metu.edu.tr

More information

Chapter 4: Vector Autoregressive Models

Chapter 4: Vector Autoregressive Models Chapter 4: Vector Autoregressive Models 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie IV.1 Vector Autoregressive Models (VAR)...

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Identifying possible ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos

More information

Chapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions

Chapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions Chapter 5 Analysis of Multiple Time Series Note: The primary references for these notes are chapters 5 and 6 in Enders (2004). An alternative, but more technical treatment can be found in chapters 10-11

More information

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

More information

Multivariate Normal Distribution

Multivariate Normal Distribution Multivariate Normal Distribution Lecture 4 July 21, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Lecture #4-7/21/2011 Slide 1 of 41 Last Time Matrices and vectors Eigenvalues

More information

12. Inner Product Spaces

12. Inner Product Spaces 1. Inner roduct Spaces 1.1. Vector spaces A real vector space is a set of objects that you can do to things ith: you can add to of them together to get another such object, and you can multiply one of

More information

On the long run relationship between gold and silver prices A note

On the long run relationship between gold and silver prices A note Global Finance Journal 12 (2001) 299 303 On the long run relationship between gold and silver prices A note C. Ciner* Northeastern University College of Business Administration, Boston, MA 02115-5000,

More information

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( ) Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates

More information

TIME SERIES ANALYSIS

TIME SERIES ANALYSIS TIME SERIES ANALYSIS L.M. BHAR AND V.K.SHARMA Indian Agricultural Statistics Research Institute Library Avenue, New Delhi-0 02 lmb@iasri.res.in. Introduction Time series (TS) data refers to observations

More information

The Engle-Granger representation theorem

The Engle-Granger representation theorem The Engle-Granger representation theorem Reference note to lecture 10 in ECON 5101/9101, Time Series Econometrics Ragnar Nymoen March 29 2011 1 Introduction The Granger-Engle representation theorem is

More information

Time Series Analysis

Time Series Analysis Time Series Analysis hm@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby 1 Outline of the lecture Identification of univariate time series models, cont.:

More information

THE EFFECTS OF BANKING CREDIT ON THE HOUSE PRICE

THE EFFECTS OF BANKING CREDIT ON THE HOUSE PRICE THE EFFECTS OF BANKING CREDIT ON THE HOUSE PRICE * Adibeh Savari 1, Yaser Borvayeh 2 1 MA Student, Department of Economics, Science and Research Branch, Islamic Azad University, Khuzestan, Iran 2 MA Student,

More information

Normalization and Mixed Degrees of Integration in Cointegrated Time Series Systems

Normalization and Mixed Degrees of Integration in Cointegrated Time Series Systems Normalization and Mixed Degrees of Integration in Cointegrated Time Series Systems Robert J. Rossana Department of Economics, 04 F/AB, Wayne State University, Detroit MI 480 E-Mail: r.j.rossana@wayne.edu

More information

Chapter 9: Univariate Time Series Analysis

Chapter 9: Univariate Time Series Analysis Chapter 9: Univariate Time Series Analysis In the last chapter we discussed models with only lags of explanatory variables. These can be misleading if: 1. The dependent variable Y t depends on lags of

More information

Non-Stationary Time Series andunitroottests

Non-Stationary Time Series andunitroottests Econometrics 2 Fall 2005 Non-Stationary Time Series andunitroottests Heino Bohn Nielsen 1of25 Introduction Many economic time series are trending. Important to distinguish between two important cases:

More information

Univariate Time Series Analysis; ARIMA Models

Univariate Time Series Analysis; ARIMA Models Econometrics 2 Spring 25 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Outline of the Lecture () Introduction to univariate time series analysis. (2) Stationarity. (3) Characterizing

More information

Business Cycles and Natural Gas Prices

Business Cycles and Natural Gas Prices Department of Economics Discussion Paper 2004-19 Business Cycles and Natural Gas Prices Apostolos Serletis Department of Economics University of Calgary Canada and Asghar Shahmoradi Department of Economics

More information

Testing for Granger causality between stock prices and economic growth

Testing for Granger causality between stock prices and economic growth MPRA Munich Personal RePEc Archive Testing for Granger causality between stock prices and economic growth Pasquale Foresti 2006 Online at http://mpra.ub.uni-muenchen.de/2962/ MPRA Paper No. 2962, posted

More information

Impulse Response Functions

Impulse Response Functions Impulse Response Functions Wouter J. Den Haan University of Amsterdam April 28, 2011 General definition IRFs The IRF gives the j th -period response when the system is shocked by a one-standard-deviation

More information

Financial TIme Series Analysis: Part II

Financial TIme Series Analysis: Part II Department of Mathematics and Statistics, University of Vaasa, Finland January 29 February 13, 2015 Feb 14, 2015 1 Univariate linear stochastic models: further topics Unobserved component model Signal

More information

COINTEGRATION AND CAUSAL RELATIONSHIP AMONG CRUDE PRICE, DOMESTIC GOLD PRICE AND FINANCIAL VARIABLES- AN EVIDENCE OF BSE AND NSE *

COINTEGRATION AND CAUSAL RELATIONSHIP AMONG CRUDE PRICE, DOMESTIC GOLD PRICE AND FINANCIAL VARIABLES- AN EVIDENCE OF BSE AND NSE * Journal of Contemporary Issues in Business Research ISSN 2305-8277 (Online), 2013, Vol. 2, No. 1, 1-10. Copyright of the Academic Journals JCIBR All rights reserved. COINTEGRATION AND CAUSAL RELATIONSHIP

More information

Vector Time Series Model Representations and Analysis with XploRe

Vector Time Series Model Representations and Analysis with XploRe 0-1 Vector Time Series Model Representations and Analysis with plore Julius Mungo CASE - Center for Applied Statistics and Economics Humboldt-Universität zu Berlin mungo@wiwi.hu-berlin.de plore MulTi Motivation

More information

PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU

PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU PITFALLS IN TIME SERIES ANALYSIS Cliff Hurvich Stern School, NYU The t -Test If x 1,..., x n are independent and identically distributed with mean 0, and n is not too small, then t = x 0 s n has a standard

More information

Simple Regression Theory II 2010 Samuel L. Baker

Simple Regression Theory II 2010 Samuel L. Baker SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the

More information

Business cycles and natural gas prices

Business cycles and natural gas prices Business cycles and natural gas prices Apostolos Serletis and Asghar Shahmoradi Abstract This paper investigates the basic stylised facts of natural gas price movements using data for the period that natural

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary

More information

Notes on Applied Linear Regression

Notes on Applied Linear Regression Notes on Applied Linear Regression Jamie DeCoster Department of Social Psychology Free University Amsterdam Van der Boechorststraat 1 1081 BT Amsterdam The Netherlands phone: +31 (0)20 444-8935 email:

More information

Solutions to Homework Section 3.7 February 18th, 2005

Solutions to Homework Section 3.7 February 18th, 2005 Math 54W Spring 5 Solutions to Homeork Section 37 Februar 8th, 5 List the ro vectors and the column vectors of the matrix The ro vectors are The column vectors are ( 5 5 The matrix ( (,,,, 4, (5,,,, (

More information

Lecture 14: GLM Estimation and Logistic Regression

Lecture 14: GLM Estimation and Logistic Regression Lecture 14: GLM Estimation and Logistic Regression Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University of South

More information

Univariate Time Series Analysis; ARIMA Models

Univariate Time Series Analysis; ARIMA Models Econometrics 2 Fall 25 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Univariate Time Series Analysis We consider a single time series, y,y 2,..., y T. We want to construct simple

More information

7 Gaussian Elimination and LU Factorization

7 Gaussian Elimination and LU Factorization 7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method

More information

EMPIRICAL INVESTIGATION AND MODELING OF THE RELATIONSHIP BETWEEN GAS PRICE AND CRUDE OIL AND ELECTRICITY PRICES

EMPIRICAL INVESTIGATION AND MODELING OF THE RELATIONSHIP BETWEEN GAS PRICE AND CRUDE OIL AND ELECTRICITY PRICES Page 119 EMPIRICAL INVESTIGATION AND MODELING OF THE RELATIONSHIP BETWEEN GAS PRICE AND CRUDE OIL AND ELECTRICITY PRICES Morsheda Hassan, Wiley College Raja Nassar, Louisiana Tech University ABSTRACT Crude

More information

Data Mining and Data Warehousing. Henryk Maciejewski. Data Mining Predictive modelling: regression

Data Mining and Data Warehousing. Henryk Maciejewski. Data Mining Predictive modelling: regression Data Mining and Data Warehousing Henryk Maciejewski Data Mining Predictive modelling: regression Algorithms for Predictive Modelling Contents Regression Classification Auxiliary topics: Estimation of prediction

More information

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Review Jeopardy. Blue vs. Orange. Review Jeopardy Review Jeopardy Blue vs. Orange Review Jeopardy Jeopardy Round Lectures 0-3 Jeopardy Round $200 How could I measure how far apart (i.e. how different) two observations, y 1 and y 2, are from each other?

More information

[1] Diagonal factorization

[1] Diagonal factorization 8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:

More information

Price efficiency in tuna fish marketing in Sri Lanka - An application of cointegration approach

Price efficiency in tuna fish marketing in Sri Lanka - An application of cointegration approach 21 Sri Lanka J. Aquat. Sci. 11 (2006): 21-26 Price efficiency in tuna fish marketing in Sri Lanka - An application of cointegration approach Y.Y.K. DE SILVA 1, P.S.K. RAJAPAKSHE 2 AMARALAL 3 AND K.H.M.L.

More information

Multivariate Analysis of Variance (MANOVA): I. Theory

Multivariate Analysis of Variance (MANOVA): I. Theory Gregory Carey, 1998 MANOVA: I - 1 Multivariate Analysis of Variance (MANOVA): I. Theory Introduction The purpose of a t test is to assess the likelihood that the means for two groups are sampled from the

More information

SYSTEMS OF REGRESSION EQUATIONS

SYSTEMS OF REGRESSION EQUATIONS SYSTEMS OF REGRESSION EQUATIONS 1. MULTIPLE EQUATIONS y nt = x nt n + u nt, n = 1,...,N, t = 1,...,T, x nt is 1 k, and n is k 1. This is a version of the standard regression model where the observations

More information

y t by left multiplication with 1 (L) as y t = 1 (L) t =ª(L) t 2.5 Variance decomposition and innovation accounting Consider the VAR(p) model where

y t by left multiplication with 1 (L) as y t = 1 (L) t =ª(L) t 2.5 Variance decomposition and innovation accounting Consider the VAR(p) model where . Variance decomposition and innovation accounting Consider the VAR(p) model where (L)y t = t, (L) =I m L L p L p is the lag polynomial of order p with m m coe±cient matrices i, i =,...p. Provided that

More information

Working Papers. Cointegration Based Trading Strategy For Soft Commodities Market. Piotr Arendarski Łukasz Postek. No. 2/2012 (68)

Working Papers. Cointegration Based Trading Strategy For Soft Commodities Market. Piotr Arendarski Łukasz Postek. No. 2/2012 (68) Working Papers No. 2/2012 (68) Piotr Arendarski Łukasz Postek Cointegration Based Trading Strategy For Soft Commodities Market Warsaw 2012 Cointegration Based Trading Strategy For Soft Commodities Market

More information

Performing Unit Root Tests in EViews. Unit Root Testing

Performing Unit Root Tests in EViews. Unit Root Testing Página 1 de 12 Unit Root Testing The theory behind ARMA estimation is based on stationary time series. A series is said to be (weakly or covariance) stationary if the mean and autocovariances of the series

More information

Week TSX Index 1 8480 2 8470 3 8475 4 8510 5 8500 6 8480

Week TSX Index 1 8480 2 8470 3 8475 4 8510 5 8500 6 8480 1) The S & P/TSX Composite Index is based on common stock prices of a group of Canadian stocks. The weekly close level of the TSX for 6 weeks are shown: Week TSX Index 1 8480 2 8470 3 8475 4 8510 5 8500

More information

THE EFFECT OF MONETARY GROWTH VARIABILITY ON THE INDONESIAN CAPITAL MARKET

THE EFFECT OF MONETARY GROWTH VARIABILITY ON THE INDONESIAN CAPITAL MARKET 116 THE EFFECT OF MONETARY GROWTH VARIABILITY ON THE INDONESIAN CAPITAL MARKET D. Agus Harjito, Bany Ariffin Amin Nordin, Ahmad Raflis Che Omar Abstract Over the years studies to ascertain the relationship

More information

Online Appendices to the Corporate Propensity to Save

Online Appendices to the Corporate Propensity to Save Online Appendices to the Corporate Propensity to Save Appendix A: Monte Carlo Experiments In order to allay skepticism of empirical results that have been produced by unusual estimators on fairly small

More information

Introduction to General and Generalized Linear Models

Introduction to General and Generalized Linear Models Introduction to General and Generalized Linear Models General Linear Models - part I Henrik Madsen Poul Thyregod Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby

More information

Module 5: Multiple Regression Analysis

Module 5: Multiple Regression Analysis Using Statistical Data Using to Make Statistical Decisions: Data Multiple to Make Regression Decisions Analysis Page 1 Module 5: Multiple Regression Analysis Tom Ilvento, University of Delaware, College

More information

A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution

A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 4: September

More information

Trend and Seasonal Components

Trend and Seasonal Components Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing

More information

Chapter 5: The Cointegrated VAR model

Chapter 5: The Cointegrated VAR model Chapter 5: The Cointegrated VAR model Katarina Juselius July 1, 2012 Katarina Juselius () Chapter 5: The Cointegrated VAR model July 1, 2012 1 / 41 An intuitive interpretation of the Pi matrix Consider

More information

Cointegration and error correction

Cointegration and error correction EVIEWS tutorial: Cointegration and error correction Professor Roy Batchelor City University Business School, London & ESCP, Paris EVIEWS Tutorial 1 EVIEWS On the City University system, EVIEWS 3.1 is in

More information

11. Analysis of Case-control Studies Logistic Regression

11. Analysis of Case-control Studies Logistic Regression Research methods II 113 11. Analysis of Case-control Studies Logistic Regression This chapter builds upon and further develops the concepts and strategies described in Ch.6 of Mother and Child Health:

More information

Time Series Analysis III

Time Series Analysis III Lecture 12: Time Series Analysis III MIT 18.S096 Dr. Kempthorne Fall 2013 MIT 18.S096 Time Series Analysis III 1 Outline Time Series Analysis III 1 Time Series Analysis III MIT 18.S096 Time Series Analysis

More information

Unit Labor Costs and the Price Level

Unit Labor Costs and the Price Level Unit Labor Costs and the Price Level Yash P. Mehra A popular theoretical model of the inflation process is the expectationsaugmented Phillips-curve model. According to this model, prices are set as markup

More information

ANALYSIS OF EUROPEAN, AMERICAN AND JAPANESE GOVERNMENT BOND YIELDS

ANALYSIS OF EUROPEAN, AMERICAN AND JAPANESE GOVERNMENT BOND YIELDS Applied Time Series Analysis ANALYSIS OF EUROPEAN, AMERICAN AND JAPANESE GOVERNMENT BOND YIELDS Stationarity, cointegration, Granger causality Aleksandra Falkowska and Piotr Lewicki TABLE OF CONTENTS 1.

More information

Similarity and Diagonalization. Similar Matrices

Similarity and Diagonalization. Similar Matrices MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that

More information

This can dilute the significance of a departure from the null hypothesis. We can focus the test on departures of a particular form.

This can dilute the significance of a departure from the null hypothesis. We can focus the test on departures of a particular form. One-Degree-of-Freedom Tests Test for group occasion interactions has (number of groups 1) number of occasions 1) degrees of freedom. This can dilute the significance of a departure from the null hypothesis.

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Forecasting with ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos (UC3M-UPM)

More information

Simple Linear Regression Inference

Simple Linear Regression Inference Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

More information

TIME SERIES ANALYSIS

TIME SERIES ANALYSIS TIME SERIES ANALYSIS Ramasubramanian V. I.A.S.R.I., Library Avenue, New Delhi- 110 012 ram_stat@yahoo.co.in 1. Introduction A Time Series (TS) is a sequence of observations ordered in time. Mostly these

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

Predictability of Non-Linear Trading Rules in the US Stock Market Chong & Lam 2010

Predictability of Non-Linear Trading Rules in the US Stock Market Chong & Lam 2010 Department of Mathematics QF505 Topics in quantitative finance Group Project Report Predictability of on-linear Trading Rules in the US Stock Market Chong & Lam 010 ame: Liu Min Qi Yichen Zhang Fengtian

More information

WEB APPENDIX. Calculating Beta Coefficients. b Beta Rise Run Y 7.1 1 8.92 X 10.0 0.0 16.0 10.0 1.6

WEB APPENDIX. Calculating Beta Coefficients. b Beta Rise Run Y 7.1 1 8.92 X 10.0 0.0 16.0 10.0 1.6 WEB APPENDIX 8A Calculating Beta Coefficients The CAPM is an ex ante model, which means that all of the variables represent before-thefact, expected values. In particular, the beta coefficient used in

More information

Air passenger departures forecast models A technical note

Air passenger departures forecast models A technical note Ministry of Transport Air passenger departures forecast models A technical note By Haobo Wang Financial, Economic and Statistical Analysis Page 1 of 15 1. Introduction Sine 1999, the Ministry of Business,

More information

State Space Time Series Analysis

State Space Time Series Analysis State Space Time Series Analysis p. 1 State Space Time Series Analysis Siem Jan Koopman http://staff.feweb.vu.nl/koopman Department of Econometrics VU University Amsterdam Tinbergen Institute 2011 State

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Autoregressive, MA and ARMA processes Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 212 Alonso and García-Martos

More information

Are the US current account deficits really sustainable? National University of Ireland, Galway

Are the US current account deficits really sustainable? National University of Ireland, Galway Provided by the author(s) and NUI Galway in accordance with publisher policies. Please cite the published version when available. Title Are the US current account deficits really sustainable? Author(s)

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Applied Statistics. J. Blanchet and J. Wadsworth. Institute of Mathematics, Analysis, and Applications EPF Lausanne

Applied Statistics. J. Blanchet and J. Wadsworth. Institute of Mathematics, Analysis, and Applications EPF Lausanne Applied Statistics J. Blanchet and J. Wadsworth Institute of Mathematics, Analysis, and Applications EPF Lausanne An MSc Course for Applied Mathematicians, Fall 2012 Outline 1 Model Comparison 2 Model

More information

Software Review: ITSM 2000 Professional Version 6.0.

Software Review: ITSM 2000 Professional Version 6.0. Lee, J. & Strazicich, M.C. (2002). Software Review: ITSM 2000 Professional Version 6.0. International Journal of Forecasting, 18(3): 455-459 (June 2002). Published by Elsevier (ISSN: 0169-2070). http://0-

More information

Examining the Relationship between ETFS and Their Underlying Assets in Indian Capital Market

Examining the Relationship between ETFS and Their Underlying Assets in Indian Capital Market 2012 2nd International Conference on Computer and Software Modeling (ICCSM 2012) IPCSIT vol. 54 (2012) (2012) IACSIT Press, Singapore DOI: 10.7763/IPCSIT.2012.V54.20 Examining the Relationship between

More information

SPSS Guide: Regression Analysis

SPSS Guide: Regression Analysis SPSS Guide: Regression Analysis I put this together to give you a step-by-step guide for replicating what we did in the computer lab. It should help you run the tests we covered. The best way to get familiar

More information

Financial Integration of Stock Markets in the Gulf: A Multivariate Cointegration Analysis

Financial Integration of Stock Markets in the Gulf: A Multivariate Cointegration Analysis INTERNATIONAL JOURNAL OF BUSINESS, 8(3), 2003 ISSN:1083-4346 Financial Integration of Stock Markets in the Gulf: A Multivariate Cointegration Analysis Aqil Mohd. Hadi Hassan Department of Economics, College

More information

Department of Economics

Department of Economics Department of Economics Working Paper Do Stock Market Risk Premium Respond to Consumer Confidence? By Abdur Chowdhury Working Paper 2011 06 College of Business Administration Do Stock Market Risk Premium

More information

Regression III: Advanced Methods

Regression III: Advanced Methods Lecture 16: Generalized Additive Models Regression III: Advanced Methods Bill Jacoby Michigan State University http://polisci.msu.edu/jacoby/icpsr/regress3 Goals of the Lecture Introduce Additive Models

More information

Hypothesis testing - Steps

Hypothesis testing - Steps Hypothesis testing - Steps Steps to do a two-tailed test of the hypothesis that β 1 0: 1. Set up the hypotheses: H 0 : β 1 = 0 H a : β 1 0. 2. Compute the test statistic: t = b 1 0 Std. error of b 1 =

More information

2. Simple Linear Regression

2. Simple Linear Regression Research methods - II 3 2. Simple Linear Regression Simple linear regression is a technique in parametric statistics that is commonly used for analyzing mean response of a variable Y which changes according

More information

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components The eigenvalues and eigenvectors of a square matrix play a key role in some important operations in statistics. In particular, they

More information

Lecture 3: Linear methods for classification

Lecture 3: Linear methods for classification Lecture 3: Linear methods for classification Rafael A. Irizarry and Hector Corrada Bravo February, 2010 Today we describe four specific algorithms useful for classification problems: linear regression,

More information

Inner Product Spaces

Inner Product Spaces Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and

More information

IS THERE A LONG-RUN RELATIONSHIP

IS THERE A LONG-RUN RELATIONSHIP 7. IS THERE A LONG-RUN RELATIONSHIP BETWEEN TAXATION AND GROWTH: THE CASE OF TURKEY Salih Turan KATIRCIOGLU Abstract This paper empirically investigates long-run equilibrium relationship between economic

More information

Vectors Math 122 Calculus III D Joyce, Fall 2012

Vectors Math 122 Calculus III D Joyce, Fall 2012 Vectors Math 122 Calculus III D Joyce, Fall 2012 Vectors in the plane R 2. A vector v can be interpreted as an arro in the plane R 2 ith a certain length and a certain direction. The same vector can be

More information

Java Modules for Time Series Analysis

Java Modules for Time Series Analysis Java Modules for Time Series Analysis Agenda Clustering Non-normal distributions Multifactor modeling Implied ratings Time series prediction 1. Clustering + Cluster 1 Synthetic Clustering + Time series

More information

Do Heating Oil Prices Adjust Asymmetrically To Changes In Crude Oil Prices Paul Berhanu Girma, State University of New York at New Paltz, USA

Do Heating Oil Prices Adjust Asymmetrically To Changes In Crude Oil Prices Paul Berhanu Girma, State University of New York at New Paltz, USA Do Heating Oil Prices Adjust Asymmetrically To Changes In Crude Oil Prices Paul Berhanu Girma, State University of New York at New Paltz, USA ABSTRACT This study investigated if there is an asymmetric

More information

Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares

Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares Topic 4 - Analysis of Variance Approach to Regression Outline Partitioning sums of squares Degrees of freedom Expected mean squares General linear test - Fall 2013 R 2 and the coefficient of correlation

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

Energy consumption and GDP: causality relationship in G-7 countries and emerging markets

Energy consumption and GDP: causality relationship in G-7 countries and emerging markets Ž. Energy Economics 25 2003 33 37 Energy consumption and GDP: causality relationship in G-7 countries and emerging markets Ugur Soytas a,, Ramazan Sari b a Middle East Technical Uni ersity, Department

More information

Partial Least Squares (PLS) Regression.

Partial Least Squares (PLS) Regression. Partial Least Squares (PLS) Regression. Hervé Abdi 1 The University of Texas at Dallas Introduction Pls regression is a recent technique that generalizes and combines features from principal component

More information

Time Series Analysis and Forecasting

Time Series Analysis and Forecasting Time Series Analysis and Forecasting Math 667 Al Nosedal Department of Mathematics Indiana University of Pennsylvania Time Series Analysis and Forecasting p. 1/11 Introduction Many decision-making applications

More information