Scinovex

Research article · 2019 · Full text

International Journal of Statistics and Applied Mathematics

A hybrid statistical empirical mode decomposition with neural network in time series forecasting

Mohammed Abou Elfettouh GhazalAsaad Ahmed Gad ElrabWafa Hamed Abd Allah

Volume 4(6) · Pages 45–47

Research areasMachine Fault Diagnosis TechniquesFault Detection and Control SystemsOil and Gas Production Techniques

↓ Read full-text PDF0 citations

Abstract

Author-written

Scope Extending of Empirical Mode Decomposition called Statistical Empirical Mode Decomposition (SEMD), recently proposed by Kim et al. (2012) invented a new data analysis technique for nonlinear and non-stationary time series. By breaks a time series into a small number of independent and concretely implicational intrinsic modes functions based on scale separation, SEMD explains the generation of time series data from a novel perspective. This study illustrates a statistical empirical mode decomposition based on neural network learning paradigm (SEMD-NN) for forecasting Egypt stock market. By the criteria of some statistic loss functions, SEMD-NN outperforms Holt-winters family model, empirical mode decomposition based on neural network (EMD-NN) and ensample empirical mode decomposition and neural network (EEMD-NN) in improving forecast accuracy.

Summary

Source-checked

Plain-language reading of the full paper, prepared with AI and checked against the text. Each point links to the authors' own words.

  1. Why it matters

    • Forecasting time series signals is difficult because the data is typically non-stationary and contains non-linear relationships across different time scales. View evidence ↗

      Why it matters

      Forecasting time series signals is difficult because the data is typically non-stationary and contains non-linear relationships across different time scales.

      In the paper's own words

      “Time series signal originally seeks for a appropriate model to fit the data; this is complicated by the fact that the data is classically non-stationary, with non-linear relationships between past and future values and behaviour happening simultaneously at diverse time scales.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
    • Empirical Mode Decomposition (EMD) is useful for financial analysis because it is adaptive and does not require a priori assumptions, unlike Fourier or wavelet analyses. View evidence ↗

      Why it matters

      Empirical Mode Decomposition (EMD) is useful for financial analysis because it is adaptive and does not require a priori assumptions, unlike Fourier or wavelet analyses.

      In the paper's own words

      “What makes EMD attractive in financial analysis is that it is an empirically based technique that is a posteriori and adaptive, allowing the data to speak for itself. No a priori assumptions are necessary, as is the case with conventional time-frequency techniques such as Fourier or wavelet analyses.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
  2. The question

    • The study aims to develop a Statistical Empirical Mode Decomposition based neural network (SEMD-NN) to forecast the volatility of the Egyptian stock market and compare it against other models like Holt-Winters and standard ANNs. View evidence ↗

      The question

      The study aims to develop a Statistical Empirical Mode Decomposition based neural network (SEMD-NN) to forecast the volatility of the Egyptian stock market and compare it against other models like Holt-Winters and standard ANNs.

      In the paper's own words

      “In this paper, motivated by the work in Yu et al. [9], we provide statistical empirical mode decomposition based neural network (SEMD-NN) for forecasting volatilities of Egyptian stock market. Our aim here is to compare the propose SEMD-NN with other competitive approaches including Holt-winters family models, ANN for forecasting the volatility of Egypt stock market.”

      Page 2

      Found in: Introduction

      Read it in the full textOpen PDF at page 2 ↗
  3. What they did

    • The SEMD-NN approach first decomposes the original price signal into intrinsic mode functions (IMFs), which are then modeled using a three-layer feed-forward neural network. View evidence ↗

      What they did

      The SEMD-NN approach first decomposes the original price signal into intrinsic mode functions (IMFs), which are then modeled using a three-layer feed-forward neural network.

      In the paper's own words

      “The original price signal is first decomposed into a small number of intrinsic mode functions (IMFs). Then a three-layer feed-forward neural network (FNN) model is used to model each of the extracted IMFs”

      Page 2

      Found in: SEMD-NN Model

      Read it in the full textOpen PDF at page 2 ↗
    • The neural network architecture consists of three hidden layers of sigmoid neurons and an output layer of linear neurons, utilizing a tan-sigmoid transfer function. View evidence ↗

      What they did

      The neural network architecture consists of three hidden layers of sigmoid neurons and an output layer of linear neurons, utilizing a tan-sigmoid transfer function.

      In the paper's own words

      “the feed-forward network has three hidden layers of sigmoid neurons followed by an output layer of linear neurons, each using a tan-sigmoid differentiable transfer function to generate the output.”

      Page 2

      Found in: Neural Network

      Read it in the full textOpen PDF at page 2 ↗
    • The research used daily stock closing price indices from the Egyptian stock market collected between May 24, 2010, and May 24, 2018. View evidence ↗

      What they did

      The research used daily stock closing price indices from the Egyptian stock market collected between May 24, 2010, and May 24, 2018.

      In the paper's own words

      “The data in this study is comprised of the daily stock closing price indices of the Egypt stock market from 24 May 2010 to 24 May 2018.”

      Page 2

      Found in: Forecasting Scheme and Evaluation

      Read it in the full textOpen PDF at page 2 ↗
    • The model was trained on the first 500 data values and evaluated on a sample spanning from the 501st to the 2085th data values. View evidence ↗

      What they did

      The model was trained on the first 500 data values and evaluated on a sample spanning from the 501st to the 2085th data values.

      In the paper's own words

      “The training data are drawn from the former 500 values. The evaluation sample spanned from the 501 through the 2085th data values is used to forecast the volatility.”

      Page 3

      Found in: Introduction

      Read it in the full textOpen PDF at page 3 ↗
    • Forecasting performance was measured using Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE). View evidence ↗

      What they did

      Forecasting performance was measured using Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE).

      In the paper's own words

      “We calculate the forecasting performance using two standard statistical criteria: mean absolute forecast error (MAE), mean squared error (RMSE).”

      Page 2

      Found in: Forecasting Scheme and Evaluation

      Read it in the full textOpen PDF at page 2 ↗
  4. What they found

    • Based on MAE and RMSE statistics, the SEMD-NN model is the most effective at forecasting the magnitude of volatility. View evidence ↗

      What they found

      Based on MAE and RMSE statistics, the SEMD-NN model is the most effective at forecasting the magnitude of volatility.

      In the paper's own words

      “The MAE and RMSE statistics favor that SEMD-NN performs best in forecasting the magnitude of volatility.”

      Page 3

      Found in: Forecasting Scheme and Evaluation

      Read it in the full textOpen PDF at page 3 ↗
  5. What it means

    • The authors conclude that SEMD-NN provides superior forecasting performance compared to EMD-NN and EEMD-NN. View evidence ↗

      What it means

      The authors conclude that SEMD-NN provides superior forecasting performance compared to EMD-NN and EEMD-NN.

      In the paper's own words

      “Compared with other models EMD-NN and EEMD-NN. SEMD-NN presents the most excellent forecasting performance.”

      Page 3

      Found in: Conclusion

      Read it in the full textOpen PDF at page 3 ↗

Visual summary

3 visuals

Illustrations explain the paper; charts are replotted from the paper's own table values.

AI-generated illustration
AI-generated conceptual illustration (A digital signal processing workflow consisting of a complex waveform and a neural network architecture). It explains the idea and does not show study data.↗ Enlarge
SEMD-NN Workflow
AI-generated conceptual illustration (A digital signal processing workflow consisting of a complex waveform and a neural network architecture). It explains the idea and does not show study data.

AI-generated conceptual illustration (A digital signal processing workflow consisting of a complex waveform and a neural network architecture). It explains the idea and does not show study data.

Open full-size image ↗

SEMD-NN Workflow

AI-generated conceptual illustration (A digital signal processing workflow consisting of a complex waveform and a neural network architecture). It explains the idea and does not show study data.

View source evidence ↗
Replotted from source data
Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.↗ Enlarge
EMD-NN: MAE vs RMSE
Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.

Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.

Open full-size image ↗

EMD-NN: MAE vs RMSE

Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.

View source evidence ↗
Replotted from source data
Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.↗ Enlarge
EEMD-NN: MAE vs RMSE
Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.

Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.

Open full-size image ↗

EEMD-NN: MAE vs RMSE

Replotted from Table 1 (page 3) of the original paper. Every bar is the paper's own table value.

View source evidence ↗

Figures & tables

From the original paper
shows the follow chart of the methodologyFigure 1Page 2shows the results of these models, shows The MAE andTable 1Page 3Price indices and returns in Egypt stock markets.Figure 2Page 3
FULL TEXT Original article · reflowed for reading

Introduction

Time series signal originally seeks for a appropriate model to fit the data; this is complicated by the fact that the data is classically non-stationary, with non-linear relationships between past and future values and behaviour happening simultaneously at diverse time scales. Nowadays Hilbert Huang Transformation which known as Empirical Mode decomposition (EMD) is a method considered to decompose a signal into its intrinsic modes [3] , with each mode constrained to a limited frequency band and has seen extensive usage in the field of financial signal analysis. What makes EMD attractive in financial analysis is that it is an empirically based technique that is a posteriori and adaptive, allowing the data to speak for itself. No a priori assumptions are necessary, as is the case with conventional time-frequency techniques such as Fourier or wavelet analyses. The time-frequency components obtained from EMD can simplify this task by allowing one to examine the series for one intrinsic mode function (IMF) at a time and over time horizons that are most favorable for the respective IMFs. While EMD is conventionally uttalized to analyse the individual modes of a time series, usage of the method as a filter has also been identified [4,5] . An advantage of EMD-filtering is that the data still retains its nonlinearity and non-stationary, which is not the case when using conventional filtering techniques. While EMD filtering can be used to separate the systematic behaviour of the time series from noise at the selected time scale, a technique is still required to model future behaviour based on the historic values of the filtered signal. Unfortunately as any statistics technique this method struggling with some issues. Consequently Kim and Oh in 2012 [8] suggests new techniques which considered as extensions of EMD called Statistical Empirical Mode Decomposition (SEMD) which work out better than EMD. Artificial Neural Networks (ANN's) are a widely used machine learning technique that simulates the structure of a biological neural network in order to model arbitrary relationships between a set of inputs and a set of outputs [2] . The structure of the neural network consists of nodes distributed across input, hidden and output layers, connected by weighted connections and activation functions [6] . This structure gives neural networks the built-in property to identify nonlinear relationships between input and output variables, making it ideal for application to nonlinear domains such as financial prediction. This research proposes an ANN model applied to data filtered with a novel SEMD-filtering technique for multi-step prediction of stock market. The purpose of the prediction will be to maximize the returns of an investor by identifying the most exploitable forecast horizon and the optimal sampling period using empirical methods. The input data forming part of the training set will be filtered to improve the signal to noise ratio for the selected forecast horizon at the appropriate time scale. The SEMD-filtered ANN model will be tested on multiple exchange rates and will be compared with an EMD-ANN and EEMD applied to unfiltered data as well as to a random walk model in terms of accuracy of predictions and simulated returns on an investment. In this paper, motivated by the work in Yu et al. [9] , we provide statistical empirical mode decomposition based neural network (SEMD-NN) for forecasting volatilities of Egyptian stock market. Our aim here is to compare the propose SEMD-NN with other competitive approaches including Holt-winters family models, ANN for forecasting the volatility of Egypt stock market. The rest of this paper is organized as follows. We will introduce the theory of SEMD and numeral network in section 2. Section 3 is dedicated to the introduction of proposed method. In section 4 we consider the statistical criteria employed in time-series analysis to assess the adequacy of models, and present the data collected for this experiment. Section 5 concludes our paper.

Scope Extending of Empirical Mode Decomposition (Statistical Empirical Mode Decomposition)

The proposed algorithm is designed for considering noisy signals that are used in the field of statistics. Thus, we call the proposed algorithm statistical EMD (SEMD). Formally, the SEMD algorithm can be stated as follows: has an intrinsic oscillation mode, then  r can be further decomposed by conventional sifting. See; [7] .

Neural Network

The neural network model introduced in this paper is the multilayer feed-forward network which is the most basic and regularly used one in financial applications. We identify that the feed-forward network has three hidden layers of sigmoid neurons followed by an output layer of linear neurons, each using a tan-sigmoid differentiable transfer function to generate the output.

SEMD-NN Model

The original price signal is first decomposed into a small number of intrinsic mode functions (IMFs). Then a threelayer feed-forward neural network (FNN) model is used to model each of the extracted IMFs, so that the tendencies of these IMFs possibly will be precisely predicted [9] . The volatility of price series is defined as

Where 𝑐 𝑗 (𝑡) is defined as in above Section.

Forecasting Scheme and Evaluation

In the estimation of volatility forecast of real date, the actual volatility is indirectly apparent and hence it has to be estimated. In this study, we make a decision to measure 𝜎 𝑡 as the squared difference between the return and its mean value, that is

Where 𝑦 ̅ 𝑡 is the mean of returns. We calculate the forecasting performance using two standard statistical criteria: mean absolute forecast error (MAE), mean squared error (RMSE).

Where N represents the total number of the predicted values. 𝜎 𝑡 2 denotes the predicted conditional variance. 𝜎 𝑡 2 represents the actual volatility [1] . Both MAE and RMSE measure the average magnitude of forecasting error without considering their direction, but RMSE is more useful when large errors are particularly undesirable. The smaller the values of them, the closer are the predicted value to the actual ones. The better is the performance of prediction. The data in this study is comprised of the daily stock closing price indices of the Egypt stock market from 24 May 2010 to 24 May 2018. These stock price indices t p are then transformed into daily returns t y by 100 times their log difference: 𝑦 𝑡 = 100 × (ln(𝑝 𝑡 ) -ln(𝑝 𝑡-1 ))

(3), The sample data consists of 2085 daily returns. The daily series and the returns of Egypt stock market is depicted in Fig. 1. This figure exhibits the typical volatility clustering phenomenon with periods of unusually large volatility followed by periods of relative tranquility. We use the SEMD method to decompose the original price series of Egypt market.

Figure 1. shows the follow chart of the methodology
shows the follow chart of the methodology↗ Enlarge
Figure 1
shows the follow chart of the methodology

shows the follow chart of the methodology

Open full-size image ↗
Original paper figureSource PDF · page 2 ↗

Empirical Results

Empirical Results

Conclusion

We present an (SEMD-NN) for forecasting volatilities of EGYPT stock market. By exploring data's intrinsic modes, SEMD-NN not only helps discover the characteristics of the data but also helps understand the underlying rules of reality.

Compared with other models EMD-NN and EEMD-NN. SEMD-NN presents the most excellent forecasting performance.

Availability of data and materials

All data generated and analyzed during this study are included within this article.

Competing interest

Competing interest

Acknowledgement

The authors declare that they have no competing interests AcknowledgementsThis work of Abd Allah WH was supported by the Mathematical Statistics-Faculty of science-Damietta University of Egypt. This research was supported by Ghazal MA. Damietta University, Faculty of Science at the Mathematical Department.

Figures and tables from the paper

Table 1. shows the results of these models, shows The MAE and
MarketsModelsMAERMSE
EgyptEMD-NN2.1162.437
EEMD-NN2.2445.501
SEMD-NN2.0662,087

Table text extracted from the original PDF; superscript letters are shown inline. The original table image is below.

View original table image
shows the results of these models, shows The MAE and↗ Enlarge
Table 1
shows the results of these models, shows The MAE and

shows the results of these models, shows The MAE and

Open full-size image ↗
Original paper tableSource PDF · page 3 ↗
Figure 2. Price indices and returns in Egypt stock markets.
Price indices and returns in Egypt stock markets.↗ Enlarge
Figure 2
Price indices and returns in Egypt stock markets.

Price indices and returns in Egypt stock markets.

Open full-size image ↗
Original paper figureSource PDF · page 3 ↗

References

9 in the original paper
  1. Ding Z, Granger CWJ, Engle RF. A long memory property of stock market returns and a new model, Journal of Empirical Finance. 1993; 1:83-106.
  2. Dunis C, Huang X. Forecasting and trading currency volatility: an application of recurrent neural regression and model combination, Journal of Forecasting. 2002; 21:317-354.
  3. Engle R. Autoregressive conditional heteroskedasticity with estimates of the variance of UK inflation, Econometrica. 1982; 50:957-1008.
  4. Engle RF. Discussion: Stock market volatility and the crash of 87, Review of Financial Studies. 1990; 3:103106.
  5. Ferland R, Lalancette S. Dynamics of realized volatilities and correlations: an empirical study, Journal of Banking and Finance. 2006; 30(7):2109-2130.
  6. Huang NE, Shen Z, Long SR. The empirical mode decomposition and the Hilbert spectrum for nonlinear and nonstationary time series analysis, Process of the Royal Society of London. A. 1998; 454:903-995.
  7. Huang NE, Wu ML, Qu WD, Long SR, Shen SSP. Applications of Hilbert-Huang transform to nonstationary financial time series analysis, Applied Stochastic Models in Business and Industry. 2003; 19:245-268.
  8. Kim D, Kim KO, HS Oh. Extending the scope of empirical mode decomposition by smoothing EURASIP Journal on Advances in Signal, 2012, Springer.
  9. Yu L, Wang SY, Lai KK. Forecasting Crude Oil Price with an EMD-based Neural Network Ensemble Learning Paradigm, Energy Economics. 2008; 30:2623-2635.