Motivation
Two random walks can share a random walk. If they do, some combination of them is stationary, and that combination is what a pairs trader wants to hold.
13A.4.1Definition#
DefinitionEngle and Granger 1987
An n-vector yt whose components are each I(1) is cointegrated if there is a non-zero β∈Rn with β′yt stationary (I(0), after removing a constant). The set of such β together with 0 is a linear subspace; its dimension r (0<r<n) is the cointegrating rank, and any basis, collected in an n×r matrix β, is a set of cointegrating vectors.
For a pair, n=2 and r≤1: cointegration means one stationary combination pt1−bpt2, unique up to scale. The normalisation (coefficient 1 on p1) is a choice.
13A.4.2The vector error-correction model#
Write a VAR(p) in levels, yt=ν+∑i=1pAiyt−i+εt, in differences:
Δyt=ν+Πyt−1+i=1∑p−1ΓiΔyt−i+εt,Π=−(I−i=1∑pAi),Γi=−j=i+1∑pAj.(13A.9)
(This is Proposition 13A.2 in matrix form; the proof is the same.) If yt is I(1) and cointegrated with rank r, then Π has rank r and factors as
Π=αβ′,α,β∈Rn×r of full column rank.(13A.10)
β′yt−1 is the lagged equilibrium error; α holds the adjustment speeds (loadings): how each price responds to last period's error. (13A.9)–(13A.10) is the vector error-correction model (VECM).
13A.4.3The Granger representation, proved for a VAR(1)#
The general theorem (Engle and Granger 1987; Johansen 1991) says that, under a rank condition, a VAR with Π=αβ′ is I(1) with exactly r stationary combinations β′yt and n−r common stochastic trends. The VAR(1) case shows every idea.
Proposition 13A.4Granger representation, VAR(1)
Let yt=Ayt−1+εt with A−I=αβ′, α,β of rank r, and suppose all eigenvalues of Ir+β′α lie strictly inside the unit circle. Let α⊥,β⊥ be n×(n−r) matrices of full rank with α⊥′α=0, β⊥′β=0. Then:
(a) β′yt is a stationary VAR(1):
β′yt=(Ir+β′α)β′yt−1+β′εt.(13A.11)
(b) α⊥′yt is an (n−r)-dimensional random walk:
α⊥′yt=α⊥′yt−1+α⊥′εt.(13A.12)
(c) yt=C∑s=1tεs+Cy0+α(β′α)−1β′yt, with
C=β⊥(α⊥′β⊥)−1α⊥′.(13A.13)
The first term is a random walk (the common trends), the last term is stationary by (a).
Proof
(a) Premultiply yt=yt−1+αβ′yt−1+εt by β′. The eigenvalue condition makes the r-dimensional VAR(1) stable.
(b) Premultiply by α⊥′; the α term vanishes.
(c) The eigenvalues of β′α are those of Ir+β′α minus one; they lie inside the disc of radius 1 centred at −1 and so are non-zero. Hence β′α is invertible. Then [α,β⊥] is non-singular: if αa+β⊥b=0, premultiplying by β′ gives β′αa=0, so a=0, and then b=0. Similarly α⊥′β⊥ is invertible (if α⊥′β⊥b=0 then β⊥b∈span(α), say =αa, and the previous argument gives a=b=0). Now check the identity
In=β⊥(α⊥′β⊥)−1α⊥′+α(β′α)−1β′
on the basis [α,β⊥]: applied to α the right side gives 0+α; applied to β⊥ it gives β⊥+0. Apply the identity to yt and use (b), α⊥′yt=α⊥′y0+α⊥′∑s≤tεs.∎
Reading the result for a pair Take y=(p1,p2)′, β=(1,−b)′, α=(α1,α2)′. The spread st=pt1−bpt2 satisfies, from (13A.11),
st=(1+α1−bα2)st−1+(ε1t−bε2t).
It mean-reverts iff −2<α1−bα2<0. Typically α1<0 (asset 1 falls when the spread is high) and α2>0 (asset 2 rises). The common trend is α⊥′yt with α⊥=(α2,−α1)′: the price to which both are tied is a weighted average, with weights set by the loadings, not by market capitalisation.
Who adjusts matters for execution If α2=0, asset 2 is weakly exogenous: it does not respond to the spread, all correction happens in asset 1, and asset 2 "leads". For MCX gold against COMEX-implied parity (13A.12.3) one expects the COMEX loading to be close to zero, since India is a price taker in gold; that is a hypothesis to test, not a fact. Gonzalo and Granger (1995) use α⊥ to define permanent–transitory decompositions; Hasbrouck (1995) defines "information shares" for the same purpose in market microstructure.
Long-run impact C in (13A.13) is the long-run response of the price levels to a shock. Problem 13A.4 computes it for a numerical VAR(1) and checks it against limhAh.