Академический Документы
Профессиональный Документы
Культура Документы
Price Patterns
Return Patterns
DM/USD 1959-1996
Gaussian
Prediction
Real
Movement
58 days
1001days
6 days
366 days
48 days
Volatility Clustering
The linear paradigm is a useful one. Many apparently nonlinear relationships can be made linear by a suitable
transformation. On the other hand, it is likely that many
relationships in finance are intrinsically non-linear.
Heteroscedasticity Revisited
).
Autoregressive Conditionally
Heteroscedastic
(ARCH) Models
This
leads
to
the
autoregressive
conditionally
heteroscedastic model
for the
ut21variance of the errors:
t2
= 0 + 1
This is known as an ARCH(1) model.
Autoregressive Conditionally
Heteroscedastic
(ARCH) Models (contd)
t
Instead of calling the variance
, in the literature it is
usually called ht, so the model is
yt =2 1 + 22x2t + ... + 2kxkt + ut , ut N(0,ht)
ut 1
ut 2
ut q
where ht = 0 + 1
+2
+...+
q
ut2 run
0 the
1ut2regression
...
u
1
2 t 2
q t q vt
where vt is iid.
Obtain R2 from this regression
3. The test statistic is defined as TR2 (the number of observations
multiplied by the coefficient of multiple correlation) from the last
regression, and is distributed as a 2(q).
How do we decide on q?
(1)
(1+
+...)
(1+
+...)
+
0
t
0
1
t 1
t2
= 0 i u
i 1
2
t i
j t j
j 1
Var(ut) =
when
1 1
1 = 1
t2 = 0 + 1 ut21 +t-12
0.0000098
0.000005
0.153
0.047
0.714
0.949
t2 = 0 + 1 ut21 +t-12
0.0000014
0.0000328
0.052
0.157
0.941
0.74
= 3/4 is called
the maximum
likelihood estimate
of p
The maximum
likelihood
principle seeks the
parameter values
that maximize the
probability, or
likelihood, of
observing the
outcomes actually
obtained
Then:
dL p
dp
2 p 3 p2
And:
2 p 3 p2 0 p 2 3 p 0
p 2 3
Maximum Likelihood
P X x f x | p p 1 p , x 0,1
Assuming independence, we can form the
joint probability function:
x
1 x
f x1 ,K , xN | p f x1 | p K f xN | p
N xi
xi
p 1 p
L p | x1 ,K , xN
Maximum Likelihood
ln L p ln f xi | p
i 1
xi ln p N xi ln 1 p
i 1
i 1
Maximum Likelihood
N xi
1 p
Then:
xi N xi 0
p
1 p
Solving, we get:
1 p xi p N xi 0
Finally, we have:
x
1.
Specify the appropriate equations for the mean and the variance - e.g.
an AR(1)- GARCH(1,1) model:
yt = + yt-1 + ut , ut N(0,t2)
2.
t2 = 0 + 1 ut21 +t-12
Specify the log-likelihood function to maximise:
T
1 T
1 T
2
2
L log(2 ) log( t ) ( y t y t 1 ) 2 / t
2
2 t 1
2 t 1
3.
The computer will maximise the function and give parameter values
and their standard errors
2
2
Then the joint pdf for all the ys can be expressed as a product of the
individual density functions
f ( y1 , y 2 ,..., yT 1 2 X t , 2 ) f ( y1 1 2 X 1 , 2 ) f ( y 2 1 2 X 2 , 2 )...
f ( yT 1 2 X 4 , 2 )
(2)
f ( yt 1 2 X t , 2 )
t 1
2
T
2
( 2 )
t 1
(3)
The typical situation we have is that the xt and yt are given and we want to
estimate 1, 2, 2. If this is the case, then f() is known as the likelihood
function, denoted LF(1, 2, 2), so we write
2
T
(
y
x
)
1
2
t
1
2 t
LF ( 1 , 2 , ) T
exp
2
T
(4)
2
( 2 )
t 1
T
T
1 T ( y t 1 2 xt ) 2
2
LLF log log(2 )
2
2
2 t 1
2
(5)
LLF
1 ( y 1 2 xt ).2. 1
t
1
2
2
(6)
22 2
2
4
(7)
(8)
Setting (6)-(8) to zero to minimise the functions, and putting hats above
the parameters to denote the maximum likelihood estimators,
From (6),
( y x ) 0
y x 0
y T x 0
t
1
T
1
1 2
T
1 y 2 x
(9)
From (7),
(10)
( y x ) x 0
y x x x 0
y x x x 0
x y x ( y x ) x
x y x Tx y Tx
2 ( xt2 Tx 2 ) y t xt Tx y
t
2
t
2
t
From (8),
T
1
2 4
1 t
2
t
y x Tx y
( x Tx )
(y
2
t
2
t
1 2 xt ) 2
1
( y t 1 2 xt ) 2
T
1
2 ut2
T
Rearranging, 2
(11)
1
ut2
Tk
t
Now we have yt = + yt-1 + ut , ut N(0, )
t2 = 0 + 1 ut21 +t-12
T
1 T
1 T
2
2
L log(2 ) log( t ) ( y t y t 1 ) 2 / t
2
2 t 1
2 t 1
u t 1
2
2
2
t 1
log( t ) log( t 1 )
2
2
t 1
t 1
t2 = 0 + 1 ut21 +t-12+ut-12It-1
where It-1 = 1 if ut-1 < 0
= 0 otherwise
0.12
0.1
0.08
0.06
0.04
0.02
0
-1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
GARCH-in Mean
t2 = 0 + 1 ut21 +t-12
Questions?