994 Testing the Martingale Hypothesis
–0.2r(
j)KS (j)–0.10 5 10 15 20 25 30 3500.10.2AutocorrelogramLag j0 5 10 15 20 25 30 3500.511.5Nonlinear IPRF plotLag jFigure 20.9 IPRF for the weekly Can
Top graph is the heteroskedasticity robust autocorrelation plot. Bottom graph is the IPRF plot.
which, after some algebra, boils down to:
Hw(λ,x)=γ0,w(x)λ+ 2∑∞j= 1γj,w(x)
sinjπλ
jπ. (20.10)
Tests can be based on the sample analogue of (20.10), i.e.:
Ĥw(λ,x)=̂γ0,w(x)λ+ 2n∑− 1j= 1( 1 −
j
n)1(^2) ̂γj,w(x)sinjπλ
jπ
,
where( 1 −nj)
1
(^2) is a finite sample correction factor. The effect of this correction
factor is to put less weight on very large lags, for which we have less sample infor-
mation. Note that under the MDH,Hw(λ,x)=γ 0 (x)λ, so that tests for MDH can be
constructed based on the discrepancy between̂Hw(λ,x)andĤ0,w(λ,x):=̂γ 0 (x)λ.
That is, we can consider the process:
Sn,w(λ,x)=
(n
2
)^12
{Ĥw(λ,x)−̂H0,w(λ,x)}=
n∑− 1
j= 1
(n−j)
1
(^2) ̂γj,w(x)
√
2 sinjπλ
jπ
, (20.11)
to test for the MDH.