Professional Documents
Culture Documents
Based On The Book by Fan/Yao: Nonlinear Time Series
Based On The Book by Fan/Yao: Nonlinear Time Series
Robert M. Kunst
robert.kunst@univie.ac.at
University of Vienna
and
Institute for Advanced Studies Vienna
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Outline
Threshold models
Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
A stochastic process (Xt , t ∈ Z) is said to be a linear process if for
every t ∈ Z
X∞
Xt = aj εt−j ,
j=0
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
with a0 = 1, ∞ 2
P
j=0 aj < ∞, and the terms εt defined as the linear
innovations Xt − E (Xt |Ht−1 ), where E∗ denotes the linear
∗
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Xt = 0.9Xt−1 + ut , (1)
ut = ht0.5 εt , (2)
2
ht = 1+ 0.9ut−1 , εt ∼ NID(0, 1), (3)
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
10
0
−10
−20
−30
Correlograms 1.0
1.0
0.8
0.8
0.6
0.6
0.4
0.4
0.2
0.2
0.0
0.0
0 5 10 15 20 25 30 0 5 10 15 20 25 30
Lag Lag
6
4
10
2
0
y
0
−2
−10
−4
−6
−20
−20 −10 0 10 20 −6 −4 −2 0 2 4 6
y(−1) x(−1)
40
300
30
y²
x²
200
20
100
10
0
0
0 100 200 300 400 0 10 20 30 40
y²(−1) x²(−1)
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Stationarity
Definition
A time series (Xt , t ∈ Z) is (weakly, covariance) stationary if (a)
EXt2 < ∞, (b) EXt = µ ∀t, and (c) cov(Xt , Xt+k ) is independent
of t ∀k.
Remark. For k = 0, this definition yields time-constant finite
variance.
Definition
A time series (Xt , t ∈ Z) is strictly stationary if (X1 , . . . , Xn ) and
(X1+k , . . . , Xn+k ) have the same distribution for any n ≥ 1 and
n, k ∈ Z.
Remark. For nonlinear time series, often strict stationarity is the
more ‘natural’ concept.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
ARMA processes
The ARMA(p, q) model with p, q ∈ N
b(B)Xt = a(B)εt ,
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
The process defined by the ARMA(p, q) model is stationary if
b(z) 6= 0 for all z ∈ C with |z| ≤ 1, assuming that a(z) and b(z)
have no common factors.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
A time series (Xt ) is causal if for all t
∞
X ∞
X
Xt = dj εt−j , |dj | < ∞,
j=0 j=0
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
Let (Xt ) be stationary. The autocovariance function (ACVF) of
(Xt ) is
γ(k) = cov(Xt+k , Xt ), k ∈ Z.
The autocorrelation function (ACF) of (Xt ) is
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
A function γ(.) : Z → R is the ACVF of a stationary time series if
and only if it is even and nonnegative definite in the sense that
n X
X n
ai aj γ(i − j) ≥ 0
i =1 j=1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Proposition
1. For causal ARMA processes, ρ(k) → 0 like c k for |c| < 1 as
k → ∞ (exponential);
2. for MA(q) processes, ρ(k) = 0 for k > q.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
Let (Xt ) isPa linear stationary process defined byP
Xt = µ + ∞ a ε , with (εt ) iid(0, σ 2 ) and ∞j=0 |aj | < ∞. If
P∞ √ j t−j
j=0
2
j=0 aj 6= 0, T (X̄T − µ) ⇒ N(0, ν1 ), where
2
∞
X X∞
ν12 = γ(j) = σ 2 aj .
j=−∞ j=0
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
The
P∞ long-run variance may also be seen as the spectrum at 0,
j=−∞ γ(j), or as the limit variance
n
X
−1
lim n var Xt .
n→∞
t=0
For white noise (Xt ), variance and long-run variance coincide.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
Let (Xt ) isPa linear stationary process defined byP
Xt = µ + ∞ 2
j=0 aj εt−j , with (εt ) iid(0, σ ) and
∞
j=0 |aj | < ∞. If
4
√ 2
Eεt < ∞, T {γ̂(0) − γ(0)} ⇒ N(0, ν2 ), where
∞
X
ν22 = 2σ 2 (1 + 2 ρ(j)2 ).
j=1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
(Xt ) is a stationary process with EXt = 0. The partial
autocorrelation function (PACF) π : N → [−1, 1] is defined by
π(1) = ρ(1) and
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Proposition
1. For any stationary process, π(k) is a function of the ACVF
values γ(1), . . . , γ(k);
2. For an AR(p) process, π(k) = 0 for k > p, i.e. the PACF ‘cuts
off at p’.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Mixing
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Mixing processes
Definition
A process (Xt ) is α–mixing (‘strong mixing’) if α(n) → 0 as
n → ∞, and similarly for β–mixing etc.
A basic property is
1 1p
α(k) ≤ ρ(k) ≤ φ(k),
4 2
and generally φ–mixing implies ρ–mixing (and β–mixing), and
ρ–mixing (or β–mixing) implies α–mixing. ψ–mixing implies
φ–mixing and thus all others. Even for simple examples, the mixing
coefficients cannot be evaluated directly.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Proposition
Assume (Xt ) is strictly stationary and α–mixing, P
and E|Xt | < ∞.
Then, as n → ∞, Sn /n → EXt a.s., where Sn = nt=1 Xt .
A comparable LLN with slightly stronger conditions guarantees
convergence of n−1 varSn to the long-run variance.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
A threshold autoregressive (TAR) model with k ≥ 2 is defined by
k
X
Xt = {bj0 + bj1 Xt−1 + . . . + bj,pj Xt−pj + σj εt }I (Xt−d ∈ Aj ),
j=1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
with r varied in {−∞, −1, −0.5, 0}. Note that r = −∞ yields the
linear AR model. We generate trajectories of 500 starting from
zero.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
−1
−2
−3
−4
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
2
2
0
X(t)
X(t)
0
−2
−2
−4
−2 0 2 4 −4 −2 0 2
X(t−1) X(t−1)
TAR,r=−0.5 TAR,r=0
2
2
1
1
0
0
X(t)
X(t)
−1
−1
−2
−2
−3
−3
−4
−4
−4 −3 −2 −1 0 1 2 −4 −3 −2 −1 0 1 2
X(t−1) X(t−1)
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
1.0
1.0
0.8
0.8
0.8
0.6
0.6
0.6
0.4
0.4
0.4
0.2
0.2
0.2
0.0
0.0
0.0
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
0.4
0.3
0.2
0.3
0.2
0.2
0.1
0.1
0.1
0.0
0.0
0.0
−0.1
−0.1
−0.1
0 5 10 15 20 25 0 5 10 15 20 25 0 5 10 15 20 25
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Main idea. Within each ‘regime’, the model is linear. Given the
delay d and Aj , j = 1, . . . , k, ‘profile’ maximum likelihood is well
approximated by least squares.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
k
X
AIC({pj }) = [Tj log{σ̂j2 (pj )} + 2(pj + 1)],
j=1
with {pj } indicating the k lag orders and σ̂j2 estimated by least
squares from the Tj observations that belong to the regime j.
Higher k and pj increase the penalty term but not d. Long delays
are not plausible.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
Assume (Xt ) is TAR with k = 2, p1 = p2 = p, and is ergodic
(mixing) and strictly stationary with finite variance, and that all
densities have support R. Then, all ML estimators for coefficients,
variances, threshold, and delay are strongly consistent.
Remark. The theorem assumes a real threshold between regimes
r , not general sets A1 and A2 . For other, more complex models,
the asymptotic properties are largely unknown.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
With the assumptions of the consistency theorem and
1. geometric ergodicity;
2. εt has a positive and continuous density, and fourth moments
of εt and of Xt exist;
3. the autoregressive function is discontinuous across regimes;
it follows that T (r̂ − r ) = Op (1) (superconsistency), and the
coefficient estimates are asymptotically independent of r̂ and
normally distributed.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
If the likelihood for the linear AR model and the likelihood for a
homoskedastic TAR model are available, the F –type test statistic
with σ̂02 estimated under the linear null, can be used for a
significance test. The asymptotic distribution is nonstandard and
was tabulated by Chan. Alternatively, one may bootstrap it to fit
the observed sample under the null.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
9
8
7
6
5
4
0 20 40 60 80 100
0 20 40 60 80 100
9
8
8
7
7
X(t)
X(t)
6
6
5
5
4
4
4 5 6 7 8 9 4 5 6 7 8 9
X(t−1) X(t−2)
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
The TAR test rejects its null. Some trial and error and
optimization led Howell Tong to consider the TAR model
0.62 + 1.25Xt−1 − 0.43Xt−2 + εt , Xt−2 ≤ 3.25,
Xt =
2.25 + 1.52Xt−1 − 1.24Xt−2 + εt , Xt−2 > 3.25,
with delay 2 years, for the regimes of few predators (and much
prey) and of too many predators. It can be shown that this means
that lynx starve fast and proliferate slowly: the asymmetry of the
cycles.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
10
8
6
X(t)
4
2
0
0 2 4 6 8 10
X(t−2)
This plot was generated with a burn-in of 300 observations and a sample
of 200, using normal errors.
Impression: Nice cycles, but the empty center visible in the data is not
reproduced. More complex models may be needed.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
An autoregressive conditionally heteroskedastic (ARCH) model
with integer order p ≥ 1 is defined by
Xt = σt εt , σt2 = c0 + b1 Xt−1
2 2
+ . . . + bp Xt−p ,
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
ThePARCH model has a strictly and covariance stationary solution
iff pj=1 bj < 1. Then, EXt = 0 and
c
EXt2 = P0p .
1− j=1 bj
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
Assume (Xt ) is ARCH(p) with Eε4t < ∞ and
p
X 1
bj < p .
j=1 Eε4t
Then, the strictly stationary solution for (Xt ) has finite fourth
moment.
Remark.√The upper bound is fairly restrictive. For Gaussian εt , it
yields 1/ 3 = 0.577. Even then, ARCH processes have
considerable leptokurtosis, which may correspond well to financial
time series data.
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Xt2 = c0 + b1 Xt−1
2 2
+ . . . + bp Xt−p + et ,
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
60
6
4.0
4
40
3.5
2
Sample Quantiles
3.0
20
0
2.5
−2
2.0
0
−4
1.5
−20
1.0
−6
0 200 400 600 800 1000 −3 −2 −1 0 1 2 3 0 200 400 600 800 1000
t Theoretical Quantiles t
1.0
6
4
0.8
0.8
2
Sample Quantiles
0.6
0.6
0
0.4
0.4
−2
0.2
0.2
−4
0.0
0.0
−6
−3 −2 −1 0 1 2 3 0 5 10 15 20 25 30 0 5 10 15 20 25 30
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
20
15
400
10
300
15
5
200
Sample Quantiles
0
100
10
−5
0
−10
−200 −100
5
−15
−20
−3 −2 −1 0 1 2 3
0 200 400 600 800 1000 0 200 400 600 800 1000
Theoretical Quantiles t
1.0
10
0.8
0.8
Sample Quantiles
0.6
0.6
0
0.4
0.4
−10
0.2
0.2
−20
0.0
0.0
−3 −2 −1 0 1 2 3
0 5 10 15 20 25 30 0 5 10 15 20 25 30
Theoretical Quantiles Lag Lag
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Proposition
Assume
P (Xt ) is a strictly stationary ARCH(p) process with c0 > 0
and bj < 1. Then,
P
1. (Xt ) is white noise with variance c0 /(1 − bj );
2. if fourth moments are finite, (Xt2 ) is a (causal) AR(p) process
with non-negative ACF;
3. if fourth moments are finite, the kurtosis of Xt exceeds the
kurtosis of εt .
Financial time series often have high kurtosis. Part of it can be
modelled by the ARCH structure, part of it by a leptokurtic εt .
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
GARCH processes
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Proposition
If (Xt ) is a strictly and covariance stationary GARCH(p, q) process
with finite fourth moments, (Xt2 ) will be a causal and invertible
ARMA(max(p, q), q) process. Its kurtosis exceeds the kurtosis of
εt .
In detail,
max(p,q) q
X X
Xt2 = c0 + (bj + 2
aj )Xt−j + et − aj et−j
j=1 j=1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
60
40
40
40
20
20
30
0
0
X(t)
−20
−20
20
−40
−40
10
−60
−60
0 200 400 600 800 1000 −60 −40 −20 0 20 40 60 0 200 400 600 800 1000
t X(t−1) t
1.0
1.0
40
0.8
0.8
20
Sample Quantiles
0.6
0.6
0
ACF
ACF
0.4
0.4
−20
0.2
0.2
−40
0.0
−60
0.0
−3 −2 −1 0 1 2 3 0 5 10 15 20 25 30 0 5 10 15 20 25 30
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
ut = σt εt , σt2 = c0 + b1 ut−1
2 2
+ . . . + bp ut−p .
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Theorem
Assume Eε4t < ∞, denote θ = (c0 , b1 , . . . , bp , a1 , . . . , aq )′ and θ̂
for the corresponding CML estimator. Then,
√
T
p (θ̂ − θ) ⇒ N(0, M−1 ),
4
E(εt ) − 1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Xt = εt exp(ht /2),
ht = γ0 + γ1 ht−1 + ωεt−1 + λ(|εt−1 | − E|εt−1 |),
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Definition
Assume (εt ) is iid(0, σ 2 ), then
p
X q
X Q
P X
X
Xt = bj Xt−j + εt + ak εt−k + cjk Xt−j εt−k
j=1 k=1 j=1 k=1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
with (εt ) iid(0, σ 2 ) and Eε4t < ∞ can be shown to have a strictly
stationary solution with EXt2 < ∞ for b 2 + c 2 σ 2 < 1. Then, the
closed form
∞
( j )
X Y
Xt = εt + (b + cεt−k ) εt−j
j=1 k=1
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models
1.0
0.6
40
0.8
30
0.4
0.6
20
0.4
10
0.2
0
0.2
−10
0.0
0.0
−20
50
40
40
30
30
Sample Quantiles
20
20
X(t)
10
10
0
0
−10
−10
−20
−20
−3 −2 −1 0 1 2 3 −20 −10 0 10 20 30 40 50
Nonlinear time series University of Vienna and Institute for Advanced Studies Vienna
Characteristics of Time Series Threshold models ARCH and GARCH models Bilinear models