 Research
 Open access
 Published:
Evaluation of forecasting methods from selected stock market returns
Financial Innovation volumeÂ 5, ArticleÂ number:Â 40 (2019)
Abstract
Forecasting stock market returns is one of the most effective tools for risk management and portfolio diversification. There are several forecasting techniques in the literature for obtaining accurate forecasts for investment decision making. Numerous empirical studies have employed such methods to investigate the returns of different individual stock indices. However, there have been very few studies of groups of stock markets or indices. The findings of previous studies indicate that there is no single method that can be applied uniformly to all markets. In this context, this study aimed to examine the predictive performance of linear, nonlinear, artificial intelligence, frequency domain, and hybrid models to find an appropriate model to forecast the stock returns of developed, emerging, and frontier markets. We considered the daily stock market returns of selected indices from developed, emerging, and frontier markets for the period 2000â€“2018 to evaluate the predictive performance of the above models. The results showed that no single model out of the five models could be applied uniformly to all markets. However, traditional linear and nonlinear models outperformed artificial intelligence and frequency domain models in providing accurate forecasts.
Introduction
Theoretical and empirical studies have shown that a positive relationship exists between financial markets and economic growth (e.g., Levine, 1997; Rajan and Zingales, 1998; Rousseau and Watchel, 2000; Beck et al., 2003; Guptha and Rao, 2018). Given the significance of financial markets, forecasting financial returns occupies a paramount position in investment decision making. However, stock markets are characterized by high volatility, dynamism, and complexity (Johnson et al., 2003; Cristelli, 2014; Wieland, 2015). Movements in stock markets are influenced by several factors, such as macroeconomic factors, international events, and human behavior. Hence, forecasting stock returns can become a challenging task. The profitability of investments in stock markets highly depends on the predictability of stock movements. If a forecasting model or technique can precisely predict the direction of the market, investment risk and uncertainty can be minimized. It would enhance investment flows into stock markets and also be useful for policymakers and regulators in making appropriate decisions and taking corrective measures.
There are two distinct schools of thoughtâ€”namely, fundamental analysis and technical analysisâ€”for predicting stock price movements. Fundamentalists forecast stock prices on the basis of financial analyses of companies or industries. Technical analysts, meanwhile, use historical securities data and predict future prices on the assumption that stock prices are determined by market forces and that history tends to repeat itself (Levy, 1967). These theories coexisted for several decades as strategies for investment decision making. These approaches were challenged in the 1960s by random walk theory, popularly known as the efficient market hypothesis (Fama, 1970), which proposes that future changes in stock prices cannot be predicted from past price changes. Some empirical studies have shown the presence of â€˜random walkâ€™ in stock prices (e.g., Tong et al., 2014; Konak and Seker, 2014; Erdem and Ulucak, 2016). However, most empirical studies have found that stock prices are predictable (Darrat and Zhong, 2000; Lo and MacKinlay, 2002; Harrison and Moore, 2012; Owido et al., 2013; Radikoko, 2014; Said, 2015; Almudhaf, 2018).
Various forecasting techniques are available for time series forecasting. Autoregressive integrated moving average (ARIMA) models were proposed by Box and Jenkins (1970) for time series analysis and forecasting. Some studies have been conducted by employing ARIMA models to forecast stock market returns (AlShaib, 2006; Ojo and Olatayo, 2009; Adebiyi and Oluinka, 2014; Mondal et al., 2014). Quite a few studies found that ARIMA models produced inferior forecasts for financial time series data (Zhang, 2003; Adebiyi and Oluinka, 2014; Khandelwal et al., 2015). To account for nonlinearities resulting from regime changes in economies, some researchers have used Markov regimeswitching models and threshold autoregressive (TAR) models assuming nonlinear stationary processes to predict stock prices (Hamilton, 1989; Tong, 1990). Tasy (1989) proposed a simple yet widely applicable modelbuilding procedure for threshold autoregressive models as well as a test for threshold nonlinearity. Gooijer (1998) considered regime switching in a moving average (MA) model and used validation criteria for selfexciting threshold autoregressive (SETAR) model selection. Some empirical studies comparing different methods with SETAR found that this method produced superior results to linear models (e.g., Clements and Smith, 1999; Boero and Marrocu, 2002; Boero, 2003; Firat, 2017).
In the late 1980s, a class of artificial intelligence (AI) modelsâ€”such as feedforward, backpropagation, and recurrent neural network modelsâ€”were introduced for forecasting purposes. The distinguishing features of artificial neural networks (ANN) are that they are datadriven, nonlinear, and selfadaptive, and they have very few apriori assumptions. This makes ANNs valuable and attractive for forecasting financial time series. Among ANN models, the feedforward neural network with a single hidden layer has become the most popular for forecasting stock market returns (Zhang, 2003). Many studies have shown that these models yield more accurate forecasts compared to naÃ¯ve and linear models (e.g., Ghiassi et al., 2005; Mostafa, 2010; Qiu et al., 2016; Aras and Kocakoc, 2016).
In addition, there are various neural network models for forecasting stock returns. Lu and Wu (2011) used the cerebellar model articulation controller neural network (CAMC NN) model to forecast the stock market indices of the Nikkei 225 and the Taiwan Stock Exchange. The results showed that CAMC NN made more accurate forecasts than support vector regression and backpropagation neural network (BPNN) models. Guresen et al. (2011) observed that classical ANN models and multilayer perceptron (MLP) outperformed GARCHclass models for the NASDAQ index. Lahmiri (2016) employed variational mode decomposition (VMD) based general regression neural networks (GRNN) for four economic and financial data sets and found that VMDGRNN models outperformed the ARIMA model and other neural network models. Nayak and Misraâ€™s (2018) genetic algorithmbased condensed polynomial neural network (GACPNN) improved the accuracy of forecasting stock indices compared to radial basis function neural network (RBFNN) and multilayer perceptron and genetic algorithm (MLPGA) models. Zhong and Enke (2019) observed that techniques such as deep neural networks using principal component analysis (PCA) and artificial neural networks performed better than traditional models. However, most studies have found that traditional ANN models, as well as ANN models combined with linear models, produce more accurate forecasts than other models (e.g., Asadi et al., 2010; Wang et al., 2011; Khandelwal et al., 2015; Mallikarjuna et al., 2018).
Recently, frequencydomain models, such as spectral analysis, wavelets, and Fourier transformations, have been proposed to improve the forecasting accuracy of financial time series. One widely used technique is singular spectrum analysis (SSA), which is a robust nonparametric method with no prior assumptions about the data (Golyandina et al., 2001; Hassani et al., 2013a). SSA decomposes a time series data into its components and then reconstructs the series by leaving the random noise component before using the reconstructed series to forecast the future points in the series (Hassani, 2007; Ghodsi and Omer, 2014). Since most financial time series data sets exhibit neither purely linear nor purely nonlinear patterns, the combination of linear and nonlinear, i.e., hybrid techniques to model complex data structures for improved accuracy has been proposed (Asadi et al., 2010; Khashei and Bijari, 2010; Khashei and Bijari, 2012; Khandelwal et al., 2015; Ince and Trafalis, 2017). Khashei and Hajirahimi (2017) compared linear and nonlinear models with hybrid models (HM) and concluded that hybrid models perform better than individual models.
Only a few studies have aimed to find a suitable method for forecasting the stock returns of a group of markets. Guidolin et al. (2009) evaluated the performance of linear and nonlinear models for forecasting the financial asset returns of G7 countries. They found that nonlinear models, such as threshold autoregressive (TAR) and smooth transition autoregressive (STAR) models, performed better than linear models in the case of US and UK asset returns. Meanwhile, simple linear models such as random walk and autoregressive models were better for French, German, and Italian asset returns. This suggests that no single model is suitable for forecasting the returns of all stock markets. Awajan et al. (2018) compared the performance of several forecasting methods by applying them to six stock markets and found that the empirical mode decomposition Holtâ€“Winters method (EMDHW) provided more accurate forecasts than other models.
Though there are various techniques for forecasting stock market returns, no single method can be employed uniformly for the returns of all stock markets. The literature indicates that there is no consensus among researchers regarding the techniques for forecasting stock market returns. The present study, therefore, aimed to evaluate different forecasting techniquesâ€”namely, ARIMA, SETAR, ANN, SSA, and HM models, representing linear, nonlinear, artificial intelligence (AI), frequency domain, and hybrid methods, respectivelyâ€”as applied to individual stock markets. This study also examined the suitability of different forecasting methods for each category of the world stock marketsâ€”namely, developed, emerging, and frontier. Finding a single method that can produce optimal forecasts for all markets could help investors save time and resources and make better decisions. This study is mainly useful for international investors and foreign institutional investors who wish to minimize risks and diversify their portfolios, with the aim of maximizing profits. The objectives of the present study are outlined below.
Objectives

1.
To forecast stock market returns using linear, nonlinear, artificial intelligence, frequency domain, and hybrid methods.

2.
To find the most appropriate forecasting techniques among the five abovementioned techniques for developed, emerging, and frontier markets.

3.
To check whether any single technique can be applied to all markets to obtain optimal forecasts.
The rest of this paper is organized as follows. Section 2 describes the data and methods employed in the study. Section 3 presents the empirical results. Finally, the conclusions are given in section 4.
Data and methodology
In accordance with the objectives of this study, we considered three types of marketsâ€”developed, emerging, and frontierâ€”based on the Morgan Stanley Capital International classification (MSCI, 2018). The market indices taken for the developed category are Australia (ASX 200), Canada (TSX Composite), France (CAC 40), Germany (DAX), Japan (NIKKEI 225), South Korea (KOSPI), Switzerland (SMI), United Kingdom (FTSE 100), and the United States (S&P 500). Those for emerging markets are Brazil (BOVESPA), China (SSEC), Egypt (EGX 30), India (SENSEX), Indonesia (IDX), Mexico (BMV IPC), Russia (MOEX), South Africa (JSE 40), Thailand (SET), and Turkey (BIST 100). Lastly, those in the frontier category are Argentina (S&P MERVAL), Estonia (TSEG), Kenya (NSE 20), Sri Lanka (CSE AS), and Tunisia (TUNINDEX). The daily closing prices of these indices for the period 1 January 2000 to 30 December 2018 were obtained from the website www.investing.com.
Asset returns (R_{t}) were calculated from the closing prices of all indices using the formula:
Where, P_{t} is the price of the asset in the current time period and P_{tâ€‰âˆ’â€‰1} is the price of an asset in the previous time period.
Autoregressive integrated moving average (ARIMA)
Proposed by George Box and Gwilym Jenkins in 1970, ARIMA models are among the most popular linear models. In ARIMA models, the future value of a variable is obtained through a linear function of some past observations of the variable and some random errors. The process that generates the time series has the form of:
where y_{t} is the variable that will be explained at time t; c is the constant or intercept ;Ï•_{i}(iâ€‰=â€‰1,â€‰2,â€‰â€¦p) and Î¸_{j}(jâ€‰=â€‰1,â€‰2,â€‰â€¦. q) are the model parameters; p and q are integers and are often referred to as AR and MA orders of the model, respectively; and e_{t} is the error term. The assumption regarding the random errors Îµ_{t} is that they are independently and identically distributed with a mean zero and constant variance of Ïƒ^{2}. This model involves a threestep iterative process of identification, estimation, and diagnostic checking. The identification step involves specifying a tentative model by deciding the order of the AR (p) and MA (q) terms. Once a tentative model is specified, the parameters of the model must be estimated, in such a way that the overall measure of errors is minimized, which is generally done with a nonlinear optimization procedure. After the estimation of parameters, diagnostic checking for the adequacy of the model must be done, which involves testing whether the model assumptions about the errors Îµ_{t} are satisfied. If the model is adequate, one can proceed to forecast; if not, a new tentative model must be identified following the parameter estimation and model verification. This process with three steps must be repeated until a satisfactory model is selected to forecast the data.
Selfexciting threshold autoregressive (SETAR)
The SETAR model, developed by Tong (1983), is a type of autoregressive model that can be applied to time series data. This model has more flexibility in the parameters which have regimeswitching behavior (Watier and Richardson, 1995). Regime switching in this model is based on the dependent variableâ€™s selfdynamics, i.e. selfexciting. In other words, the threshold value in the SETAR model is related to the endogenous variable whereas, in the TAR Model, it is related to an exogenous variable. This model assumes a different autoregressive process in accordance with particular threshold values. SETAR models have the advantage of capturing a commonly observed nonlinear phenomenon which cannot be captured by linear models like exponential smoothing and ARIMA models.
A Threshold Autoregressive model can be transformed into a SETAR model if the threshold variable is taken as a lagged value of the time series itself. The SETAR model with two regimes is specified as:
where Î±_{i} and Î²_{i} are autoregressive coefficients, p is the order of the SETAR model, d is the delay parameter, and y_{tâ€‰âˆ’â€‰d} is the threshold variable, Îµ_{t} is a series of random variables that are independent and identically distributed with mean 0 and variance \( {\sigma}_{\varepsilon}^2 \). Ï„ is the value of the threshold, and if the value of Ï„ is known, the observations can be separated based on their value in comparision to the threshold, i.e. whether y_{tâ€‰âˆ’â€‰d} is below or above the threshold. Then, by using the ordinary least squares method, the AR model is estimated (Ismail and Isa, 2006). The threshold value must be determined along with other parameters of the SETAR model, since the threshold value is unknown in general.
Artificial neural networks (ANN)
Artificial Neural Networks are one of the flexible computing frameworks, that can be used for modeling a broad range of nonlinear data. The major advantages of ANN models are that they are datadriven and universal approximators, which can approximate a large class of functions with great accuracy. This modelbuilding process does not require any prior assumptions about the model form since the characteristics of the data determine the network model. A feedforward neural network with a single hidden layer is one of the most widely used method to forecast the time series data (Zhang, 2003). The structure of the model is defined by a network of three layers of simple processing units connected by acyclic links. The mathematical representation of the relationship between output y_{t} and the inputs (y_{tâ€‰âˆ’â€‰1}, y_{tâ€‰âˆ’â€‰2}, â€¦ .. y_{tâ€‰âˆ’â€‰p}) can be defined as:
where w_{j} (jâ€‰=â€‰0, 1, 2, â€¦,q) and w_{ij} (iâ€‰=â€‰0, 1, 2, â€¦ ..,p; jâ€‰=â€‰0, 1, 2, â€¦,q) are the connection weights or the model parameters, p is the number of input nodes, and q is the number of hidden nodes. The transfer function of the hidden layer is given by the logistic function:
Hence, the ANN model in eq. 4 performs the nonlinear functional mapping from past observations (y_{tâ€‰âˆ’â€‰1}, y_{tâ€‰âˆ’â€‰2}, â€¦ .. y_{tâ€‰âˆ’â€‰p}) to the future value y_{t}â€”that is,
Where f is a function determined by the network structure and connection weights, and w is a vector of all parameters. Thus, this neural network model is similar to an autoregressive model with nonlinear functionality.
The choice of the value of q depends on the data, as there is no standard procudere for determining this particular parameter. Another vital task of modeling ANN is the choice of the input vectorâ€™s dimension and the number of lagged observations, p. This is perhaps the most crucial parameter that is to be estimated in an artificial neural network model, as the determination of the nonlinear autocorrelation structure of the time series depends on this parameter. However, there is no rule of thumb that can be followed to select the value of p. Therefore, often trials are conducted to select an optimal value of p and q. After specifying the network structure with the parameters p, and q, it is ready for training. This is done with efficient nonlinear optimization algorithms, such as gradient descent algorithms and conjugate gradient algorithms, other than the basic backpropagation training algorithm (Hung, 1993).
In ANNs, the most widely used activation functions are the sigmoid functions. Recently, in deep learning, several other functions have been suggested as alternatives to the sigmoid function, such as the hyperbolic tangent (tanh) function, rectified linear units (ReLU), softmax, and Gaussian. These functions are given below.
The hyperbolic tangent (tanh) function is one of the alternatives to the sigmoid function. It can be defined as:
This function is similar to the sigmoid function, however, it compresses realvalue number to a range between âˆ’â€‰1 and 1; i.e., tanh (x) âˆˆ(âˆ’1,â€‰1).
Rectified linear units (ReLU) are defined as:
Where x is the input for a neuron. In other words, the activation is simply set at a threshold of zero. The range of the ReLU is between 0 and âˆž.
The softmax function, also called as normalized exponential function is a generalization of the logistic function that â€˜compressesâ€™ a Kdimensional vector Z from random real values to a Kdimensional vector Ïƒ(z) of real values in the range [0,1], which add up to 1. The function is defined as:
The Gaussian activation functions are bellshaped curves that are continuous. The node output is interpreted depending on how close the net input is for a chosen value of average, i.e. it is interpreted in terms of class membership (1 or 0). The function is defined as:
Singular Spectrum analysis (SSA)
Some studies have employed the SSA method to forecast financial time series (Hassani et al., 2013b; Ghodsi and Omer, 2014). The SSA method comprises two stages, one is decomposition and the other is reconstruction. In the first stage, the time series is decomposed to separate the signal and noise, then in the second stage, the series with less noise is reconstructed and applied to forecast by using the following steps (Hassani, 2007):
Step 1. Embedding. Embedding can be considered a mapping that transfers a onedimensional time series Y_{N}â€‰=â€‰(y_{1,}â€¦,â€‰y_{N}) to a multidimensional series X_{1, â€¦,}X_{K} with vectors X_{i}â€‰=â€‰(y_{i,}â€¦,â€‰y_{iâ€‰+â€‰Lâ€‰âˆ’â€‰1})^{T} Ïµ R^{L}, where L (2â€‰â‰¤â€‰Lâ€‰â‰¤â€‰Nâ€‰âˆ’â€‰1) is the window length, and Kâ€‰=â€‰Nâ€‰âˆ’â€‰Lâ€‰+â€‰1. The result of this step is the trajectory matrix.
Step 2. Singular value decomposition (SVD). In this step, the SVD of X is implemented. Denoted by Î»_{1â€¦. , ,}Î»_{L} the eigenvalues of XX^{T} arranged in decreasing order (Î»_{1, ,} â‰¥ â€¦ â‰¥ Î»_{L} â‰¥ 0) and by U_{1â€¦. , ,}U_{L} the corresponding eigenvectors. The SVD of X can be written as X = X_{1}â€‰+â€‰â€¦â€‰+â€‰X_{L}, where, \( {\mathrm{X}}_{\mathrm{i}}=\sqrt{\uplambda_{\mathrm{i}}}{\mathrm{U}}_{\mathrm{i}}{\mathrm{V}}_{\mathrm{i}}^{\mathrm{T}} \).
Step 3. Grouping. This step involves splitting the elementary matrices into several groups and then adding the matrices within each group.
Step 4. Diagonal averaging. The main objective of diagonal averaging is to transform a matrix into the Hankel matrix form, which can be later converted into a time series.
Step 5. Forecasting. There exist two forms of SSA forecasting: recurrent singular spectrum analysis (RSSA) and vector singular spectrum analysis (VSSA). In this study, we employed RSSA. Let \( {V}^2={\pi}_1^2+\dots +{\pi}_r^2 \) where Ï€_{i} is the last component of the eigenvector U_{i}(iâ€‰=â€‰1,â€‰â€¦,â€‰r). Additionally, for any vector U Ïµ R^{L}, denote by U^{âˆ‡}Ïµ R^{Lâ€‰âˆ’â€‰1} the vector comprising of the first Lâ€‰âˆ’ 1 components of the vector U. Let Y_{Nâ€‰+â€‰1, â€¦}Y_{Nâ€‰+â€‰h} show the h terms of the SSA recurrent forecast. Then, we can obtain the hstep ahead forecasts by using the following formula.
where \( \overset{\sim }{y_i}\ \left(i=1,\dots, N\right) \) is the reconstructed series, and vector Aâ€‰=â€‰(Î±_{1}, â€¦, Î±_{Lâ€‰âˆ’â€‰1}) can be computed by
Hybrid model (HM)
Either purely linear or purely nonlinear models might not be adequate for predicting stock returns since the stock returns are complex in nature. Even datadriven ANNs have produced mixed results in forecasting the time series data. For example, Denton (1995) used simulated data and found that when there is multicollinearity or outliers in the data, neural networks can forecast the data better than the linear regression models. The sample size and noise level play a crucial role in determining the performance of ANNs for linear regression problems (Markham and Rakes, 1998). Therefore, it might not be useful to apply ANNs for all types of data.
Given the complexities in the stock market data, a method that can handle both the linear and nonlinear data, i.e., hybrid model might be an alternative for forecasting. Linear and nonlinear aspects of the underlying patterns in the data can be captured by combining different models.
It might be useful to consider time series data consisting of linear autocorrelation structure and a nonlinear component. That is,
where L_{t} represents the linear component and N_{t} denotes the nonlinear component. Initially, we must apply a linear model for the data, and then the residuals from the linear model would contain only the nonlinear relationship. These residuals can be defined as: Let e_{t} denote the residual at time t from the linear model, then:
Where, \( {\hat{L}}_t \) is the forecast value at time t from the estimated relationship from eq. 13. Residuals are very crucial in diagnosing the adequacy of linear models because the presence of linear correlation in the residuals indicates the inadequacy of the linear model. In addition, any significant nonlinear pattern in the residuals also indicates the limitation in the linear model. Nonlinear relationships can be discovered by modeling residuals using ANNs. The ANN model for residuals with n input nodes will be:
Where f is a nonlinear function determined by the neural network, and Îµ_{t} is the random error. Denoting the forecast from (13) as \( {\hat{N}}_t \), the combined forecast will be:
where \( {\hat{y}}_t \) is the estimated value from the hybrid model, which is a combination of linear and nonlinear models. We used the inverse mean square forecast error (MSFE) ratio to determine the optimal weights for the hybrid models as it is a widely used method with a robust theoretical background (Bates et al., 1969).
For M models, the combined hstep ahead forecast is:
where \( {\hat{y}}_{t+h,m} \) is the point forecast for h steps ahead at time t from model m. In summary, this hybrid method contains two steps. The first step is to employ the ARIMA to model the linear part of the data. The second step is to apply ANN to model the residuals obtained from the ARIMA, these residuals have information about the nonlinearity in the data. The results from the ANN model can be used as forecasts for the error terms for the ARIMA model. In the manner mentioned above, the hybrid model encompasses the characteristics of the ARIMA and ANN models in modeling time series data. Thus, it could be beneficial to employ hybrid models to improve the accuracy of the forecasts.
Forecast performance measures
The accuracy of forecasts indicates how well a forecasting model predicts the chosen variable. Different accuracy measures are used to validate the suitability of a model for a given data set. There are several accuracy measures in the literature, such as mean error (ME), mean absolute error (MAE), mean absolute percentage error (MAPE), mean squared error (MSE), and root mean squared error (RMSE). In this study, we used RMSE because it is one of the most appropriate methods for measuring forecasting accuracy for data on the same scale, and this criterion has been employed in several previous studies (Lu and Wu, 2011; Wang et al., 2011; Hyndman and Athanasopoulos, 2015; Makridakis et al., 2015). Also, Chai and Draxler (2014) suggested that RMSE is a suitable measure for models with normally distributed errors. The present study found that the errors in most of the models follow the normal distribution.
If Y_{t} is the actual observation for time period t, and F_{t} is the forecast for the same period, then the error is defined as:
Where,
The mean squared error (MSE) is:
and the root mean square error (RMSE) is:
Empirical results
Here, we present the empirical results, comprising descriptive statistics and the performance measures of various forecasting methods for stock returns in developed, emerging, and frontier markets.
Descriptive statistics of stock returns
Tables 1, 2, and 3 present the summary statistics (e.g., mean, standard deviation, skewness, kurtosis, JB statistic) for developed, emerging, and frontier stock market returns, respectively. From these tables, we can see that the mean returns in all markets are positive, indicating overall positive returns on investments during the period considered for this study. The kurtosis values of the return series of all the markets are observed to be greater than 3, indicating that all of the series are leptokurticâ€”i.e., they have thick tails, which is a common phenomenon in stock returns (Bouchauda and Potters, 2001; Humala, 2013; Mallikarjuna et al., 2017). The Jarqueâ€“Bera test showed that the series are nonnormally distributed. Another key feature, from the Tsay (1989) test, is that the returns of all the markets are nonlinear.
Results of forecasting methods
Before applying the forecasting methods, we divided the data into the training set and the test set; we used 80% of the data for training the models and the remaining 20% for testing the models. To forecast the returns using the ARIMA (p, d, q) model, it was necessary to check stationarity to have valid inferences. To test the stationarity of the returns series, we employed the augmented Dickeyâ€“Fuller (1979) and Phillipsâ€“Perron (1988) tests; the results showed that the returns of all of the markets were stationary. We determined the optimal lag length for the autoregressive (p) and moving average (q) components using the Akaike information criterion (AIC). We observed different orders of AR and MA for different series and present them along with RMSE values in Tables 4, 5, and 6. In the SETAR model, the series exhibited nonlinear trends, and we identified two regimes by the minimum AIC values. Then, the model was used to forecast the returns of the markets. To forecast stock returns using the ANN model, we employed feedforward neural networks since many studies have shown that they fit well with asset return data (Zhang, 2003; Qiu et al., 2016). We employed a recurrent singular spectrum analysis (RSSA) model to forecast the returns after decomposing and reconstructing the original returns series by following the four steps involved in forecasting with SSA: embedding, reconstructing, grouping, and diagonal averaging. For the hybrid model, which is a combination of ARIMA and ANN, we fit the model by employing the widely used inverse mean square forecast error (MSFE) ratio (Bates et al., 1969; Winkler and Makridakis, 1983) for assigning the optimal weights for the models in forecasting. Tables 4, 5, and 6 present the RMSE values of the test sets of the forecast series for all techniques (i.e., ARIMA, SETAR, SSA, ANN, and HM) for developed, emerging, and frontier markets, respectively. The model with the lowest RMSE was chosen as the most appropriate model. In addition, we tested RMSE significance using the Dieboldâ€“Marino test (1995) and found that the RMSE of all of the models was significant, except for Japan, South Africa, and Sri Lanka.
From Tables 4, 5, and 6, we can observe that no single method performed uniformly for all markets. However, the nonlinear model (i.e., SETAR) performed better than the other models, producing optimal forecasts for 10 markets (i.e., four developed, four emerging, and two frontier markets). This result contrasts with Guidolin et al. (2009). In the case of developed markets, the SETAR model produced optimal forecasts for four of the nine markets (Australia, France, Japan, and Switzerland). The ARIMA model was optimal for Canada, Germany, and the UK, and the HM model was optimal for South Korea and the US. Thus, we can say that nonlinear models are more suitable for developed markets. Meanwhile, ANN and SSA models are not at all useful for developed markets since they did not provide any optimal forecasts.
For emerging markets, the SETAR model was found to be appropriate for four markets (Egypt, Mexico, Russia, Thailand). HM models were appropriate for three markets (China, India, and South Africa) and ARIMA models for two (Brazil and Turkey). The ANN model was appropriate for only one market (Indonesia), while the SSA model was not suitable for any emerging market. Though no single model was suitable for all emerging markets, the SETAR and HM models were relatively more useful. Regarding frontier markets, SETAR was suitable for Argentina and Kenya, ARIMA for Estonia and Sri Lanka, and SSA for Tunisia. The ANN and HM models were not appropriate for any market.
Out of twentyfour stock market indices, the SETAR model produced optimal forecasts for ten, ARIMA for seven, HM models for five, and ANN and SSA models for one market each. From these results, we can observe that nonlinear models are more useful for developed, emerging, and frontier markets alike. Another interesting observation is that the AI and frequency domain models were found to be appropriate only for one market each. Thus, we can say that, even with advancements in AI and frequency domain models, traditional statistical models have not become obsolete; they are still useful and in fact better than AI and frequency domain models for forecasting financial time series data.
Summary and conclusions
Over the years, stock markets have become alternative avenues for surplus funds among individual and institutional investors, especially following globalization and the integration of world financial markets. Given the inherent risk, uncertainty, and dynamic nature of stock markets, accurately forecasting stock returns can help to minimize investorsâ€™ risks. Thus, forecasting techniques can help with better investment decision making.
This study considered daily data for stock market returns during the period 1 January 2000 to 30 December 2018 to compare forecasting techniques (i.e., ARIMA, SETAR, ANN, SSA, and HM models) representing linear, nonlinear, AI, frequency domain, and hybrid methods. We took the stock indices of 24 stock markets in three market categories (nine developed, ten emerging, and five frontier) to find suitable forecasting techniques for each category. The results showed that no single forecasting technique provided uniformly optimal forecasting for all markets. However, SETAR performed better for ten markets, ARIMA for seven, HM for five, and ANN and SSA for one market each. SETAR and ARIMA techniques can thus be considered the clear winners in forecasting stock market returns for developed, emerging, and frontier markets, as these two methods provided optimal forecasts for seventeen of the twentyfour markets.
Availability of data and materials
The data used for the study are available in the internet. The URL is https://in.investing.com/indices/majorindices
Abbreviations
 AI:

artificial intelligence
 ANN:

artificial neural networks
 AR:

autoregressive
 ARIMA:

autoregressive integrated moving average
 EMDHW:

empirical mode decomposition HoltWinters method
 HM:

hybrid model
 MA:

moving average
 MSCI:

Morgan Stanley Capital International
 MSE:

mean squared error
 RMSE:

root mean square error
 RSSA:

recurrent singular spectrum analysis
 SETAR:

selfexciting threshold autoregressive
 SSA:

singular spectrum analysis
 STAR:

smooth transition autoregressive
 TAR:

threshold autoregressive
 VSSA:

vector singular spectrum analysis
References
Adebiyi AA, Oluinka A (2014) Comparision of ARIMA and artificial neural network models for stock market prediction. Journal of Applied Mathematics. https://doi.org/10.1155/2014/614342
Almudhaf F (2018) Predictability, Price bubbles, and efficiency in the Indonesian stockmarket. Bull Indones Econ Stud 54(1):113â€“124
AlShaib M (2006) The predictability of the Amman stock exchange using Univariate autoregressive integrated moving average (ARIMA) model. Journal of Economic and Administrative Sciences 22(2):17â€“35
Aras S, Kocakoc ID (2016) A new model selection strategy in time series forecasting with artificial neural networks. IHTS Neurocomputing 174:974â€“987
Asadi S, Tavakoli A, Hejazi SR (2010) A new hybrid for improvement of autoregressive integrated moving average models applying particle swarm optimization. Expert Syst Appl 39:5332â€“5337
Awajan AM, Ismail MT, Wadi SA (2018) Improving forecasting accuracy for stock market data using EMDHW bagging. PLoS One 13(7):1â€“20
Bates JM, Granger CWJ (1969) The combination of forecasts. Operational Research Society 20(4):451â€“468
Beck T, Levine R (2003) Stock markets, banks and growth: panel evidence. J Bank Financ 28:423â€“442
Boero G (2003) The performance of SETAR models: a regime conditional evaluation of point, interval and density forecasts. Int J Forecast 20:305â€“320
Boero G, Marrocu E (2002) The performance of nonlinear exchange rate models: a forecasting comparison. J Forecast 21(7):513â€“542
Bouchauda JP, Potters M (2001) More stylized facts of financial markets: leverage effect and downside correlations. Physica A 299:60â€“70
Box GEP, Jenkins GM (1970) Time series analysis: forecasting and control. HoldenDay, San Francisco
Chai T, Draxler RR (2014) Root mean square error (RMSE) or mean absolute error (MAE)? â€“ arguments against avoiding RMSE in the literature. Geo Scientific Model Development 7:1247â€“1250
Clements MP, Smith J (1999) A Monte Carlo study of the forecasting performance of empirical SETAR models. J Appl Econ 14:124â€“141
Cristelli M (2014) Complexity in financial markets. Springer International Publishing, Cham.Â https://doi.org/10.1007/9783319007236
Darrat AF, Zhong M (2000) On testing the random walk hypothesis a model Comparision approach. The Financial Review 35:105â€“124
Denton JW (1995) How good are neural networks for causal forecasting? The Journal of Business Forecasting Methods and Systems 14(2):17â€“23
Dickey D, Fuller W (1979) Distribution of the estimators for autoregressive time series with a unit root. Journal of American Statistical Association 74(366):427â€“431
Diebold FX, Marino RS (1995) Comparing predictive accuracy. J Bus Econ Stat 13(3):134â€“144
Erdem E, Ulucak R (2016) Efficiency of stock exchange markets in G7 countries: bootstrap causality approach. Economics World 4(1):17â€“24
Fama EF (1970) Efficient capital markets:a review of theory and empirical work. J Financ 25(2):383â€“417
Firat EH (2017) SETAR (selfexciting threshold autoregressive) nonlinear currency Modelling in EUR/USD, EUR/TRY and USD/TRY parities. Mathematics and Statistics 5(1):33â€“55
Ghiassi M, Saidane H, Zimbra DK (2005) A dynamic artificial neural network model for forecasting series events. Int J Forecast 21:341â€“362
Ghodsi Z, Omer HN (2014) Forecasting energy data using singular Spectrum analysis in the presence of outlier(s). International Journal of Energy and Statistics 2(2):125â€“136
Golyandina N, Nekrutkin V, Zhigljavsky A (2001) Analysis of time series structure SSA and related techniques. Chapman and Hall/CRC, Newyork
Gooijer DJ (1998) On threshold movingaverage models. J Time Ser Anal 19(1):1â€“18
Guidolin M, Hyde S, McMillan D, Ono S (2009). Nonlinear predictability in stock and bond returns: when and where is it exploitable. Federal Reserve Bank of St. Louis: working paper series no 2008010B
Guptha SK, Rao RP (2018) The causal relationship between financial development and economic growth experience with BRICS economies. Journal of Social and Economic Development 20(2):308â€“326
Guresen E, Kayakutlu G, Daim TU (2011) Using artificial neural network models in stock market index prediction. Expert Syst Appl 38:10389â€“10397
Hamilton JD (1989) A new approach to the economic analysis of nonstationary time series and the business cycle. Econometrica 57:357â€“384
Harrison B, Moore M (2012) Stock market efficiency, nonlinearity, thin trading and asymmetric information in MENA stock markets. Economic Issues 17(1):77â€“93
Hassani H (2007) Singular spectrum analysis: methodology and comparison. Journal of Data Science 5(2):239â€“257
Hassani H, Soofi A, Zhiglavsky A (2013a) Forecasting UK industrial production with multivariate singular Spectrum analysis. J Forecast 32(5):395â€“408
Hassani H, Soofi A, Zhiglavsky A (2013b) Predicting inflation dynamics with singular Spectrum analysis. J R Stat Soc 176(3):743â€“760
Humala A (2013) Some stylized facts of return in the foreign exchange and stock markets in Peru. Stud Econ Financ 30(2):139â€“158
Hung SL, Adeli H (1993) Parallel backpropagation algorithms on CRAY YMP8/864 supercomputer. Neurocomputing 5(6):287â€“302
Hyndman R, Athanasopoulos G (2015) Forecasting principles and practice. Otexts, Melbourne. Available at:Â https://otexts.com/fpp3/. Accessed 20 Mar 2019.
Ince H, Trafalis TB (2017) A hybrid forecasting model for stock market prediction. Economic Computation and Economic Cybernetics Studies and Research 21:263â€“280
Ismail MT, Isa Z (2006) Modelling exchange rate using regime switching models. Sains Malaysiana 35(2):55â€“62
Johnson NF, Jefferies P, Hui PM (2003) Financial market complexity. Oxford University Press, Oxford
Khandelwal I, Adhikari R (2015) Time series forecasting using hybrid ARIMA and ANN models based on DWT decomposition. Procedia Computer Science 48:173â€“179
Khashei M, Bijari M (2010) An artificial neural network model for time series forecasting. Expert Syst Appl 37:479â€“489
Khashei M, Bijari M (2012) A new class of hybrid models for time series forecasting. Expert Syst Appl 39:4344â€“4357
Khashei M, Hajirahimi Z (2017) Performance evaluation of series and parallel strategies for financial time series forecasting. Financial Innovation 3(24):1â€“24
Konak F, Seker Y (2014) The efficiency of developed markets: empirical evidence from FTSE 100. J Adv Manag Sci 2(1):29â€“32
Lahmiri S (2016) A variational mode decomposition approach for analysis and forecasting of economic and financial time series. Expert Syst Appl 55:268â€“273
Levine R (1997) Financial development and economic growth: views and agenda. J Econ Lit 35:688â€“726
Levy RA (1967) The theory of random walks: a study of findings. Am Econ 11(2):34â€“48
Lo AW, Mackinlay AC (2002) An nonrandom walk down Wall street. Princeton University Press, Princeton
Lu CJ, Wu JY (2011) An efficient CMAC neural network for stock index forecasting. Expert Syst Appl 38:15194â€“15201
Makridakis S, Wheelwright SC, Hyndman RJ (2015) Forecasting: methods and applications. Wiley India, New Delhi
Mallikarjuna M, Arti G, Rao RP (2018) Forecasting stock returns of selected sectors of Indian capital market. SS International Journal of Economics and Management 8(6):111â€“126
Mallikarjuna M, Guptha KS, Rao RP (2017) Modelling Sectoral volatility of Indian stock markets. Wealth International Journal of Money Banking and Finance 6(2):4â€“9
Markham IS, Rakes TR (1998) The effect of sample size and variability of data on the comparative performance of artificial neural networks and regression. Comput Oper Res 25:251â€“263
Mondal P, Shit L, Goswami S (2014) Study of effectiveness of time series Modelling (ARIMA) in forecasting stock prices. International Journal of Computer Science, Engineering and Applications 4(2):13â€“29
Mostafa MM (2010) Forecasting stock exchange movements using neural networks: empirical evidence from Kuwait. Expert Syst Appl 37:6302â€“6309
MSCI (2018) MSCI Announces the Results of Its Annual Market Classification Review. Available at: https://www.msci.com/marketclassification. Accessed 25 Mar 2019
Nayak SC, Misra BB (2018) Estimating stock closing indices using a GAweighted condensed polynomial neural network. Financial Innovation 4(21):1â€“22
Ojo JF, Olatayo TO (2009) ON the estimation and performance of subset of autoregressive integrated moving average models. Eur J Sci Res 28:287â€“293
Owido PK, Onyuma SO, Owuor G (2013) A GARCH approach to measuring efficiency: a case study of Nairobi securities exchange. Research Journal of Finance and Accounting 4(4):1â€“16
Phillips PCB, Perron P (1988) Testing for unit roots in time series regression. Biometrika 75:335â€“346
Qiu M, Song Y, Akagi F (2016) Application of artificial neural network for the prediction of stock market returns the case of the Japanese stock market. Chaos, Solitons and Fractals 85:1â€“7
Radikoko I (2014) Testing weakform market efficiency on the TSX. J Appl Bus Res 30(3):647â€“658
Rajan R, Zingales L (1998) Financial dependence and growth. Am Econ Rev 88:559â€“586
Rousseau PL, Watchel P (2000) Equity markets and growth: crosscountry evidence on timing and outcomes, 19801995. J Bank Financ 24(12):1933â€“1957
Said A (2015) The efficiency of the Russian stock market: a revisit of the random walk hypothesis. Academy of Accounting and Financial Studies Journal 19(1):42â€“48
Tong H (1983) Threshold models in nonlinear time series analysis. Springer, Berlin.Â https://doi.org/10.1007/9781468478884
Tong H (1990) NonLinear Time Series: A Dynamical System Approach. Oxford University Press, Oxford
Tong T, Li B, Benkato O (2014) Revisiting the weak form efficiency of the Australian stock market. Corp Ownersh Control 11(2):21â€“28
Tsay R (1989) Testing and modeling threshold autoregressive processes. Journal of American Statistical Association 84:231â€“240
Wang JZ, Wang JJ, Zhang ZG, Guo SP (2011) Forecasting stock indices with backpropagation neural network. Expert Syst Appl 38:14346â€“14355
Watier L, Richardson S (1995) Modelling of an epidemiological time series by a threshold autoregressive model. Journal of Royal Statistical Society 44(3):353â€“364
Wieland OL (2015) Modern financial markets and the complexity of financial innovation. Universal Journal of Accounting and Finance 3(3):117â€“125
Winkler RL, Makridakis S (1983) The combination of forecasts. J R Stat Soc 146(2):150â€“157
Zhang GP (2003) Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 50:159â€“175
Zhong X, Enke D (2019) Predicting the daily return direction of the stock market using hybrid machine learning algorithms. Financial Innovation 5(4):1â€“20
Acknowledgments
We thank the editor and the anonymous reviewers for their valuable comments and suggestions that greatly improved the paper.
Funding
This research did not receive any grant from funding agencies in the public, commercial, or notforprofit sectors.
Author information
Authors and Affiliations
Contributions
Both the authors have made significant contribution jointly and are in agreement with the contents of this paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisherâ€™s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Mallikarjuna, M., Rao, R.P. Evaluation of forecasting methods from selected stock market returns. Financ Innov 5, 40 (2019). https://doi.org/10.1186/s408540190157x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s408540190157x