Next Article in Journal
Generalized Mutual Information
Next Article in Special Issue
Recovering Yield Curves from Dynamic Term Structure Models with Time-Varying Factors
Previous Article in Journal
A-Spline Regression for Fitting a Nonparametric Regression Function with Censored Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks

by
Paulo Canas Rodrigues
1,*,
Olushina Olawale Awe
1,2,
Jonatha Sousa Pimentel
1 and
Rahim Mahmoudvand
3
1
Department of Statistics, Federal University of Bahia, Salvador 40170-110, Brazil
2
Department of Mathematical Sciences, Anchor University Lagos, Lagos 100278, Nigeria
3
Department of Statistics, Bu-Ali Sina University, Hamedan 6517833131, Iran
*
Author to whom correspondence should be addressed.
Stats 2020, 3(2), 137-157; https://doi.org/10.3390/stats3020012
Submission received: 25 April 2020 / Revised: 25 May 2020 / Accepted: 26 May 2020 / Published: 1 June 2020
(This article belongs to the Special Issue Time Series Analysis and Forecasting)

Abstract

:
A proper understanding and analysis of suitable models involved in forecasting currency exchange rates dynamics is essential to provide reliable information about the economy. This paper deals with model fit and model forecasting of eight time series of historical data about currency exchange rate considering the United States dollar as reference. The time series techniques: classical autoregressive integrated moving average model, the non-parametric univariate and multivariate singular spectrum analysis (SSA), artificial neural network (ANN) algorithms, and a recent prominent hybrid method that combines SSA and ANN, are considered and their performance compared in terms of model fit and model forecasting. Moreover, specific methodological and computational adaptations were conducted to allow for these analyses and comparisons.

1. Introduction

Apart from other important economic indicators such as interest rates, consumer price index, money supply and inflation, the currency exchange rate is one of the most important determinants of a country’s relative level of economic health [1]. Exchange rates play a vital role in any country’s level of trade, which is critical to every free market economy in the world [2,3]. No economy can operate in autarky, therefore, exchange rates are among the most analysed and governmentally manipulated economic indicators in any nation. Recently, exchange rates forecasting have become an important economic problem that is receiving increasing attention among researchers and policy makers especially because of its practical national economic significance. A fluctuating (volatile) exchange rate might lead to an unstable economy where it becomes difficult to predict the value of goods, services and other important economic components. Exchange rates have been shown, in the literature, to be among the major challenging and difficult economic measures to accurately forecast because changes in exchange rates are erratic and can have drastic effects on the economy [4,5,6]. Erratic behaviour of exchange rate was also identified in the literature as part of the leading causes of economic recessions [7]. Various nations adopt different exchange rate systems based on their history and economic goals. For instance, Brazil, India and South Africa implement a free floating exchange rate system while China and Russia adopts a system of managing floating exchange rates.
According to the International Monetary Fund (IMF), the countries that form the BRICS nations (Brazil, Russia, India, China, and South Africa) have more than 25 % of the world’s land and 40 % of the world’s population and about 18.3 % of global nominal output [8]. The exchange rate, as the main system for foreign exchange of a country, has become a key factor affecting the stable economic development of the BRICS countries. The BRICS nations are the fastest growing in the emerging economies of the world. However, in recent years, the exchange rates of these economies have all experienced periods of high volatility [8]. In the context of the gradual recovery of the US economy and the relatively poor economic situations in Europe, United Kingdom and Japan, these emerging economies have been experiencing relatively stable economic growth except for recent unpalatable global circumstances. This article is therefore based on the examination of a suitable forecasting model for predicting currency exchange rates with special emphasis on the BRICS nations. Here, besides the currency exchange rates of the BRICS currencies with respect to the United States dollar (USD), we also consider three other powerful world currencies: the British pound (GBP), the Euro (EUR), and the Japanese yen (JPY).
The main objective of this paper is to access the performance of classical and contemporary methods for model fit and model forecasting in currency exchange rates. In particular, we want to compare the success of recently proposed hybrid methods with classical parametric and non-parametric, univariate and multivariate methods in the context of currency exchange rates. To achieve our objectives, we consider daily exchange rates data consisting 4240 observations each for eight currencies from 01/12/2003 to 28/02/2020 and employ time series techniques such as the autoregressive integrated moving average (ARIMA) model, the non-parametric univariate and multivariate singular spectrum analysis (SSA), artificial neural network (ANN) algorithms, and an hybrid method that combines the SSA with the ANN. Moreover, we adapt the hybrid method for model fit as it was originally proposed for model forecasting only [9]. Comparisons are made for model fit and model forecasting by employing the root mean square error (RMSE) and the mean absolute percentage error (MAPE).
The rest of this paper is structured as follows: Section 2 presents the contextual issues, the models and methodologies about the considered models for time series model fit and model forecasting. Section 3 presents the empirical results and discussions, and Section 4 gives a short discussion and concludes the paper.

2. Materials and Methods

In this section, we present the data used in this study and give a brief description of the forecasting models employed in this article.

2.1. The Data

This study employs data on daily exchange rate of eight currencies, in reference to the United States dollar (USD), spanning seventeen years between 1 December 2003 and 28 January 2020 (4240 observations). These data were obtained from www.yahoo.finance. The currencies analysed and compared (Figure 2) are: Brazilian real (USD/BRL), Russian rouble (USD/RUB), Indian rupee (USD/INR), Chinese renminby (USD/CNY), South African rand (USD/ZAR), British pound (USD/GBP), Euro (USD/EUR), and Japanese yen (USD/JPY).

2.2. Autoregressive Integrated Moving Average (ARIMA) Model

In time series analysis, an autoregressive integrated moving average (ARIMA) model is a generalization of an autoregressive moving average (ARMA) model. Both of these models are fitted to time series data either to better understand the data or to predict future points in the series (forecasting). The auto regressive (AR) part of ARIMA indicates that the evolving variable of interest is regressed on its own lagged or prior values. The moving average (MA) part indicates that the regression error is actually a linear combination of error terms whose values occurred contemporaneously and at various times in the past. The “integrated” (I) part of the ARIMA model indicates that the data values were replaced with the difference between the data values and their previous values [10]. This parametric model can then be written as A R I M A ( p , d , q ) , with p, d and q non-negative integers [11]. Given a time series Y = y 1 , , y N , the A R I M A ( p , d , q ) model can be written as:
( 1 ϕ 1 B 1 ϕ p B p ) ( 1 B ) d y t = c + ( 1 + θ 1 B 1 + + θ q B q ) ε t ,
where ϕ 1 , , ϕ p are the parameters or coefficients of the p autoregressive terms; B is the time lag operator, or backward shift, which is a linear operator denoted by B k such that B k y t = y t k , t Z ; y t the observation at the time point t; c = μ ( 1 ϕ 1 ϕ p ) ; μ is the mean of ( 1 B ) d y t ; β 1 , , β q are the parameters or coefficients of the q moving average terms; and ε t is an error term, usually white noise with variance σ 2 . The results presented in this paper are based on an alternative parametrization of the ARIMA model that is implemented in the arima function of the software R [12].
In this study, we only consider the classical ARIMA-based models from the class of pure parametric models. However, nonparametric and ANN-based approaches are also considered. In a recent study by [13] the supremacy of ANN over ARIMA or generalized autoregressive conditional heteroskedasticity (GARCH) model for time series prediction was discussed. On the other hand, Ref. [14] compared the methods of ARIMA, ANN and fuzzy systems on 1284 daily observations of seven major currencies for five years and concluded that ARIMA gives more significant results than ANN and fuzzy systems.
In the next subsection we briefly describe the ANN that is also considered in this paper.

2.3. Artificial Neural Network (ANN)

Neurons are the main cells that make up the nervous system and are responsible for conducting, receiving, and transmitting nerve impulses throughout the body, causing it to respond to stimuli in the environment, for example. The brain is a complex network of neurons that process information through a system of several interconnected neurons. It has always been challenging to understand brain functions; however, due to advances in computing technologies, we can now program neural networks artificially [15].
Neural networks were originally developed in cognitive science and later used in engineering for pattern recognition and classification [16]. Neural networks are particularly useful because they can be used to model nonlinear behaviour in economics and financial markets, in contrast to traditional linear models which are more restrictive. They also have the capability of being able to approximate any nonlinear function and decompose “noisy” data. They proved, in some instances, to be more effective in describing the dynamics of nonstationary time series due to their unique nonparametric, noise-tolerant, and adaptive properties [17]. Over the last few decades, researchers and practitioners alike showed growing interests in applying modified versions of ANNs for time series analysis and forecasting [18]. ANNs are an effective tool to realize any nonlinear input-output mapping. It was demonstrated that with a sufficient number of hidden layer units, an ANN is capable of approximating any continuous function to any desired degree of accuracy [17]. Due to the nature of their learning process, ANNs can be regarded as nonlinear autoregressive models [19].
Artificial neural networks (ANNs) have gained tremendous popularity and use as a promising alternative technique for forecasting time series because of their several distinguishing features. The first networks developed were the Perceptron and Adaline networks, developed in the 1950s and 1960s by Rosenblatt [20] and Widrow [21] respectively. Perceptron networks were developed with the objective of recognizing images, being a model that received a set of input data and returned a single binary output. Adaline networks were developed to be used for pattern recognition, signal processing and regression. Similar to the perceptron network in that it has several input layers and only one output, it differs in that its output is not binary but an activation function f.
Similar to the biological structure of neurons, artificial neural networks define the neuron as a central processing unit, which performs a mathematical operation that generates an output from a set of inputs [15]. The output of a neuron is a function of the weighted sum of the inputs plus the bias. The scheme of a simple artificial neural network can be seen in Figure 1.
An ANN is composed of the layers of input, output, and the so-called hidden layers, which are in the center of the network and with the help of so-called weights ( W i ), bias (b) and the activation function f, converts the input data to the expected output. The weights in a neural network are the most important factor in the transformation of the input data at the output, functioning similarly to the functioning of the slope in linear regression. The weights here are numerical parameters that determine how strongly each neuron affects the other. Meanwhile, the bias is like the intercept added in a linear equation, being an additional parameter that is used to adjust the output together with the weighted sum of the neuron inputs, and in each neuron there is still an activation process, through the z function as
z = l = 1 L W l X l + b .
Finally, a function is applied to z, which is called the activation function f. The types of neurons are differentiated by the activation function attributed to them, and in practice the three most used functions are the sigmoid function, hyperbolic tangent and ReLU (rectified linear unit). There is also the loss function, which is the function used as a minimization criterion when estimating the parameters of a neural network. The most common loss function is the sum of squares of errors.
The neural network model for time series was applied with the aid of the R package forecast, through the nnetar function, which generates a feed-forward neural network with a single hidden layer and lagged inputs to forecasting univariate time series.

2.4. Singular Spectrum Analysis (SSA)

There is a vast literature on the non-parametric technique for time series modelling and forecasting SSA. SSA incorporates elements of classical time series analysis, matrix algebra, and multivariate statistics, and aims at decomposing a time series into a set of components that can be interpreted as trend components, seasonal and cyclic components and noise components [22,23,24,25]. This relatively new technique for time series analysis proved to be widely useful and applicable to many fields of application [9,26,27,28,29,30,31,32,33,34,35,36,37,38], with applications ranging from parameter estimation to time series filtering, and forecasting.
The basic SSA method consists of three complementary stages: decomposition, reconstruction and forecasting. The first stage is divided in two steps where the time series is decomposed in several components, in the second stage (two steps) the noise free time series is reconstructed and in the third stage the reconstructed time series is used for out-of-sample forecasting. A short description of the SSA technique is given below. More information can be found in, e.g., [23,24,25,39].

2.4.1. First Stage: Decomposition

1st step: Embedding. Let y 1 , , y N be a time series of length N. Considering a window length L the result of this step is a L × K matrix Y = Y 1 : : Y K , where K = N L + 1 and Y i = ( y i , , y i + L 1 ) T , 1 i K .
2nd step: Singular value decomposition (SVD). In this step, the matrix Y will be decomposed using SVD as Y = Y 1 + + Y L , where Y i = λ i U i V i T , Y i = 0 when λ i = 0 , and V i = Y T U i / λ i with λ 1 , , λ L , the eigenvalues of Y Y T and U 1 , , U L , the corresponding eigenvectors.

2.4.2. Second Stage: Reconstruction

3rd step: Grouping. The grouping step corresponds to splitting the elementary matrices into m disjunct subsets I 1 , , I m , and summing the matrices within each group. In our application we will focus on m = 2 , i.e., only two groups. I 1 = { 1 , , r } and I 2 = { r + 1 , , L } are associated with the signal and noise components, respectively.
4th step: Diagonal averaging. This step transforms each matrix Y I j into a new series of length N. Using diagonal averaging we have that Y = Y ˜ I 1 + + Y ˜ I m , where Y ˜ I j is the Hankelized form of Y I j , j = 1 , , m . Considering y ˜ m , n ( I j ) the ( m , n ) t h entry of the estimated matrix Y ˜ I j and denoting by y ˜ j 1 , , y ˜ j N the reconstructed components in the matrix Y ˜ I j , j = 1 , , m , applying diagonal averaging follows that
y ˜ j l = 1 j 1 n = 1 j 1 y ˜ n , j n ( I j ) 2 j L 1 , 1 L n = 1 L y ˜ n , j n ( I j ) L j K + 1 , 1 K + L j + 1 n = n K L y ˜ n , j n ( I j ) K + 2 j K + L .

2.4.3. Third Stage: Forecasting

Two main algorithms for out-of-the-sample forecasting in the context of SSA are available: the recurrent SSA forecasting algorithm [23,40,41], and the vector SSA forecasting algorithm [23,42,43]. Here we will be interested in the recurrent SSA forecasting algorithm, which is briefly described below.
The basic requirement to obtain SSA out-of-sample forecasts is that the time series Y t = ( y 1 , , y N ) satisfies a linear recurrent formula, i.e., if a given observation can be written as a linear combination of the last d observations:
y t = a 1 y t 1 + a 2 y t 2 + + a d y t d , t = d + 1 , , N .
Let us assume that U j is the vector of the first L 1 components of the eigenvector U j and π j is the last component of U j ( j = 1 , , r ) . Denoting υ 2 = j = 1 r π j 2 we define the coefficient vector R as:
R = 1 1 υ 2 j = 1 r π j U j .
Considering the above notation, the recurrent SSA forecasts y ^ N + 1 , , y ^ N + h can be obtained by
y ^ i = y ˜ i , i = 1 , , N R T Z i , i = N + 1 , , N + h
where Z i = y ^ i L + 1 , , y ^ i 1 T and y ˜ 1 , , y ˜ N , are the SSA reconstructed values obtained from 4th step of the SSA algorithm described above.

2.4.4. SSA Parameter Selection

The SSA calibration depends on two parameters: the window length L, and the number of eigentriples used for reconstruction r. The choice of improper values for the parameters L or r yield incomplete reconstruction and the forecasting results might be misleading [41,43]. Despite the importance in choosing proper values for these parameters, no theoretical solution was proposed to solve this problem. An overall agreeable suggestion to choose the window length is to have it close to the middle of the series and proportional to the number of observations per period (e.g., to 12 for monthly time series, to four for quarterly time series, etc.). However, this choice does not guarantee the best predictions [41,43], being advisable a parameter choice made accordingly to the available data and intended analysis.
Among the alternative ways described in the literature to determine the number of eigentriples used for reconstruction r, the most widely used is the w-correlations approach. Considering two vectors Y ( 1 ) = [ y 1 ( 1 ) , , y N ( 1 ) ] T and Y ( 2 ) = [ y 1 ( 2 ) , , y N ( 2 ) ] T , the w-correlation between them can be written as
ρ w = j = 1 N w j L , N y j ( 1 ) y j ( 2 ) j = 1 N w j L , N y j ( 1 ) 2 × j = 1 N w j L , N y j ( 2 ) 2 ,
where w j L , N = min { j , L , N j + 1 } and 2 L N 1 . According to this measure, two series (e.g., signal and noise components) are separable if the absolute value of their w-correlation is small. Therefore, we determine r in such a way that the reconstructed series and residual have a small w-correlation between them. Another way to determine r is by examining the forecast accuracy, i.e., r is determined in such a way that the minimum error in forecasting will be obtained.

2.5. Multivariate Singular Spectrum Analysis (MSSA)

Multivariate SSA is a natural extension of the univariate SSA for analysing multivariate time series data. The algorithm is similar to the univariate SSA and has the same range of applications. Complete details about MSSA can be found in [23,39,44], and a brief description is presented below.
Let Y t = y t ( 1 ) , , y t ( M ) , t = 1 , , N , denote a sample of a M-variate time series with length N. Let us assume that Y t can be written in terms of a signal plus noise model as:
Y = Y 1 Y 2 Y N = S + N = s 1 ( 1 ) s 1 ( M ) s 2 ( 1 ) s 2 ( M ) s N ( 1 ) s N ( M ) + n 1 ( 1 ) n 1 ( M ) n 2 ( 1 ) n 2 ( M ) n N ( 1 ) n N ( M ) .
As with the univariate SSA, the goal here is to remove the noise, N , from the original data and to obtain an estimate for the signal, S , without having to specify a parametric form for the signal, which then can then be used to obtain out-of-the-sample forecasts. The MSSA algorithm also consists of three complementary stages just like the univariate case: decomposition, reconstruction and forecasting. In the first stage the series is decomposed; in the second stage the noise free series is reconstructed; and in the final stage the reconstructed time series is used to forecast new data points. Each stage in this algorithm includes two steps.

2.5.1. First Stage: Decomposition

1st step: Embedding. Considering the window length L, a full augmented trajectory matrix is constructed by a L-dimensional embedding of the time series with lag l, resulting in a block Hankel trajectory matrix Y . Suppose Y ( m ) , m = 1 , , M , denotes the Hankel matrix of dimension L × k , k = T L + 1 , associated with the time series m, m = 1 , , M . The trajectory matrix in MSSA can be defined as two different alternatives:
  • Horizontal form:
    Y = Y ( 1 ) , , Y ( M )
  • Vertical form:
    Y = Y ( 1 ) Y ( M ) .
2nd step: Singular value decomposition. Let U = [ U 1 , , U d ] and Σ = diag { λ 1 , , λ d } denote the matrices with the eigenvectors and eigenvalues of YY , respectively. Then, we have YY = U Σ U and Y can be decomposed by singular value decomposition as:
Y = UU Y = i = 1 d U i U i Y = Y 1 + + Y d ,
where Y i = U i U i Y is a unitary matrix corresponding to the i th largest singular value ( λ i ), and d is the rank of Y .

2.5.2. Second Stage: Reconstruction

3rd step: Grouping. Considering Y i to be associated with the i th largest singular value of Y , this step intends to separate the signal and noise components as follows:
Y = S ^ + N ^ ,
where S ^ = Y 1 + + Y r and r < d is the number of components associated with the signal.
4th step: Diagonal averaging. In this step, using anti-diagonal averaging on each block of S ^ , the de-noised/smoothed time series will be reconstructed.

2.5.3. Third Stage: Forecasting

5th step: Forecast engine. The forecast engine of MSSA, which is a linear function of the last L observations of the de-noised/smoothed time series, will be constructed in this step [39,44]. These forecasts are obtained by using the linear recurrent formula in a similar manner and detailed above for the univariate SSA algorithm. By considering the two versions of the trajectory matrix defined in the 1st step of this algorithm, we obtain the forecasts based on the horizontal MSSA (H-MSSA) and the forecasts based on the vertical MSSA (V-MSSA).
6th step: Out-of-the sample forecasting. In this step, h-steps ahead forecasts will be produced by using the forecast engine [39,44].

2.6. Hybrid Approach

To improve the results for model fit and model forecasting in time series many hybrid models, which combine more than one time series methodology, have been developed [9]. In some of those cases, the SSA is first applied to the raw data in order to extract the deterministic component and then another method such as ANN is applied to the residuals of the SSA to fit/forecast the stochastic part of the time series [9,45]. In this analysis we will consider one of the methods proposed by [9] where the SSA, together with the recurrent SSA forecasting algorithm, is used to forecast the deterministic part of the series and an ANN is used to forecast the stochastic part associated with the signal left from the SSA fit. As with the methods presented before, this hybrid approach will be considered for both model fit and model forecasting.

2.7. Accuracy Measure

Here we will evaluate two types of errors: (i) in sample errors associated with model fit; and (ii) out-of-sample errors, associated with model forecasting. For each of the two types of errors, two measures will be considered: the RMSE, and the MAPE.
For model fit, the RMSE and MAPE are used as a criterion for accessing the quality of a model to fit the data, and it can be written, respectively, as:
R M S E = 1 N t = 1 N ( y t y ˜ t ) 2 ,
and
M A P E = 1 N t = 1 N y t y ˜ t y t ,
where y t are the observed values and y ˜ t the fitted values by the considered model/algorithm (i.e., ARIMA, SSA, MSSA, ANN), and N the length of the time series.
For model forecasting, let us assume that the last g observations, e.g., g = 12 , are used as the test set. The RMSE and MAPE to measure the out-of-sample forecasting error for a given model can be written, respectively, as:
R M S E = 1 g t = N g + 1 N ( y t y ˜ t ) 2 ,
and
M A P E = 1 g t = N g + 1 N y t y ˜ t y t ,
where y t are the last g observed values and y ˜ t the respective h-steps-ahead forecast values. Other measures such as the symmetric mean absolute percentage error or the mean directional accuracy can also be used to evaluate both model fit and model forecasting.
In this paper, we considered purely symmetric loss functions where the under-prediction and over-prediction of the currency exchange rates are considered to have the same importance. However, depending on the scope of the analysis, asymmetric loss functions that, e.g., give higher weights to losses of the currency exchange rates in relation to the USD, should be considered.

3. Results and Discussion

In this section, we will analyse the historical data from the eight currency exchange rates. This data will be used to compare: (i) the classical ARIMA model, (ii) the classical SSA algorithm, (iii) the classical MSSA algorithm, (iv) the artificial neural network algorithm, and (v) the hybrid algorithm that combines SSA and ANN, in terms of computational time and accuracy for model fit and model forecast. In terms of model assumptions, stationarity is of key importance. While many of the standard parametric time series methods (e.g., ARIMA) require the data to be stationary, the non-parametric SSA and MSSA do not require the this assumption in the data [23]. As for ANN, overfitting may ease the problem of having non-stationary time series significantly and might be a key to success for complex financial time-series analysis [46]. The computational times presented in this section were obtained by a laptop with processor 2.00 GHz Intel Core i3-6006U, 4 GB RAM of memory and operational system of 64 bits with Windows 10.
Table 1 shows the descriptive statistics for the eight currency exchange rates, including the minimum, maximum, mean, standard deviation and coefficient of variation. Figure 2 shows the behaviour of the eight currency exchange rates along the time. From the analysis of these plots, it is possible to observe a different behaviour between series, and no clear pattern among developed or developing countries.

3.1. Model Fit

The models/algorithms under comparison for model fit are: (i) ARIMA; (ii) SSA (with three alternative parameter choice); (iii) multivariate SSA (two algorithms); (iv) artificial neural networks (ANN); and (v) hybrid algorithm that combines SSA and ANN.
The parameters of the ARIMA model were estimated with the function “auto.arima” from the R package “forecast” [47], that does model selection based on either the Akaike information criterion or the Bayesian information criterion. The model parameters for the ARIMA models, together with the observed values of the test statistic and p-values of the Dicky-Fuller test (obtained using the function adf.test of the R package tseries) are given in Table 2. These results provide evidence that the stationarity requirement of the ARIMA model is met.
As mentioned above, for the SSA and multivariate SSA algorithms, there are two choices to be made by the researcher: (i) the window length L; and (ii) the number of eigentriples used for reconstruction r. The values for L were chosen for each time series as defined in Table 3: L 1 = N / 20 , L 2 = N / 2 and L p , being the L p obtained from the periodogram, based on the largest cycle for each time series [48] (i.e., about one trimester for all time series), being N the length of the time series length. The number of eigentriples used for reconstruction r, for each of the considered window lengths and each of the time series, was obtained by analysing the w-correlations between components [23]. The number of eigentriples r should be chosen in order to maximize the w-correlation among signal components, maximize the w-correlation among noise components, and minimize the w-correlation between signal and noise components, i.e., in order to maximize the separability between signal components and noise components.
Figure 3 shows the w-correlation matrices for each of the eight currency exchange rates, considering the window length L p obtained based on the periodogram. Figure A1 and Figure A2 of the appendix show the w-correlation matrices for each of the eight currency exchange rates, considering the window L 1 = N / 20 and L 2 = N / 2 , respectively. Figure A3 of the appendix show the w-correlations for the horizontal and vertical MSSA. These w-correlation plots can be obtained with the function “wcor” of the R package “Rssa” [49]. These w-correlation plots intend to help with the decision about the separability between signal and noise components (3rd step of the SSA and MSSA algorithms). Being the darker colors of Figure 3 associated with higher w-correlations and lighter colors associated with lower w-correlations, we intend to choose the “best” cut-point that maximizes the separability, i.e., high w-correlations between signal components, high w-correlations between noise components, and low w-correlations between signal and noise components.
To access and compare the ability for model fit, the RMSE and the MAPE were calculated for each of the eight models/algorithms, one ARIMA, three SSA, two MSSA, one ANN, and one hybrid SSA-ANN, in each time series (Table 4 and Table 5, respectively). The results for the univariate and multivariate SSA are for the parameters defined in Table 3. The parameter for the SSA part of the hybrid method that combines SSA and ANN were chosen to be L p and r p (Table 3) because of the best fit when compared with the other parameter choices for SSA.
The results in Table 4 and Table 5 show that the overall best SSA algorithm to fit the time series was the one with parameter L p and r p (Table 3), which also outperformed the ARIMA model and, in most cases, the ANN. The best multivariate SSA algorithm was the one that uses the horizontal form of the trajectory matrix (H-MSSA), that also outperformed all SSA algorithms and the ANN. However, the best overall model for model fit in the considered eight time series of exchange currency rates, was the hybrid model that combined the SSA and the ANN.
Table 6 shows the computational time for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN. It can be seen that, although the hybrid algorithm that combines the SSA and ANN takes longer that the competing methods, the computational times are under three minutes.
Figure 4 shows the original time series, the smoothed time series after applying the SSA considering a window length L p and r p eigentriples (Table 3) and the model fit by the hybrid algorithm that combines the SSA and the ANN, for each of the eight currency exchange rates. It can be seen that the model fits almost overlap with the original time series, which was expected because of the overall low values for the RMSE (Table 4) and MAPE (Table 5). Similar behaviour was obtained by all considered methods.

3.2. Model Forecasting

In this section, we compare the forecasting ability of the eight models/algorithms under study: (i) ARIMA; (ii) SSA (with three alternative parameter choice); (iii) multivariate SSA (two algorithms); (iv) artificial neural networks (ANN); and (v) hybrid algorithm that combines SSA and ANN. Table 7 and Table 8 give the RMSE and MAPE forecasting values, respectively, for each method/algorithm applied to each time series. These values are obtained by considering a test set of g = 12 observations from each time series, obtained for one, five and ten steps ahead out-of-sample forecast, i.e., one day ahead, one week ahead and two weeks ahead. The overall best performance, based on both RMSE and MAPE was obtained by the hybrid algorithm that combines the SSA and the ANN, for any number of steps ahead out-of-sample forecasts. For one-step-ahead out of sample forecasting, the second best overall performance was obtained by the SSA based on L p and r p (Table 3) and the multivariate SSA algorithms (Table 7 and Table 8). For five and ten steps-ahead out of sample forecasting, the models ARIMA, SSA with L 1 = N / 20 and r 1 , SSA with L p and r p , both versions of the multivariate SSA algorithm and the ANN, perform similarly in terms of RMSE (Table 7). When considering the MAPE (Table 8 for five and ten steps-ahead out of sample forecasting, the second best performance alternates between the multivariate versions of the SSA algorithm, the ANN and the SSA algorithms based on L p and r p , and based on L 1 and r 1 (Table 3).
Although Table 7 and Table 8 only give the point estimates for the RMSE and MAPE, respectively, a measure of variability such as the standard errors could also be obtained based on resampling. To reduce the variability in these measure, the test size could also be increased which, in this case, provides similar results.
The computational times to obtain the RMSE and MAPE values in Table 7 and Table 8 are presented in Table 9. The lowest computational time was obtained for the multivariate SSA algorithms (the times reported in Table 9 are to obtain the forecast values for the eight time series together) in every number of steps ahead. These are followed by the SSA algorithms with L 1 and L p (Table 3) because of the more rectangular trajectory matrices used in the singular value decomposition, the most time consuming step of the SSA algorithm. As expected from the analysis of the computational times for model fit in Table 6, the hybrid model was the highest computational costly with times between 15 and 31 min, which was compensated with the excellent results in terms of model forecasting (Table 7 and Table 8).

4. Discussion and Conclusions

In this paper, we compared standard and advanced, parametric and non-parametric, and univariate and multivariate models to access the ability for model fit and model forecasting. The models under consideration were: (i) the ARIMA model; (ii) the univariate SSA model, considering three different choices for the window length L and the number of eigentriples used for reconstruction r; (iii) the multivariate SSA model, considering the horizontal and vertical forms of the trajectory matrix and the linear recurrent algorithm; (iv) the ANN; and (v) a hybrid model that uses the SSA to fit/forecast the deterministic part of the data and the ANN to fit/predict the stochastic part of the data.
Based on previous analysis and comparisons, the non-parametric SSA proved to outperform standard methods such as the Holt–Winters and ARIMA models [38,50]. Another advantage of SSA in comparison with other standard methods for time series analysis and forecasting is that, contrary to those, it does not require the time series to be stationary. However, when the time series data includes outliers, the SSA which uses an SVD based on the least squares L 2 norm, might not be appropriated and gives worse results than a robust SSA algorithm which uses an SVD based on the L 1 norm [38,51]. For the case of multivariate time series data, the MSSA tends to outperform its univariate counterpart because as the co-integration between time series is considered in MSSA and not in SSA. The performance of MSSA for forecasting improves when there is dependency among time series [39]. Further developments in the field of time series forecasting have been obtained by combining different methods in hybrid methodologies which have proven to outperform most competing methods [9,52,53].
Although part of the initial motivation of using data on currency exchange rates from developing and developed countries, no specific similarity in behaviour was found nor specific interpretable cluster was obtained (Figure A4).
For both model fit and model forecasting, the best performance in terms of RMSE and MAPE was obtained by the hybrid method that combines the SSA and the ANN, although more expensive computationally. This was followed by the multivariate SSA algorithms with a much lower computational time. These results allow for possible further promising research directions such as the combination of the robust SSA algorithm [38,51,54] with ANN to model time series with data contamination with outlying observations, the combination of the randomized SSA algorithm [55] with ANN to reduce the computational time for long time series, and the combination of multivariate SSA algorithms [39] with ANN for multivariate time series analysis.

Author Contributions

Conceptualization, P.C.R. and O.O.A.; Formal analysis, P.C.R., J.S.P. and R.M.; Methodology, P.C.R., J.S.P. and R.M.; Software, P.C.R., J.S.P. and R.M.; Supervision, P.C.R.; Visualization, J.S.P. and R.M.; Writing–original draft, P.C.R., O.O.A., J.S.P. and R.M.; Writing–review and editing, P.C.R., O.O.A., J.S.P. and R.M. All authors have read and agreed to the published version of the manuscript.

Funding

P.C.Rodrigues acknowledges financial support from the Brazilian National Council for Scientific and Technological Development (CNPq), grant number 305852/2019-1. O.O.Awe acknowledges financial support from the Brazilian Federal Agency for Support and Evaluation of Graduate Education (CAPES), under the program CAPES PrInt UFBA, grant number 88887.374271/2019-00.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNartificial neural network
ARMAautoregressive moving average
ARIMAautoregressive integrated moving average
BRICSBrazil, Russia, India, China, South Africa
BRLBrazilian real
CNYChinese renminby
EUREuro
GBPBritish pound
H-MSSAhorizontal form of the MSSA algorithm
INRIndian rupee
JPYJapanese yen
MAPEmean absolute percentage error
MSSAmultivariate singular spectrum analysis
RUBRussian rouble
SSAsingular spectrum analysis
SVDSingular value decomposition
RMSERoot mean square error
USDUnited States dollar
V-MSSAvertical form of the MSSA algorithm
ZARSouth African rand

Appendix A

Figure A1. W-correlation matrices for each of the eight currency exchange rates, considering an window length L 1 = N / 20 . The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Figure A1. W-correlation matrices for each of the eight currency exchange rates, considering an window length L 1 = N / 20 . The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Stats 03 00012 g0a1
Figure A2. W-correlation matrices for each of the eight currency exchange rates, considering an window length L 2 = N / 2 . The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Figure A2. W-correlation matrices for each of the eight currency exchange rates, considering an window length L 2 = N / 2 . The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Stats 03 00012 g0a2
Figure A3. W-correlation matrices for the horizontal (H-MSSA; left hand side plot) and vertical (V-MSSA; right hand side plot) versions of the multivariate SSA that combines all eight currency exchange rate time series, considering window lengths of L H M S S A and L V M S S A (Table 3), respectively. The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Figure A3. W-correlation matrices for the horizontal (H-MSSA; left hand side plot) and vertical (V-MSSA; right hand side plot) versions of the multivariate SSA that combines all eight currency exchange rate time series, considering window lengths of L H M S S A and L V M S S A (Table 3), respectively. The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Stats 03 00012 g0a3
Figure A4. Dendrogram for the hierarchical cluster analysis for the eight currency, obtained using the “TSclust” package [56] of the R software.
Figure A4. Dendrogram for the hierarchical cluster analysis for the eight currency, obtained using the “TSclust” package [56] of the R software.
Stats 03 00012 g0a4

References

  1. Paul, A.; Ibrahim, M. On the causes and effects of exchange rate volatility on economic growth: Evidence from Ghana. J. Afr. Bus. 2017, 18, 169–193. [Google Scholar]
  2. Nag, A.K.; Mitra, A. Forecasting daily foreign exchange rates using genetically optimized neural networks. J. Forecast. 2002, 21, 501–511. [Google Scholar] [CrossRef]
  3. Edwards, S.; Savastano, M.A. Exchange rates in emerging economies: What do we know? What do we need to know? In NBER Working Paper 7228; National Bureau of Economic Research: Cambridge, MA, USA, 1999. [Google Scholar]
  4. Gali, J.; Monacelli, T. Monetary policy and exchange rate volatility in a small open economy. Rev. Econ. Stud. 2005, 72, 707–734. [Google Scholar] [CrossRef]
  5. von Hagen, J.; Zhou, J. The choice of exchange regimes in developing countries: A multinomial panel analysis. J. Int. Money Financ. 2007, 26, 1071–1094. [Google Scholar] [CrossRef]
  6. Ca’Zorzi, M.; Kolasa, M.; Rubaszek, M. Exchange rate forecasting with DSGE models. J. Int. Econ. 2017, 107, 127–146. [Google Scholar]
  7. Awe, O.O.; Gil-Alana, L.A. Time series analysis of economic growth rate series in Nigeria: Structural breaks, non-linearities and reasons behind the recent recession. Appl. Econ. 2019, 51, 5482–5489. [Google Scholar] [CrossRef]
  8. Jiang, M.N. A comparative analysis of the exchange rate system of the BRICS. Mod. Econ. 2019, 10, 1168–1177. [Google Scholar] [CrossRef] [Green Version]
  9. Sulandari, W.; Subanar; Lee, M.H.; Rodrigues, P.C. Indonesian electricity load forecasting using singular spectrum analysis. Energy 2020, 190, 116408. [Google Scholar] [CrossRef]
  10. Box, G.E.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control; John Wiley and Sons: Hoboken, NJ, USA, 2015. [Google Scholar]
  11. Hyndman, R.; Athanasopoulos, G. Forecasting: Principles and Practice; Otexts: Melbourne, Australia, 2013. [Google Scholar]
  12. Ripley, B.D. Time series in R 1.5.0. R News. 2/2, pp. 2–7. Available online: https://www.r-project.org/doc/Rnews/Rnews_2002-2.pdf (accessed on 28 March 2020).
  13. Hsu, M.W.; Lessmann, S.; Sung, M.C.; Ma, T.; Johnson, J.E. Bridging the divide in financial market forecasting: Machine learners vs. financial economists. Expert Syst. Appl. 2016, 37, 215–234. [Google Scholar] [CrossRef] [Green Version]
  14. Babu, A.S.; Reddy, S.K. Exchange rate forecasting using ARIMA, neural network and fuzzy neuron. J. Stock Forex Trading 2015, 3, 1–5. [Google Scholar]
  15. Ciaburro, G.; Venkateswaran, B. Neural Networks with R: Smart Models Using CNN, RNN, Deep Learning, and Artificial Intelligence Principles; Packt Publishing: Birmingham, UK, 2017. [Google Scholar]
  16. Samarasinghe, S. Neural Networks for Applied Sciences and Engineering: From Fundamentals to Complex Pattern Recognition; CRC Press: Boca Raton, FL, USA, 2016. [Google Scholar]
  17. Zhang, G.P. Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 2003, 50, 159–175. [Google Scholar] [CrossRef]
  18. Khandelwal, I.; Adhikari, R.; Verma, G. Time series forecasting using hybrid ARIMA and ANN models based on DWT decomposition. Procedia Comput. Sci. 2015, 48, 173–179. [Google Scholar] [CrossRef] [Green Version]
  19. Abou-Zaid, A.; Stokes, A. Forecasting foreign exchange rates using artificial neural networks: A trader’s approach. Int. J. Monet. Econ. Financ. 2012, 5, 370–394. [Google Scholar]
  20. Rosenblatt, F. The Perceptron, a Perceiving and Recognizing Automaton Project Para; Cornell Aeronautical Laboratory: New York, NY, USA, 1957. [Google Scholar]
  21. Widrow, B. An Adaptive “Adaline” Neuron Using Chemical “Memistors”; Stanford University, Stanford Electronics Laboratories, Solid State Electronics Laboratory: Stanford, CA, USA, 1960. [Google Scholar]
  22. Broomhead, D.S.; King, G.P. Extracting qualitative dynamics from experimental data. Phys. D Nonlinear Phenom. 1986, 20, 217–236. [Google Scholar] [CrossRef]
  23. Golyandina, N.; Nekrutkin, V.; Zhigljavsky, A. Analysis of Time Series Structure: SSA and Related Techniques; Chapman & Hall/CRC: New York, NY, USA, 2001. [Google Scholar]
  24. Golyandina, N.; Zhigljavsky, A. Singular Spectrum Analysis for Time Series; Springer Science and Business Media: Berlin/Heidelberger, Germany, 2013. [Google Scholar]
  25. Hassani, H.; Mahmoudvand, R. Singular Spectrum Analysis Using R; Palgrave Advanced Texts in Econometrics; Springer: London, UK, 2018. [Google Scholar]
  26. Hassani, H. Singular spectrum analysis: Methodology and comparison. J. Data Sci. 2007, 5, 239–257. [Google Scholar]
  27. Hassani, H.; Zhigljavsky, A. Singular spectrum analysis: Methodology and application to economics data. J. Syst. Sci. Complex. 2009, 22, 372–394. [Google Scholar] [CrossRef]
  28. de Carvalho, M.; Rodrigues, P.C.; Rua, A. Tracking the US business cycle with a singular spectrum analysis. Econ. Lett. 2012, 114, 32–35. [Google Scholar] [CrossRef]
  29. Rodrigues, P.C.; de Carvalho, M. Spectral modeling of time series with missing data. Appl. Math. Model. 2013, 37, 4676–4684. [Google Scholar] [CrossRef]
  30. Mahmoudvand, R.; Alehosseini, F.; Rodrigues, P.C. Forecasting mortality rate by singular spectrum analysis. RevStat-Stat. J. 2015, 13, 193–206. [Google Scholar]
  31. Mahmoudvand, R.; Rodrigues, P.C. Missing value imputation in time series using singular spectrum analysis. Int. J. Energy Stat. 2016, 4, 1650005. [Google Scholar] [CrossRef]
  32. Groth, A.; Ghil, M. Synchronization of world economic activity. Chaos Interdiscip. J. Nonlinear Sci. 2017, 27, 127002. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Mahmoudvand, R.; Konstantinides, D.; Rodrigues, P.C. Forecasting mortality rate by multivariate singular spectrum analysis. Appl. Stoch. Models Bus. Ind. 2017, 33, 717–732. [Google Scholar] [CrossRef]
  34. Zabalza, J.; Qing, C.; Yuen, P.; Sun, G.; Zhao, H.; Ren, J. Fast implementation of two-dimensional singular spectrum analysis for effective data classification in hyperspectral imaging. J. Frankl. Inst. 2018, 355, 1733–1751. [Google Scholar] [CrossRef] [Green Version]
  35. Mahmoudvand, R.; Rodrigues, P.C.; Yarmohammadi, M. Forecasting daily exchange rates: A comparison between SSA and MSSA. RevStat-Stat. J. 2019, 17, 599–616. [Google Scholar]
  36. Mahmoudvand, R.; Rodrigues, P.C. Predicting the Brexit outcome using singular spectrum analysis. J. Comput. Stat. Model. 2019, 1, 9–15. [Google Scholar]
  37. Ge, M.; Lv, Y.; Zhang, Y.; Yi, C.; Ma, Y. An effective bearing fault diagnosis technique via local robust principal component analysis and multi-scale permutation entropy. Entropy 2019, 21, 959. [Google Scholar] [CrossRef] [Green Version]
  38. Rodrigues, P.C.; Pimentel, J.; Messala, P.; Kazemi, M. Decomposition and forecasting of mutual investment funds using singular spectral analysis. Entropy 2020, 22, 83. [Google Scholar] [CrossRef] [Green Version]
  39. Rodrigues, P.C.; Mahmoudvand, R. The benefits of multivariate singular spectrum analysis over the univariate version. J. Frankl. Inst. 2018, 355, 544–564. [Google Scholar] [CrossRef]
  40. Danilov, D. Principal components in time series forecast. J. Comput. Graph. Stat. 1997, 6, 112–121. [Google Scholar]
  41. Mahmoudvand, R.; Rodrigues, P.C. A new parsimonious recurrent forecasting model in singular spectrum analysis. J. Forecast. 2018, 37, 191–200. [Google Scholar] [CrossRef]
  42. Mahmoudvand, R.; Rodrigues, P.C. Prediction intervals for the vector SSA forecasting algorithm in a median based singular spectrum analysis. Comput. Math. Methods 2020, e1080. [Google Scholar] [CrossRef] [Green Version]
  43. Rodrigues, P.C.; Mahmoudvand, R. A new approach for the vector forecast algorithm in singular spectrum analysis. Commun. Stat. Simul. Comput. 2020, 49, 591–605. [Google Scholar] [CrossRef]
  44. Hassani, H.; Mahmoudvand, R. Multivariate singular spectrum analysis: A general view and new vector forecasting algorithm. Int. J. Energy Stat. 2013, 1, 55–83. [Google Scholar] [CrossRef]
  45. Sulandari, W.; Subanar; Suhartono, S.; Utami, H.; Lee, M.H.; Rodrigues, P.C. SSA based hybrid forecasting models and applications. Bull. Electr. Eng. Inform. 2020, in press. [Google Scholar]
  46. Kim, T.Y.; Oh, K.J.; Kim, C.; Do, J.D. Artificial neural networks for non-stationary time series. Neurocomputing 2004, 61, 439–447. [Google Scholar] [CrossRef]
  47. Hyndman, R.J.; Khandakar, Y. Automatic time series forecasting: The forecast package for R. J. Stat. Softw. 2008, 26. [Google Scholar] [CrossRef] [Green Version]
  48. de Carvalho, M.; Rua, A. Real-Time Nowcasting the US Output Gap: Singular Spectrum Analysis at Work. Int. J. Forecast. 2017, 33, 185–198. [Google Scholar] [CrossRef] [Green Version]
  49. Golyandina, N.; Korobeynikov, A.; Shlemov, A.; Usevich, K. Multivariate and 2D Extensions of Singular Spectrum Analysis with the Rssa Package. J. Stat. Softw. 2015, 67. [Google Scholar] [CrossRef] [Green Version]
  50. Hassani, H.; Heravi, S.; Zhigljavsky, A. Forecasting European industrial production with singular spectrum analysis. Int. J. Forecast. 2009, 25, 103–118. [Google Scholar] [CrossRef]
  51. Rodrigues, P.C.; Lourenço, V.M.; Mahmoudvand, R. A robust approach to singular spectrum analysis. Qual. Reliab. Eng. Int. 2018, 34, 1437–1447. [Google Scholar] [CrossRef]
  52. Makridakis, S.; Spiliotis, E.; Assimakopoulos, V. The M4 Competition: Results, findings, conclusion and way forward. Int. J. Forecast. 2018, 34, 802–808. [Google Scholar] [CrossRef]
  53. Makridakis, S.; Spiliotis, E.; Assimakopoulos, V. The M4 Competition: 100,000 time series and 61 forecasting methods. Int. J. Forecast. 2020, 36, 54–74. [Google Scholar] [CrossRef]
  54. Rodrigues, P.C.; Mahmoudvand, R. Correlation analysis in contaminated data by singular spectrum analysis. Qual. Reliab. Eng. Int. 2016, 32, 2127–2137. [Google Scholar] [CrossRef]
  55. Rodrigues, P.C.; Tuy, P.G.S.E.; Mahmoudvand, R. Randomized singular spectrum analysis for long time series. J. Stat. Comput. Simul. 2018, 88, 1921–1935. [Google Scholar] [CrossRef]
  56. Montero, P.; Vilar, J.A. TSclust: An R Package for Time Series Clustering. J. Stat. Softw. 2014, 62, 1–43. [Google Scholar]
Figure 1. Representation of an artificial neural network.
Figure 1. Representation of an artificial neural network.
Stats 03 00012 g001
Figure 2. Time series for the exchange rates of the eight currencies against the USD. From top to bottom and from left to right: USD/BRL, USD/CNY, USD/EUR, USD/GBP, USD/INR, USD/JPY, USD/RUB and USD/ZAR. The vertical axes show the exchange rate and the horizontal axes shows the time.
Figure 2. Time series for the exchange rates of the eight currencies against the USD. From top to bottom and from left to right: USD/BRL, USD/CNY, USD/EUR, USD/GBP, USD/INR, USD/JPY, USD/RUB and USD/ZAR. The vertical axes show the exchange rate and the horizontal axes shows the time.
Stats 03 00012 g002
Figure 3. W-correlation matrices for each of the eight currency exchange rates, considering an window length L p . The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Figure 3. W-correlation matrices for each of the eight currency exchange rates, considering an window length L p . The vertical and horizontal lines in each w-correlations plot indicate the selected cut-point that maximize separability between signal and noise components.
Stats 03 00012 g003
Figure 4. Original time series (black line), smoothed time series after applying the SSA considering a window length L p and r p eigentriples (Table 3) (red line) and model fit by the hybrid algorithm that combines the SSA and the ANN (green line), for each of the eight currency exchange rates. From top to bottom: USD/BRL, USD/CNY, USD/EUR, USD/GBP, USD/INR, USD/JPY, USD/RUB, and USD/ZAR. The vertical axes show the exchange rate and the horizontal axes shows the time.
Figure 4. Original time series (black line), smoothed time series after applying the SSA considering a window length L p and r p eigentriples (Table 3) (red line) and model fit by the hybrid algorithm that combines the SSA and the ANN (green line), for each of the eight currency exchange rates. From top to bottom: USD/BRL, USD/CNY, USD/EUR, USD/GBP, USD/INR, USD/JPY, USD/RUB, and USD/ZAR. The vertical axes show the exchange rate and the horizontal axes shows the time.
Stats 03 00012 g004
Table 1. Descriptive measures for the eight currency exchange rates.
Table 1. Descriptive measures for the eight currency exchange rates.
CurrencyMinimumMeanMaximumStandard DeviationCoefficient of Variation
Brazilian real (USD/BRL)1.532.574.480.7690.2992
Chinese renminby (USD/CNY)6.036.938.280.6910.0997
Euro (USD/EUR)0.630.800.960.0760.0951
British pound (USD/GBP)0.470.640.830.0900.1411
Indian rupee (USD/INR)39.0454.3574.6010.4110.1916
Japanese yen (USD/JPY)75.74103.93125.6312.7800.1230
Russian rouble (USD/RUB)23.1740.2782.9015.9840.3969
South African rand (USD/ZAR)5.609.7116.873.0500.3141
Table 2. Parameters for the ARIMA model, and observed valued of the test statistic and p-values for the Dickey-Fuller test.
Table 2. Parameters for the ARIMA model, and observed valued of the test statistic and p-values for the Dickey-Fuller test.
Dickey-Fuller Test
CurrencyAR(p)I(d)MA(q)Test Statisticp-Value
Brazilian real (USD/BRL)520−13.5860.01
Chinese renminby (USD/CNY)520−13.1890.01
Euro (USD/EUR)111−15.5310.01
British pound (USD/GBP)010−15.4200.01
Indian rupee (USD/INR)110−15.3130.01
Japanese yen (USD/JPY)011−16.2610.01
Russian rouble (USD/RUB)212−14.2920.01
South African rand (USD/ZAR)010−16.9450.01
Table 3. Window length L 1 = N / 20 , L 2 = N / 2 and L p , and number of eigentriples r considered for model fit and model forecast for each of the currency exchange rates.
Table 3. Window length L 1 = N / 20 , L 2 = N / 2 and L p , and number of eigentriples r considered for model fit and model forecast for each of the currency exchange rates.
Currency Exchange Rate L 1 r 1 L 2 r 2 L p r p L H MSSA r H MSSA L V MSSA r V MSSA
Brazilian real (USD/BRL)2121121207602060306021
Chinese renminby (USD/CNY)2121121207601860306021
Euro (USD/EUR)21212212014601360306021
British pound (USD/GBP)21210212019601060306021
Indian rupee (USD/INR)2121021207601760306021
Japanese yen (USD/JPY)2127212010601660306021
Russian rouble (USD/RUB)212921207601560306021
South African rand (USD/ZAR)2128212011601560306021
Table 4. Root mean square error for model fit for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Table 4. Root mean square error for model fit for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Currency Exchange Rate ARIMA SSA L 1 SSA L 2 SSA L p H MSSA V MSSA ANN SSA ANN
Brazilian real (USD/BRL)0.03170.02930.12350.02150.01240.05450.02910.0074
Chinese renminby (USD/CNY)0.01290.01440.07730.00720.00500.02590.01190.0020
Euro (USD/EUR)0.00570.00620.01510.00390.00250.03320.00530.0016
British pound (USD/GBP)0.00380.00550.01690.00280.00150.03010.00390.0013
Indian rupee (USD/INR)0.27670.30131.28300.17380.11630.29880.27270.0498
Japanese yen (USD/JPY)0.76681.11272.51120.58310.33890.61400.61460.1812
Russian rouble (USD/RUB)0.47390.64802.23670.42680.17750.47630.38390.0849
South African rand (USD/ZAR)0.11090.14660.38330.07690.04340.20230.11140.0255
Table 5. Mean absolute percentage error for model fit for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Table 5. Mean absolute percentage error for model fit for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Currency Exchange Rate ARIMA SSA L 1 SSA L 2 SSA L p H MSSA V MSSA ANN SSA ANN
Brazilian real (USD/BRL)0.82%0.78%3.71%0.57%0.32%1.50%0.75%0.21%
Chinese renminby (USD/CNY)0.11%0.14%0.80%0.06%0.05%0.27%0.10%0.02%
Euro (USD/EUR)0.47%0.58%1.45%0.33%0.20%3.34%0.45%0.13%
British pound (USD/GBP)0.43%0.64%2.05%0.32%0.17%3.67%0.44%0.15%
Indian rupee (USD/INR)0.33%0.38%1.81%0.22%0.14%0.38%0.33%0.06%
Japanese yen (USD/JPY)0.47%0.79%1.89%0.38%0.20%0.40%0.43%0.10%
Russian rouble (USD/RUB)0.52%0.77%3.49%0.48%0.21%0.57%0.50%0.12%
South African rand (USD/ZAR)0.80%1.09%2.98%0.56%0.31%1.55%0.80%0.19%
Table 6. Computational time, in minutes, for model fit, for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Table 6. Computational time, in minutes, for model fit, for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Currency Exchange Rate ARIMA SSA L 1 SSA L 2 SSA L p H- MSSA 1 V- MSSA 1 ANN SSA ANN
Brazilian real (USD/BRL)0.38470.03600.88810.01320.01330.09230.10482.4027
Chinese renminby (USD/CNY)0.26770.02900.88600.01720.01330.09230.10381.8119
Euro (USD/EUR)0.22180.02810.93920.01450.01330.09230.23782.7058
British pound (USD/GBP)0.07120.02590.91570.01390.01330.09230.08062.6205
Indian rupee (USD/INR)0.13780.04120.88800.01860.01330.09230.18042.2644
Japanese yen (USD/JPY)0.19700.022310.1110.01120.01330.09231.61942.6516
Russian rouble (USD/RUB)0.10640.03050.85610.01050.01330.09230.84742.6506
South African rand (USD/ZAR)0.08590.03001.01560.01460.01330.09230.07461.6494
1 The reported times are to obtain the results for the eight time series together.
Table 7. Root mean square error for model forecasting for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Table 7. Root mean square error for model forecasting for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Currency Exchange Rate ARIMA SSA L 1 SSA L 2 SSA L p H- MSSA V- MSSA ANN SSA ANN
one-step-ahead
Brazilian real (USD/BRL)0.13230.03700.25800.03720.04100.03480.04940.0247
Chinese renminby (USD/CNY)0.02390.01830.16440.01480.02480.01350.04070.0091
Euro (USD/EUR)0.01100.00950.00760.00380.00290.00370.00560.0017
British pound (USD/GBP)0.00560.00300.04610.00370.00420.00350.00480.0026
Indian rupee (USD/INR)0.34480.21412.54600.25210.22310.20690.28020.1498
Japanese yen (USD/JPY)0.97020.895311.4610.70990.68530.65150.75780.4927
Russian rouble (USD/RUB)2.18200.90591.55890.46370.66130.51681.48980.2807
South African rand (USD/ZAR)0.43400.29630.23870.10400.12730.10230.21650.0723
five-steps-ahead
Brazilian real (USD/BRL)0.22800.05440.27270.06480.07880.06450.08040.0209
Chinese renminby (USD/CNY0.02730.01790.17380.02820.04890.03030.04180.0078
Euro (USD/EUR)0.01070.01240.00700.00870.00880.00940.00710.0025
British pound (USD/GBP)0.00560.01240.04690.00440.00630.00560.00470.0025
Indian rupee (USD/INR)0.36320.22122.56010.56890.48480.39770.28500.1209
Japanese yen (USD/JPY)0.97090.918611.8421.27721.50181.05900.74070.5181
Russian rouble (USD/RUB)2.18201.10781.60700.99511.31901.13841.49810.2759
South African rand (USD/ZAR)0.43400.36130.24440.21050.27760.20530.17280.0470
ten-steps-ahead
Brazilian real (USD/BRL)0.34980.08910.29090.09410.08900.09740.14990.0232
Chinese renminby (USD/CNY)0.04570.04810.18620.05160.06530.04150.04340.0080
Euro (USD/EUR)0.01070.01570.00590.01340.01370.01380.00900.0023
British pound (USD/GBP)0.00560.00660.04780.00700.00600.00440.00470.0024
Indian rupee (USD/INR)0.38360.30202.58210.57380.51680.45070.31510.1011
Japanese yen (USD/JPY)0.97090.940412.2931.02231.27281.11890.82050.3122
Russian rouble (USD/RUB)2.18201.54431.67840.82721.61451.25351.80170.2482
South African rand (USD/ZAR)0.43400.38540.24670.28940.34420.28780.20190.0470
Table 8. Mean absolute percentage error for model forecasting for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Table 8. Mean absolute percentage error for model forecasting for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Currency Exchange Rate ARIMA SSA L 1 SSA L 2 SSA L p H- MSSA V- MSSA ANN SSA ANN
one-step-ahead
Brazilian real (USD/BRL)2.82%0.64%5.84%0.71%0.76%0.62%1.02%0.51%
Chinese renminby (USD/CNY)0.31%0.20%2.32%0.15%0.29%0.14%0.48%0.09%
Euro (USD/EUR)1.12%0.91%0.77%0.32%0.26%0.31%0.53%0.13%
British pound (USD/GBP)0.58%0.33%5.95%0.39%0.47%0.40%0.49%0.31%
Indian rupee (USD/INR)0.37%0.25%3.54%0.31%0.28%0.24%0.35%0.17%
Japanese yen (USD/JPY)0.58%0.52%10.35%0.45%0.49%0.40%0.56%0.39%
Russian rouble (USD/RUB)3.07%1.02%2.18%0.52%0.83%0.63%1.99%0.38%
South African rand (USD/ZAR)2.66%1.62%1.19%0.54%0.71%0.55%1.27%0.37%
five-steps-ahead
Brazilian real (USD/BRL)5.10%1.08%6.17%1.17%1.44%1.22%1.52%0.39%
Chinese renminby (USD/CNY)0.32%0.20%2.46%0.37%0.58%0.35%0.50%0.08%
Euro (USD/EUR)1.10%1.21%0.70%0.83%0.82%0.90%0.71%0.23%
British pound (USD/GBP)0.58%0.41%6.05%0.43%0.66%0.63%0.49%0.31%
Indian rupee (USD/INR)0.39%0.24%3.56%0.66%0.60%0.42%0.36%0.12%
Japanese yen (USD/JPY)0.58%0.55%10.69%0.86%1.02%0.71%0.56%0.40%
Russian rouble (USD/RUB)3.07%1.42%2.25%1.33%1.75%1.36%2.01%0.36%
South African rand (USD/ZAR)2.66%1.94%1.22%1.22%1.51%1.20%0.92%0.26%
ten-steps-ahead
Brazilian real (USD/BRL)7.93%1.96%6.59%1.93%1.80%2.07%3.27%0.46%
Chinese renminby (USD/CNY)0.56%0.55%2.64%0.69%0.79%0.53%0.52%0.09%
Euro (USD/EUR)1.10%1.61%0.56%1.28%1.32%1.32%0.91%0.21%
British pound (USD/GBP)0.58%0.77%6.17%0.73%0.61%0.49%0.50%0.34%
Indian rupee (USD/INR)0.42%0.35%3.59%0.64%0.58%0.52%0.41%0.11%
Japanese yen (USD/JPY)0.58%0.57%11.10%0.86%0.94%0.92%0.57%0.21%
Russian rouble (USD/RUB)3.07%2.26%2.36%0.95%2.06%1.54%5.20%0.30%
South African rand (USD/ZAR)2.66%2.08%1.23%1.54%2.00%1.49%0.99%0.25%
Table 9. Computational time, in minutes, for model fit, for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Table 9. Computational time, in minutes, for model fit, for each of the eight currency exchange rates, considering each of the eight models/algorithms, ARIMA, SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, multivariate SSA for the window length and number of eigentriples for reconstruction as defined in Table 3, ANN, and the hybrid method that combines SSA and ANN.
Currency Exchange Rate ARIMA SSA L 1 SSA L 2 SSA L p H- MSSA 1 V- MSSA 1 ANN SSA ANN
one-step-ahead
Brazilian real (USD/BRL)4.36550.533317.6990.18910.23230.27550.887728.337
Chinese renminby (USD/CNY)3.73050.454418.1580.24480.23230.27550.879515.076
Euro (USD/EUR)2.99980.456217.7550.18130.23230.27550.925329.917
British pound (USD/GBP)0.94400.549417.5490.15300.23230.27550.899429.427
Indian rupee (USD/INR)1.80740.496117.6750.23850.23230.27552.263427.408
Japanese yen (USD/JPY)2.92550.425317.5020.23160.23230.275520.06230.499
Russian rouble (USD/RUB)1.35110.608717.2940.33920.23230.27554.288829.711
South African rand (USD/ZAR)1.11480.644417.3770.29950.23230.27550.891019.033
five-steps-ahead
Brazilian real (USD/BRL)4.58270.515817.3520.18270.21120.25320.893528.563
Chinese renminby (USD/CNY)4.02230.443317.3280.23710.21120.25320.892815.157
Euro (USD/EUR)3.31330.462517.5740.18250.21120.25320.923130.004
British pound (USD/GBP)1.04440.433517.2960.14780.21120.25320.898729.270
Indian rupee (USD/INR)1.99460.510217.3760.23100.21120.25322.140726.658
Japanese yen (USD/JPY)2.82060.386217.4370.21720.21120.253219.97730.510
Russian rouble (USD/RUB)1.75940.415617.0640.20880.21120.25324.182429.583
South African rand (USD/ZAR)1.50770.454217.3820.21000.21120.25320.878219.019
ten-steps-ahead
Brazilian real (USD/BRL)4.60750.513617.2170.18330.23350.28650.895028.491
Chinese renminby (USD/CNY)4.09330.446917.2720.23960.23350.28650.896115.133
Euro (USD/EUR)3.30710.464617.4420.18620.23350.28650.932129.974
British pound (USD/GBP)1.03250.421917.2300.14770.23350.28650.915829.441
Indian rupee (USD/INR)1.95750.489217.2710.23190.23350.28652.156326.646
Japanese yen (USD/JPY)2.82400.389917.3380.21840.23350.286520.06230.689
Russian rouble (USD/RUB)1.53550.416116.9860.20800.23350.28654.201329.597
South African rand (USD/ZAR)1.24030.457817.2090.20990.23350.28650.879519.178
1 The reported times are to obtain the results for the eight time series together.

Share and Cite

MDPI and ACS Style

Rodrigues, P.C.; Awe, O.O.; Pimentel, J.S.; Mahmoudvand, R. Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks. Stats 2020, 3, 137-157. https://doi.org/10.3390/stats3020012

AMA Style

Rodrigues PC, Awe OO, Pimentel JS, Mahmoudvand R. Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks. Stats. 2020; 3(2):137-157. https://doi.org/10.3390/stats3020012

Chicago/Turabian Style

Rodrigues, Paulo Canas, Olushina Olawale Awe, Jonatha Sousa Pimentel, and Rahim Mahmoudvand. 2020. "Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks" Stats 3, no. 2: 137-157. https://doi.org/10.3390/stats3020012

APA Style

Rodrigues, P. C., Awe, O. O., Pimentel, J. S., & Mahmoudvand, R. (2020). Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks. Stats, 3(2), 137-157. https://doi.org/10.3390/stats3020012

Article Metrics

Back to TopTop