EPAK: A Computational Intelligence Model for 2-level Prediction of Stock Indices

Li Tang, Ping He Pan, Yong Yi Yao


This paper proposes a new computational intelligence model for predicting univariate time series, called EPAK, and a complex prediction model for stock market index synthesizing all the sector index predictions using EPAK as a kernel. The EPAK model uses a complex nonlinear feature extraction procedure integrating a forward rolling Empirical Mode Decomposition (EMD) for financial time series signal analysis and Principal Component Analysis (PCA) for dimension reduction to generate information-rich features as input to a new two-layer K-Nearest Neighbor (KNN) with Affinity Propagation (AP) clustering for prediction via regression. The EPAK model is then used as a kernel for predicting each of all the sector indices of the stock market. The sector indices predictions are then synthesized via weighted average to generate the prediction of the stock market index, yielding a complex prediction model for the stock market index. The EPAK model and the complex prediction model for stock index are tested on real historical financial time series in Chinese stock index including CSI 300 and ten sector indices, with results confirming the effectiveness of the proposed models.


empirical mode decomposition, principal component analysis, affinity propagation, k-nearest neighbor, time series, stock index prediction

Full Text:



Beckers, B.; Herwartz, H.; Seidel, M. (2017); Risk forecasting in (T)GARCH models with uncorrelated dependent innovations, Quantitative Finance, 17(1), 121-137, 2017.

China Securities Index Co., LTD (China). CSI 300 index compilation scheme. Shanghai: China Securities Index Co., LTD (China); 2016.

Davidson, J.; Li, X. Y. (2016); Strict stationarity, persistence and volatility forecasting in ARCH process, Journal of Empirical Finance, 38, 534-547, 2016.

Dudoit, S.; Fridlyand, J. (2002); A prediction-based resampling method for estimating the number of clusters in a dataset, Genome Biology, 3(7),1-21, 2002.

Frey, B. J.; Dueck, D. (2007); Clustering by passing messages between data points, Science, 315, 972-976, 2007.

Huang, N. E.; Shen, Z.; Long, S. R. ; et al. (1998); The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis, Proceedings of the Royal Society A:Mathematical, Physical and Engineering Sciences, 454, 903-995, 1998.

Hu, C.; Liu, X.; Pan, B.; et al. (2017); Asymmetric Impact of Oil Price Shock on Stock Market in China: A Combination Analysis Based on SVAR Model and NARDL Model, Emerging Markets Finance and Trade, 2017 (just-accepted).

Iabal, M.; Naveed, A. (2016); Forecasting inflation: Autoregressive integrated moving average model,European Scientific Journal, 12(1), 83-92, 2016.

Jaramillo, J.; Velasquez, J. D.; Franco, C. J. (2017); Research in financial time series forecasting with SVM: Contributions from literature, IEEE Latin America Transactions, 15(1),145-153, 2017.

Jena, P. R.; Majhi, R.; Majhi, B. (2015); Development and performance evaluation of a novel knowledge guided artificial neural network (KGANN) model for exchange rate prediction, Journal of King Saud University-Computer and Information Sciences, 27(4), 450-457, 2015.

Karl Pearson, F. R. S. (1901); On lines and planes of closest fit to systems of points in space, Philosophical Magazine, 2, 559-572, 1901.

Martinez, F.; Frias, M.; Perez, M. (2017); A methodology for applying k-nearest neighbor to time series forecasting, Artificial Intelligence Review, 1-19, 2017.

Mokoma, T. J.; Moroke, N. D.(2015); Is the South African exchange rate volatile? Application of the ARCH framework, Risk Governance and Control: Financial Market & Institutions, 5(1), 110-122, 2015.

Pan, H. P.; Haidar, I.; Kulkarni, S. (2009); Daily prediction of short-term trends of crude oil prices using neural networks exploiting multimarket dynamics, Frontiers of Computer Science in China, 3(2),177-191, 2009.

Pan, H. P.; Ma, Y.; Zhang, C. Z. (2017); FEPA-An integrated computational intelligence model for predicting financial time series, 2017 IEEE/SICE International Symposium on System Integration (SII 2017), 2017 Dec 11-14, Taiwan, China (Accepted).

Pedro, C. S.; Pedro, H. M. (2017); Volatility forecasting via SVR-GARCH with mixture of Gaussian kernels, Computational Management Science, 14(2), 179-196, 2017.

Ravi, V. ; Pradeepkumar, D. Deb, ; K. (2017); Financial time series prediction using hybrids of chaos theory, multi-layer perceptron and multi-objective evolutionary algorithms, Swarm and Evolutionary Computation, 36, 136-149, 2017.

Rotshtein, A.; Pustylnik, L.; Giat, Y.(2016); Fuzzy logic and chaos theory in time series forecasting, International Journal of Intelligent Systems, 31(11), 1056-1071, 2016.

Sermpinis, G.; Stasinakis, C.; Theofilatos, K.; Karathanasopoulos, A. (2015); Modeling, forecasting and trading the EUR exchange rates with hybrid rolling genetic algorithms- Support vector regression forecast combinations, Harvard Business Review, 247(3), 831-846, 2015.

Tealab, A.; Hefny, H.; Badr, A. (2017); Forecasting of nonlinear time series using ANN, Future Computing and Informatics Journal, 2(1), 39-457, 2017.

Wang, J.; Wang, J. (2017); Forecasting stochastic neural network based on financial empirical mode decomposition, Neural Networks, 90, 8-20, 2017.

Wang, K.; Zhang, J.; Li, A.; et al. (2007); Adaptive affinity propagation clustering, Acta Automatica Sinica, 33(12), 1242-1246, 2007.

Wen, F.; Gong, X.; Cai, S. (2016); Forecasting the volatility of crude oil futures using HAR-type models with structural breaks,Energy Economics, 59, 400-413, 2016.

Wen, F.; Xiao, J.; Huang, C.; et al. (2018); Interaction between oil and US dollar exchange rate: nonlinear causality, time-varying influence and structural breaks in volatility, Applied Economics, 50(3), 319-334, 2018.

Yang, H. L.; Lin, H. C. (2017); Applying the hybrid model of EMD, PSR, and ELM to exchange rates forecasting, Computational Economics, 49(1), 99-116, 2017.

Zhang, C. Z.; Pan, H. P. (2015); A forecasting model based on forward rolling EMD techniques, Technical Economics (a Chinese Journal), 34(5), 70-76, 2015.

Zhang, G. S.; Zhang, X. D.; Feng, H. Y. (2016); Forecasting financial time series using a methodology based on autoregressive integrated moving average and Taylor expansion, Expert Systems, 33 (5), 501-516, 2016.

Zhang, N. N.; Lin, A. J.; Shang, P. J. (2017); Multidimensional k-nearest neighbor model based on EEMD for financial time series forecasting, Physica A: Statistical Mechanics and Its Applications, 477, 161-173, 2017.

DOI: https://doi.org/10.15837/ijccc.2018.2.3187

Copyright (c) 2018 LI TANG, Ping He Pan, Yong Yi Yao

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CC-BY-NC  License for Website User

Articles published in IJCCC user license are protected by copyright.

Users can access, download, copy, translate the IJCCC articles for non-commercial purposes provided that users, but cannot redistribute, display or adapt:

  • Cite the article using an appropriate bibliographic citation: author(s), article title, journal, volume, issue, page numbers, year of publication, DOI, and the link to the definitive published version on IJCCC website;
  • Maintain the integrity of the IJCCC article;
  • Retain the copyright notices and links to these terms and conditions so it is clear to other users what can and what cannot be done with the  article;
  • Ensure that, for any content in the IJCCC article that is identified as belonging to a third party, any re-use complies with the copyright policies of that third party;
  • Any translations must prominently display the statement: "This is an unofficial translation of an article that appeared in IJCCC. Agora University  has not endorsed this translation."

This is a non commercial license where the use of published articles for commercial purposes is forbiden. 

Commercial purposes include: 

  • Copying or downloading IJCCC articles, or linking to such postings, for further redistribution, sale or licensing, for a fee;
  • Copying, downloading or posting by a site or service that incorporates advertising with such content;
  • The inclusion or incorporation of article content in other works or services (other than normal quotations with an appropriate citation) that is then available for sale or licensing, for a fee;
  • Use of IJCCC articles or article content (other than normal quotations with appropriate citation) by for-profit organizations for promotional purposes, whether for a fee or otherwise;
  • Use for the purposes of monetary reward by means of sale, resale, license, loan, transfer or other form of commercial exploitation;

    The licensor cannot revoke these freedoms as long as you follow the license terms.

[End of CC-BY-NC  License for Website User]

INTERNATIONAL JOURNAL OF COMPUTERS COMMUNICATIONS & CONTROL (IJCCC), With Emphasis on the Integration of Three Technologies (C & C & C),  ISSN 1841-9836.

IJCCC was founded in 2006,  at Agora University, by  Ioan DZITAC (Editor-in-Chief),  Florin Gheorghe FILIP (Editor-in-Chief), and  Misu-Jan MANOLESCU (Managing Editor).

Ethics: This journal is a member of, and subscribes to the principles of, the Committee on Publication Ethics (COPE).

Ioan  DZITAC (Editor-in-Chief) at COPE European Seminar, Bruxelles, 2015:

IJCCC is covered/indexed/abstracted in Science Citation Index Expanded (since vol.1(S),  2006); JCR2016: IF=1.374. .

IJCCC is indexed in Scopus from 2008 (SNIP2016 = 0.701, SJR2016 =0.319):

Nomination by Elsevier for Journal Excellence Award Romania 2015 (SNIP2014 = 1.029): Elsevier/ Scopus

IJCCC was nominated by Elsevier for Journal Excellence Award - "Scopus Awards Romania 2015" (SNIP2014 = 1.029).

IJCCC is in Top 3 of 157 Romanian journals indexed by Scopus (in all fields) and No.1 in Computer Science field by Elsevier/ Scopus.