Professional Documents
Culture Documents
Mi hel FLIESS ,
Cdri JOIN ,
INRIA-ALIEN
LIX (CNRS, UMR 7161),
ole polyte
hnique
91128 Palaiseau, Fran
e
Mi
hel.Fliesspolyte
hnique.edu
Abstra
t: New fast estimation methods stemming from
ontrol theory lead to a fresh look at
time series, whi
h bears some resemblan
e to te
hni
al analysis. The results are applied to
a typi
al obje
t of nan
ial engineering, namely the fore
ast of foreign ex
hange rates, via a
model-free setting,
i.e., via repeated identi ations of low order linear dieren e equations on
sliding short time windows. Several
onvin
ing
omputer simulations, in
luding the predi
tion
of the position and of the volatility with respe
t to the fore
asted trendline, are provided.
Z-
Keywords:
Time series, identi ation, estimation, trends, noises, model-free fore asting,
mathemati
al nan
e, te
hni
al analysis, heteros
edasti
ity, volatility, foreign ex
hange rates,
linear dieren
e equations,
Z -transform,
algebra.
analysis,
1. INTRODUCTION
or
harting
(see,
e.g.,
1.1 Motivations
Their algebrai nature permits to derive exa t nonasymptoti formulae for obtaining the unknown quantities in real time.
where
e.g.,
Remark 1.2.
te hni al
is the
trendline 2
(t) is
Thus
(3)
where
Hamilton, 1994) and the referen es therein). Our viewpoint seems nevertheless to be quite new when ompared
(2)
(Box,
signal
exa tly;
(1)
where
Remark 1.1.
series.
(t) = (t + n) a1 (t + n 1) an (t)
(4)
(t)
is
0,
i.e.,
(0) + (1) + + (N )
=0
(5)
N +1
It means that, t N, the moving average
(t) + (t + 1) + + (t + N )
(6)
MA,N (t) =
N +1
is
lose to 0 if N is large enough. It follows from Eq. (4)
that (t) also satises the properties (5) and (6). Most of
lim
N +
2. PARAMETER IDENTIFICATION
(7)
It shows that
of
x,
X,
(8)
z , i.e., X R(z):
P (z)
X=
Q(z)
where
of
Z -transform X
Hen e
equation (1) if, and only if, its generating fun tion
is a
Remark 2.2.
(Fliess & Join, 2008) where the
ontrol of
omplex systems is a
hieved without trying a global identi
ation but
thanks to elementary models whi
h are only valid during
3
a short time interval and are
ontinuously updated.
We
4
utilize here low order dieren
e equations.
Then the
window size for the moving average (6) does not need to
to
equation
P and Q permits
x(0), . . . , x(n 1).
x(tX
+ n) a1 x(t +
n 1) an x(t)
X
t
=
(t) +
(t) sin(t + )
nite
nite
(t), (t) R[t], , , R. Then the Z transform X R(z) of x(t) is again rational. It is equivalent saying that x(t), t 0, still satises a homogeneous
where
dieren e equation.
be large.
Generalities
1.4 Content
K = Q (a1 , . . . , an , b0 , . . . , bn1 )
be the eld generated over the eld Q of rational numbers by a1 , . . . , an , b0 , . . . , bn1 , whi
h are
onsidered as
Let
and
trend.
See the numerous examples and the referen
es in (Fliess & Join,
2008) for
on
rete illustrations.
4 Compare with (Markovsky, Willems, van Huel, de Moor &
Pintelon, 2005).
5 See (Taleb, 1997) for a
riti
al appraisal of the existing literature
on this subje
t, whi
h is of utmost importan
e in nan
ial engineering. (Extreme) risks are dis
ussed in (Bou
haud & Potters, 1997; Da
orogna, Genay, Mller, Olsen & Pi
tet, 2001; Mandelbrot & Hudson, 2004; Sornette, 2003) from quite dierent perspe
tives. It is the
trendline whi
h would exhibit abrupt
hanges in our setting (
ompare
with the probabilisti
standpoint; see, e.g., (Wilmott, 2006) and the
3
(see,
,
e.g., (Lang, 2002; Chambert-Loir, 2005)). Then X K(z)
.
K
d n
d
d
d
z X, . . . , X, z n1 , . . . , 1
(9)
dz
dz
dz
dz
It follows from Eq. (7) that the rank of M is 2n if, and
only if, x does not satisfy a linear dieren
e relation of
order stri
tly less than n. Hen
e
referen
es therein). Our estimation te
hniques permit an e
ient
hange-point dete
tion (Mboup, Join & Fliess, 2008), whi
h needs
to be extended, if possible, to some kind of fore
asting.
Theorem 2.3.
If
n, then
a1 , . . . , an , b0 , . . . , bn1
are
the parameters
1.8
linearly identiable. 6
1.7
1.6
1.5
1.4
(n + 1) (n + 1) Wronskian
0 n + 1, is
dn+ n
dn+
z X, . . . , n+ X
n+
dz
dz
by taking the X -dependent entries in the
It is obtained
n+1
Corollary 2.4. a1 , . . . , an
is again
n. Hen e
1.2
1.1
1.0
0.9
0.8
0
500
1000
1500
2000
2500
Samples
in Eq. (8).
We obtain
Corollary
1.3
Figure 1. Ex hange rates (blue ), ltered signal (bla k -), fore asted signal (5 days ahead) (red )
x.
Let
EXCHANGE RATES
3
0
500
1000
1500
2000
2500
Samples
uros. 8
a1 (red .),
days ahead)
and
a3
(bla k
) (5
a2
(blue
days ahead we
(t)
N = 100.
x(t)
MSTD
,N (t) =
s
PN
=0
1.35
1.30
1.25
1.20
1.15
1.10
1.05
1.00
1050
1100
1150
1200
1250
1300
1350
1400
1450
Samples
Figure 2. Zoom of Figure 1
Conden
e intervals
mean-3std,mean+3std
mean-2std,mean+2std
mean-std,mean+std
0.03
Predi tion
Real
99%
95%
68%
98.7%
92.2%
64.4%
0.02
ahead)
0.01
0.00
0.20
0.01
0.15
0.10
0.02
0.05
0.03
0
500
1000
1500
2000
2500
Samples
above,
under
0.05
0.10
Window's size
Per entage
50
100
200
300
65.6%
88.3%
62.3%
67.1%
0.15
0.20
0
500
1000
1500
2000
N = 100
2500
Samples
0.00
10
1.35
1.30
1.25
1.20
1.15
1.10
1.05
1.00
1050
1100
1150
1200
1250
1300
1350
1400
1450
Samples
Figure 7. Zoom of Figure 6
1.8
0.03
1.7
0.02
1.6
1.5
0.01
1.4
1.3
0.00
1.2
0.01
1.1
1.0
0.02
0.9
0.8
0
500
1000
1500
2000
0.03
0
2500
500
1000
Samples
trends, whi h is
above,
under
10
random walks
ahead)
of
2500
4. CONCLUSION
2000
The existen e of
1500
Samples
e.g.,
(Wilmott,
2006)),
http://hal.inria.fr/INRIA.
0.15
0.10
timation is easy.
trol, 4, 1227.
0.05
0.00
0.05
Fliess,
0.10
M.,
d'tat.
Sira-Ramrez,
H.
(2004).
Re onstru teurs
0.15
500
1000
1500
2000
2500
Samples
Wiley.
B
hu T., Bertrand E., Nebenzahl J. (2008).
e
(6 d.). E
onomi
a.
te hnique
L'analyse
Blan
het-S
alliet C., Diop A., Gibson R., Talay D., Tanr
E. (2007). Te
hni
al analysis
ompared to mathemati
al models based methods under parameters mis-
Hall.
Chambert-Loir A. (2005).
Algbre orporelle.
dit. ole
A Field
Prin eton
E.I. (1964). Theory and Appli
ation of the z Transform Method. Wiley.
Kirkpatri
k C.D., Dahlquist J.R. (2006). Te
hni
al Analysis: The Complete Resour
e for Finan
ial Market
Te
hni
ians. FT Press.
rd
rev. ed.). Springer.
Lang S. (2002). Algebra (3
Jury
J. Fi-
1490-
1500.
1354.
ommuni
ations numriques.
http://hal.inria.fr/inria-00311719/en/.
211232.
Fliess M., Join C. (2008). Commande sans modle et
ommande
Pro . 16
http://hal.inria.fr/inria-00179775/en/.
Mboup M., Join C., Fliess M. (2009). Numeri
al dierenti-
modle
restreint,
e-STA, 5.
Online
http://hal.inria.fr/inria-00288107/en/.
Int. Conf.
Numer.
Algor., DOI: 10.1007/s11075-008-9236-1.
Murphy J.J. (1999). Te
hni
al Analysis of the Finan
ial
Markets (3rd rev. ed.). New York Institute of Finan
e.
Paulos J.A. (2003). A Mathemati
ian Plays the Sto
k
Market. Basi
Books.
Sornette D. (2003). Why Sto
k Markets Crash: Criti
al
Events in Complex Finan
ial Systems. Prin
eton Uniation with annihilators in noisy environment.
versity Press.
Taleb N. (1997).
Wilmott P. (2006).
nd
(2
ed., 3 volumes). Wiley.