on the prediction of the exchange rate usd/euro … bar.pdfon the prediction of the exchange rate...
TRANSCRIPT
![Page 1: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/1.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY
CHAOS THEORY
DUMITRU CIOBANU
PhD Student, University of Craiova,
BAR MARY VIOLETA
PhD Student, University of Craiova,
ABSTRACT:
Chaos is, by its nature, determinist. The possibility of short-term prediction of chaotic time series is the
main feature that distinguishes the chaotic time series from random time series. Using chaos theory for
prediction involves the reconstruction of phase space and prediction in phase space and then reconstruction of
the original time series. One simple prediction procedure is the first-order approximation. If we want to predict
the value d
tx 1 when the previous values are known, first we find the closest neighbors d
six of
d
tx and we
consider that the values d
six 1 are predictions for
d
tx 1 . To obtain better predictions we can take an average of
predictions obtained with the k nearest neighbors of d
tx . In order to predict a chaotic system we need a number
of observations for time series long enough to produce a sequence of vectors in phase space that cover quite well
the attractor. The new values will be very close to those already observed. In this paper we will consider the
exchange rate USD/EURO, underline their chaotic behavior and we will make predictions using k nearest
trajectories algorithm.
Cuvinte cheie: chaos theory, time series prediction, exchange rate, k nearest trajectories
Clasificare JEL: C02, C53, G17
1. Introduction
The techniques used to predict chaotic time series are divided into two main classes: local and global.
Global models try to rebuild attractor in a single step by identifying a global representative function while local
models identify local functions [1]. Local models generate predictions by identifying local sequences in time
series that are similar to the sequence from which the current point comes. The prediction is the average of the
points that immediately follow the neighbor of current point. This model operates well for nonlinear time series
with strong indications of chaotic behavior.
Previous studies [2] [3] showed that predictive local models produce generally better predictions than
predictive global models. Some of the decisions to be made for the construction of local models are how to
define mathematically the local model, the construction of input vectors, what the model predicts, how to
evaluate the accuracy of the model, etc.
An essential step is the reconstruction of the phase space. Usually the Takens theorem is used even if it
assumes that the time series is infinite and without noise, qualities which generally are not possessed by the time
series.
In 1996, Kugiumtzis [4] showed that the most important parameter is the length of the window
d and given that there is a sufficiently high value and the embedding dimension d is not too small,
several pairs ,d produce a good reconstruction of the phase space.
Also a very important decision is the choice of metric with which the distances will be calculated.
Murray [5] proposed the use of an exponentially weighted diagonal metric
jiif
jiifji
i
,0
,,
1
where 10 λ .
239
![Page 2: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/2.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
This metric is justified by the fact that it gives an exponentially increased weight to coordinate closest in
time to the current position, which makes it suitable for chaotic systems in which the close trajectories diverge
exponentially in time.
An appropriate choice of parameters can increase the predictive accuracy of the model. In short, to
make predictions we identify the attractor by conducting a d-dimensional space from the initial time series using
time delays. Initial vector is assumed known d
tx and k trajectories nearest to the attractor are selected, on
which we have k nearest points d
sx1,
d
sx2
,…,d
skx of
d
tx , one on each path and then we consider the following k
points d
sx 11,
d
sx 12 ,…,
d
skx 1 from these trajectories. An average of these points is used to determine the next
point on the trajectory predicted, d
tx 1ˆ . Predicted point is used as the starting point and the process is repeated.
This technique gives the best predictive model possible in the context of chaos theory. Because really
chaotic systems are infinitely complex and highly sensitive to changes in the initial conditions of the system it is
unlikely that a function describing the dynamics of the system, or an approximation of it, can be extracted from
the data. The problem is aggravated by incorporating additional data abstraction in a larger space. However,
chaos theory rigorously uses the fact that information is contained in data and can be used for short-term
predictions [6].
2. Reconstruction of phase space
We assume that the deterministic chaos time series that we have is actually a projection of the
achievements of a dynamic system in a larger space. Reconstruction of phase space is the stage of identification
of space in which the dynamic evolution of the observed process takes place and it is a very important step in
studying the nature of the process. For the reconstruction of phase space we must determine the time delay τ and
the embedding dimension d. By means of this, from the initial series Nxxx ,..., 21 the vectors from phase space
tτtdτtdτt
d
t xxxxx ,,...,, )2(1 , Ndτt ,...,11 are determined.
0 10 24 40 60 80 100 120
3
3.5
4
4.5
5
5.5
6
6.5
7
Primul minim local
Fig. 1. The first local minimum of the auto-mutual information function.
The time delay τ can be determined by using the auto-mutual information function [7]. The proposed
criterion suggests that the time delay can be set to the first local minimum of the function of auto-mutual
between coordinates.
The first local minimum of the auto-mutual information function is 24. This value will be used for the
construction of time delay phase space.
Graphical Fig. 1., Fig. 2. and Fig. 3. were obtained with Matlab toolbox opentstool.
240
![Page 3: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/3.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
2 4 6 8 10 12 14 150
10
20
30
40
50
60
70
80
90
100
Dimensiunea de incorporare
Pro
cen
tul
de
vec
ini
fals
i
Fig. 2. The embedding dimension. Method of false nearest neighbors.
The false nearest neighbors method is based on observing the evolution of the percentage of false
neighbors when varying the embedding dimension. The best value for the embedding dimension is that whose
growth does not modify any more the percentage of false neighbors. The embedding space dimension obtained
with the method of false nearest neighbors is 10 (Fig. 2.).
2 4 6 8 10 12 14 16 18 20
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Dimensiunea (d)
E1
(d)
Fig. 3. The embedding dimension. Cao method.
Determining the minimum embedding dimension using Cao method is done by choosing the value from
which dE1 it stabilizes around the value 1, where
dE
dEdE
11
with
τdN
tNNd
t
d
t
NNd
t
d
t
xx
xx
τdNdE
1,
,111
and
241
![Page 4: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/4.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
NN
τmtτmtdm
NNd
t
d
t xxxx
10
, max ,
whereNNd
tx , is the nearest neighbor of
d
tx .
Using the values determined for the size of incorporation, 10d and the time delay, 24 , we built
the phase space using Takens Theorem.
Thus, from the initial time series Nxxx ,..., 21 we determined the phase space vectors
tτtdτtdτt
d
t xxxxx ,,...,, )2(1 , Ndτt ,...,11 .
Specifically, for the time series of the exchange rate USD / EUR 376421 ,..., xxx are obtained the
vectors tttttttttt
d
t xxxxxxxxxxx ,,,,,,,,, 24487296120144168192216 , 3764,...,217t .
3. Indices of chaos for the exchange rate USD / EUR time series
The first condition that must be met for a time series to be classified as chaotic is nonlinearity.
04/01/1999 30/11/2001 10/11/2004 12/10/2007 20/09/2010 10/09/2013
0.9
1
1.1
1.2
1.3
1.4
1.5
Data
Val
oar
ea e
uro
in U
SD
Fig. 4. The evolution of exchange rate USD / EUR from 04 January 1999 to 10 September 2013.
Graphics Fig. 4. and Fig. 5. shows the nonlinearity of time series of the exchange rate between the euro
and USD.
12/06/2013 24/07/2013 10/09/20131.24
1.26
1.28
1.3
1.32
1.34
1.36
1.38
Data
Val
oar
ea e
uro
in U
SD
Fig. 5. The evolution of exchange rate USD / EUR from 12 June 2013 until 10 September 2013.
242
![Page 5: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/5.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
0.8
1
1.2
1.4
1.6
0.8
1
1.2
1.4
1.6
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
componenta 4
componenta 5
com
ponenta
6
Fig. 6. The projection of the vectors from the 10 dimensional phase space into a 3 dimensional space
(components 4, 5 and 6).
Another clue of chaos is the existence of attractors. Since we cannot plot vectors directly in the phase
space with 10 dimensions, we will use their projections on spaces with 2 or 3 dimensions. The graphs from Fig.
6. and Fig. 7. represent projections of trajectories from phase space in spaces with 3 dimensions respectively 2
dimensions. The clusters that can be observed suggest the existence of attractors in phase space.
0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.60.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
componenta 5
com
ponenta
6
Fig. 7. The projection of the vectors from the 10 dimensional phase space to a 2 dimensional space (components
5 and 6).
-5 -4.5 -4 -3.5 -3 -2.5-22
-20
-18
-16
-14
-12
-10
-8
-6
-4
X: -2.673
Y: -4.527
ln r
ln C
(r)
Correlation sumX: -2.961
Y: -5.563
Fig. 8. Graphical representation of the correlation dimension.
243
![Page 6: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/6.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
The fractal values for the correlation dimension are also characteristic of chaos. The correlation
dimension is estimated by the slope of the linear part that approximates the plot of correlation dimension in
logarithmic coordinates.
In the case of the time series of the exchange rate USD / EUR the linear approximation for the final part
of the graphical representation (Fig. 8.) has a slope of about 3.5937, non-integer value that indicates the presence
of chaos. Takens estimator (Fig. 9.) for the correlation dimension obtained with an instrument from the Matlab
toolbox tstool, was 3.5448.
Fig. 9. Approximation of correlation dimension with Takens estimator.
The most common test for chaos is calculation of the Maximum Lyapunov Exponent. It gives us
information about how quickly the initial close trajectories depart in time. The greater the Maximum Lyapunov
Exponent, the more pronounced is the chaotic nature of the time series.
5 10 15 20 24 300
0.01
0.02
0.03
0.04
0.0479
0.06
0.07
0.08
Intarzierea in timp
Exponentu
l M
axim
Lyapunov
Fig. 10. The largest Lyapunov exponent versus time delay.
The graphics Fig. 10. and Fig. 11. show the evolution of the largest Lyapunov exponent according to
time delay and embedding dimension. Positive values for Largest Lyapunov Exponent indicate a chaotic nature
for the time series of the exchange rate USD / Euro. Tests conducted allow us to argue that the time series of the
exchange rate between the euro and the USD is most likely chaotic.
244
![Page 7: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/7.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
6 8 10 12 14 16 18 200
0.0479
0.1
0.15
0.2
0.25
0.3
0.35
0.4
Dimensiunea de incorporare
Exponentu
l M
axim
Lyapunov
Fig. 11. The largest Lyapunov exponent versus embedding dimension.
Maximum Lyapunov Exponent is also used to determine the prediction horizon. A Maximum Lyapunov
Exponent of 0.0479 indicates a prediction horizon of about 20 steps for the time series of the exchange rate USD
/ EUR.
4. Prediction with Chaos Theory
k Nearest Neighbors algorithm
Step 1. From the initial time series Nxxx ,...,, 21 is constructed the phase space 1,...,, dτtτtt
d
t xxxx,
1,...,2,1 dτNt
Step 2. Determine the k nearest points d
sx1
, d
sx2
,…,d
skx for
d
tx .
Step 3. Calculate the following point k
x
x
k
r
d
sd
t
r
1
1
1ˆ .
The algorithm was improved by weigthing the values according to distance from the current point
considering that the closest values will produce better predictions and should have more influence in determining
the next point.
Step 1. From the initial time series Nxxx ,...,, 21 is constructed the phase space 1,...,, dτtτtt
d
t xxxx,
1,...,2,1 dτNt
Step 2. Determine the distances from the current point d
tx to the k nearest points
d
sx1
, d
sx2
,…,d
skx :
t
sd1
,
t
sd2
,…,t
skd .
Step 3. Determine the maximum distance tdmax .
Step 4. Calculate the following point
k
r
s
k
r
d
ssd
t
r
rr
w
xw
x
1
1
1
1ˆ , where the weights
rsw are calculated by the formula
2
2
max
2
1
t
t
s
s
d
dw r
r
245
![Page 8: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/8.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
Another widely used method is the Nearest Trajectories. In this case only the closest neighbors that are
on the neighboring trajectories to the trajectory on which the current point belong to are used for the current
point . This means that after we have determined the nearest neighbors of the current point we check whether
previous values for these points are neighbors with the previous values on the trajectory of the current point.
k Nearest Trajectories Algorithm
Step 1. From the initial time series Nxxx ,...,, 21 is constructed the phase space 1,...,, dτtτtt
d
t xxxx,
1,...,2,1 dτNt
Step 2. Determine the distances from the current point d
tx to the k nearest points
d
sx1
, d
sx2
,…,d
skx :
t
sd1
,
t
sd2
,…,t
skd .
Step 3. Determine the maximum distance tdmax
Step 4. We determine which of the trajectories to which the closest points belong to have the same dynamics
with the current trajectory, that means those trajectories for which the points d
tx 1 and d
tx 2 are close to the
d
sx 11,
d
sx 12 ,…,
d
skx 1 respectively
d
sx 21,
d
sx 22 ,…,
d
skx 2 .
Step 5. Calculate the next point using neighboring trajectories.
In Fig. 12. is shown graphically the operation of this algorithm.
Fig. 12. Method of nearest trajectories. Reproduction by [8].
5. Prediction of exchange rate USD / EUR using Chaos Theory
To predict the exchange rate USD / EUR we adapted the method of nearest trajectories resulting in the
following algorithm.
Step 1. Phase space is constructed using from embedding dimension 10d and delay time, 24 .
Step 2. Determine the closest points from current point
tttttttttt
d
t xxxxxxxxxxx ,,,,,,,,, 24487296120144168192216 .
Step 3. Determine which of the paths containing the closest points are indeed neighboring trajectory path that
originates current point.
Step 4. If we determine neighboring trajectory prediction using the following points on these trajectories.
Step 5. If there are no neighboring trajectories to determine prediction use some of the closest points, considering
projections as average prediction time trajectories of these points.
Construction of phase space is done using 10d for the embedding dimension and 24 for the
time delay values identified above.
246
![Page 9: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/9.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
Thus, from the initial time series 376421 ,...,, xxx the vectors
tttttttttt
d
t xxxxxxxxxxx ,,,,,,,,, 24487296120144168192216 , 3710,...,71t are obtained. We
determine the distance from the current point d
tx to the k nearest points d
sx1
, d
sx2
,…,d
skx , respectively
t
sd1
,
t
sd2
,…,t
skd .
Determine which of trajectories that these points originate on have the same dynamic as the trajectory
that contains the current point that means those trajectories for which points d
tx 1 and d
tx 2 are close from d
sx 11,
d
sx 12 ,…,
d
skx 1 , respectively
d
sx 21,
d
sx 22 ,…,
d
skx 2 .
We consider the following values from each trajectory using their vicinity and build predictions in
phase space. If we use more than one future value from the trajectories, predictions will be calculated as an
average of predictions from several steps. If two values are used next from the path we have
pt
t
t
t
d
pt
d
t
d
t
d
t
pd
pt
pd
pt
d
t
d
t
d
t
d
t
d
t
d
t
x
x
x
x
x
x
x
x
xx
xx
xx
xx
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆˆ
ˆˆ
ˆˆ
ˆˆ
3
2
1
3
2
1
,
1
,
3,
4
3,
3
2,
3
2,
2
1,
2
1,
1
,
where 1,
11ˆˆ d
t
d
t xx and 2
ˆˆˆ
1,,
id
it
id
itd
it
xxx , for pi ,...,2 , and if we use three future values from the
neighboring paths we will have
pt
t
t
t
t
d
pt
d
t
d
t
d
t
d
t
pd
pt
pd
pt
pd
pt
d
t
d
t
d
t
d
t
d
t
d
t
d
t
d
t
d
t
d
t
d
t
d
t
x
x
x
x
x
x
x
x
x
x
xxx
xxx
xxx
xxx
xxx
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆˆˆ
ˆˆˆ
ˆˆˆ
ˆˆˆ
ˆˆˆ
4
3
2
1
4
3
2
1
,
2
,
1
,
4,
6
4,
5
4,
4
3,
5
3,
4
3,
3
2,
4
2,
3
2,
2
1,
3
1,
2
1,
1
,
where 1,
11ˆˆ d
t
d
t xx , 2
ˆˆˆ
1,
2
2,
22
d
t
d
td
t
xxx
and
3
ˆˆˆˆ
2,1,,
id
it
id
it
id
itd
it
xxxx , for pi ,...,3 .
The last components of vectors
ititititititititititd
it xxxxxxxxxxx ˆ,ˆ,ˆ,ˆ,ˆ,ˆ,ˆ,ˆ,ˆ,ˆˆ24487296120144168192216 represent the
predictions for the next values of the exchange rate USD/EUR time series.
The process is repeated p times, where p is the number of predictions that we want to perform.
Next we present the results obtained with a program implemented using Matlab that calculates
predictions for several scenarios.
Prediction with a single step.
In this case, we know all the previous values of d
tx and we want to perform a single prediction 1ˆtx . At
each step for prediction only known values are used.
247
![Page 10: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/10.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
0 10 20 30 40 50 60 70 80 90 1001.28
1.29
1.3
1.31
1.32
1.33
1.34
1.35
1.36
pasul de predictie
valo
are
a u
nui euro
in U
SD
predictiile
valorile observate
0 10 20 30 40 50 60 70 80 90 100-0.1
-0.08
-0.06
-0.04
-0.02
0
0.02
0.04
0.06
0.08
0.1
pasul de predictie
ero
are
a
a) b)
Fig. 13. The results obtained with the single-step predictions.
The figure shown above presents the predictions (Fig. 13. a)) and errors (Fig. 13. b)) for the case of
repeated predictions with a single step. The Mean squared error obtained in this case was 4101713,1 .
Iterative prediction on several steps
In this case, we know all the previous values of d
tx , we predict the next value d
tx 1ˆ then we use as a
current point d
tx 1ˆ and the process is repeated. The predictions obtained are used to predict the following values.
Mean squared error for prediction with 100 steps was 4109990,1 when we used a single future
value from the neighboring trajectories, 4109677,1 when we use two further values from the neighboring
trajectories and 4109976,1
if we use three future values from the neighboring trajectories.
Graphical representations of the prediction and prediction errors for the three cases mentioned above are
shown in the following figure (Fig. 14).
248
![Page 11: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/11.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
0 10 20 30 40 50 60 70 80 90 1001.28
1.29
1.3
1.31
1.32
1.33
1.34
1.35
1.36
pasul de predictie
valo
are
a e
uro
in U
SD
predictie
USD/euro
0 10 20 30 40 50 60 70 80 90 100-0.1
-0.08
-0.06
-0.04
-0.02
0
0.02
0.04
0.06
0.08
0.1
pasul de predictie
ero
are
a
a) b)
0 10 20 30 40 50 60 70 80 90 1001.28
1.29
1.3
1.31
1.32
1.33
1.34
1.35
1.36
pasul de predictie
valo
are
a e
uro
in U
SD
predictie
USD/euro
0 10 20 30 40 50 60 70 80 90 100-0.1
-0.08
-0.06
-0.04
-0.02
0
0.02
0.04
0.06
0.08
0.1
pasul de predictie
ero
are
a
249
![Page 12: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/12.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
c) d)
0 10 20 30 40 50 60 70 80 90 1001.28
1.29
1.3
1.31
1.32
1.33
1.34
1.35
1.36
pasul de predictie
valo
are
a e
uro
in U
SD
predictie
USD/euro
0 10 20 30 40 50 60 70 80 90 100-0.1
-0.08
-0.06
-0.04
-0.02
0
0.02
0.04
0.06
0.08
0.1
pasul de predictie
ero
are
a
e) f)
Fig. 14. Predictions and prediction errors for iterative prediction. a) and b) results obtained when used a single
future value from the neighboring trajectories, c) and d) the results obtained with the use of two further values
from the neighboring trajectories, e) and f) the results obtained with the use of three future values from the three
neighboring trajectories.
2 4 6 8 10 12 14 16 18 20-0.03
-0.02
-0.01
0
0.01
0.02
0.03
0.04
pasul de predictie
ero
are
a
e1
e2
e3
e4
Fig. 15. Errors obtained for the first 20 steps from prediction.
250
![Page 13: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/13.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
0 2 4 6 8 10 12 14 16 18 200.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
2.2
2.4x 10
-4
pasul de predictie
ero
are
a m
edie
patr
atica
ERMP I
ERMP II
ERMP III
ERMP IIII
Fig. 16. The evolution of mean squared errors obtained for the first 20 steps of prediction.
Fig. 15. and Fig. 16. represent the evolution of errors and mean squared errors for the four simulated
cases: I when we use only the known values (e1, ERMP I), II when we use predicted values in iterated prediction
and use only one future value from the trajectories (e2, ERMP II ), III when we use predicted values in iterated
prediction and use two future values from the trajectories (e3, ERMP III) IIII when we use predicted values in
iterated prediction and use three future values from the trajectories (e4, ERMP IIII). We made comparisons only
for the first 20 steps of prediction because that is the horizon of prediction indicated by the Largest Lyapunov
Exponent.
The graphical representations shows that the three cases that uses predicted values for iterated
prediction have similar evolutions of errors and mean squared errors.
6. Conclusions
In economy the majority of historical data are available as time series. Detecting the chaotic nature of
the processes that have provided these data is not an easy task because there is still no method to specify clearly
the existence of chaos.
In this paper we put together tests that indicate the presence of chaos, we have adapted them to time
series and after that we have approached to the prediction problem.
The chaotic prediction model assumes that the time series that we have is a projection of the outputs of
a chaotic dynamical system from a larger space.
The model based on Chaos Theory is a local one while in general, the models based on neural networks
and support vector machines are global models. This is an advantage of the model based on chaos theory towards
the other models as the financial time series are too complex to be simulated globally.
On the other hand, using the model based on chaos theory implies that we have enough observations so
that we have a good coverage of the attractor, that requirement is often not met.
Tests have shown that in the example considered (time series of the exchange rate between the euro and
USD) the model based on chaos theory behaved quite well and can be considered an alternative to models based
on neural networks and support vector machines that are commonly used to predict time series lately.
Also, an indication of prediction horizon is very valuable information for the prediction problems.
7. Bibliography
[1] Vlad, S., Predicting Chaos, Journal of Applied Computer Science & Mathematics, no. 13(6), pp. 79-82,
2012.
[2] Zong, L., Xiaolin, R., Zhiewen, Z., Equivalence between different local prediction methods of chaotic time
series, Physics Letters A, 227, pp. 37-40, 1997.
251
![Page 14: ON THE PREDICTION OF THE EXCHANGE RATE USD/EURO … Bar.pdfON THE PREDICTION OF THE EXCHANGE RATE USD/EURO BY CHAOS THEORY DUMITRU CIOBANU PhD Student, University of Craiova, ciobanubebedumitru@yahoo.com](https://reader030.vdocuments.mx/reader030/viewer/2022040322/5e61888513eea10a4877dfd3/html5/thumbnails/14.jpg)
Annals of the „Constantin Brâncuşi” University of Târgu Jiu, Economy Series, Issue 6/2013
„ACADEMICA BRÂNCUŞI” PUBLISHER, ISSN 2344 – 3685/ISSN-L 1844 - 7007
[3] Sauer, T., Time series prediction by using delay coordinate embedding, In Andreas S. Weigend and Neil A.
Greshenfeld editors, Addison-Wesley, Time Series Prediction, pp. 175-193, 1994.
[4] Kugiumtzis, D., State space reconstruction parameters in the analysis of chaotic time series – the role of the
time window length, Physica D, vol. 95, pp.13-28, 1996.
[5] Murray, D. B., Forecasting a chaotic time series using an improved metric for embedding space, Physica D.,
vol. 68, pp. 318-325, 1993.
[6] Georgescu, V., Indications of Chaotic Behavior in Bucharest Stock Exchange Bet Index, Proceedings of the
International Conference on Modelling & Simulation (MS'2012), December 10-13, Rio de Janeiro, Brazil, 2012.
[7] Fraser, A. M.; Swinney, H. L., Independent coordinates for strange attractors from mutual information, The
American Physical Society, Vol. 32, Issue 2, pp. 1134-1140, 1986.
[8] Dodson, M., Fojt, O., Giroux, Y., Levesley, J., Noise Sensitivity of simple deterministic prediction model
tested on Lorenz Attractor Data, NNDG, Department of Mathematics, University of York, pp. 1-7, 1999.
252