IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v477y2017icp161-173.html
   My bibliography  Save this article

Multidimensional k-nearest neighbor model based on EEMD for financial time series forecasting

Author

Listed:
  • Zhang, Ningning
  • Lin, Aijing
  • Shang, Pengjian

Abstract

In this paper, we propose a new two-stage methodology that combines the ensemble empirical mode decomposition (EEMD) with multidimensional k-nearest neighbor model (MKNN) in order to forecast the closing price and high price of the stocks simultaneously. The modified algorithm of k-nearest neighbors (KNN) has an increasingly wide application in the prediction of all fields. Empirical mode decomposition (EMD) decomposes a nonlinear and non-stationary signal into a series of intrinsic mode functions (IMFs), however, it cannot reveal characteristic information of the signal with much accuracy as a result of mode mixing. So ensemble empirical mode decomposition (EEMD), an improved method of EMD, is presented to resolve the weaknesses of EMD by adding white noise to the original data. With EEMD, the components with true physical meaning can be extracted from the time series. Utilizing the advantage of EEMD and MKNN, the new proposed ensemble empirical mode decomposition combined with multidimensional k-nearest neighbor model (EEMD–MKNN) has high predictive precision for short-term forecasting. Moreover, we extend this methodology to the case of two-dimensions to forecast the closing price and high price of the four stocks (NAS, S&P500, DJI and STI stock indices) at the same time. The results indicate that the proposed EEMD–MKNN model has a higher forecast precision than EMD–KNN, KNN method and ARIMA.

Suggested Citation

  • Zhang, Ningning & Lin, Aijing & Shang, Pengjian, 2017. "Multidimensional k-nearest neighbor model based on EEMD for financial time series forecasting," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 477(C), pages 161-173.
  • Handle: RePEc:eee:phsmap:v:477:y:2017:i:c:p:161-173
    DOI: 10.1016/j.physa.2017.02.072
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437117302091
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2017.02.072?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Donaldson, R. Glen & Kamstra, Mark, 1997. "An artificial neural network-GARCH model for international stock return volatility," Journal of Empirical Finance, Elsevier, vol. 4(1), pages 17-46, January.
    2. Zhang, Xun & Lai, K.K. & Wang, Shou-Yang, 2008. "A new approach for crude oil price analysis based on Empirical Mode Decomposition," Energy Economics, Elsevier, vol. 30(3), pages 905-918, May.
    3. Chu, Ching-Wu & Zhang, Guoqiang Peter, 2003. "A comparative study of linear and nonlinear models for aggregate retail sales forecasting," International Journal of Production Economics, Elsevier, vol. 86(3), pages 217-231, December.
    4. Fernandez-Rodriguez, Fernando & Sosvilla-Rivero, Simon & Andrada-Felix, Julian, 1999. "Exchange-rate forecasts with simultaneous nearest-neighbour methods: evidence from the EMS," International Journal of Forecasting, Elsevier, vol. 15(4), pages 383-392, October.
    5. Meade, Nigel, 2002. "A comparison of the accuracy of short term foreign exchange forecasting methods," International Journal of Forecasting, Elsevier, vol. 18(1), pages 67-83.
    6. Swanson, Norman R. & White, Halbert, 1997. "Forecasting economic time series using flexible versus fixed specification and linear versus nonlinear econometric models," International Journal of Forecasting, Elsevier, vol. 13(4), pages 439-461, December.
    7. James H. Stock & Mark W. Watson, 1998. "A Comparison of Linear and Nonlinear Univariate Models for Forecasting Macroeconomic Time Series," NBER Working Papers 6607, National Bureau of Economic Research, Inc.
    8. Gary Grudnitski & Larry Osburn, 1993. "Forecasting S&P and gold futures prices: An application of neural networks," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 13(6), pages 631-643, September.
    9. Gao, Zhong-Ke & Jin, Ning-De, 2011. "Scaling analysis of phase fluctuations in experimental three-phase flows," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 390(20), pages 3541-3550.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Jichang Dong & Wei Dai & Ying Liu & Lean Yu & Jie Wang, 2019. "Forecasting Chinese Stock Market Prices using Baidu Search Index with a Learning-Based Data Collection Method," International Journal of Information Technology & Decision Making (IJITDM), World Scientific Publishing Co. Pte. Ltd., vol. 18(05), pages 1605-1629, September.
    2. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    3. Junior, Peterson Owusu & Tiwari, Aviral Kumar & Padhan, Hemachandra & Alagidede, Imhotep, 2020. "Analysis of EEMD-based quantile-in-quantile approach on spot- futures prices of energy and precious metals in India," Resources Policy, Elsevier, vol. 68(C).
    4. Samya Tajmouati & Bouazza El Wahbi & Mohamed Dakkon, 2023. "Classical and fast parameters tuning in nearest neighbors with stop condition," OPSEARCH, Springer;Operational Research Society of India, vol. 60(3), pages 1063-1081, September.
    5. Fanhua Yu & Huibowen Hao & Qingliang Li, 2021. "An Ensemble 3D Convolutional Neural Network for Spatiotemporal Soil Temperature Forecasting," Sustainability, MDPI, vol. 13(16), pages 1-16, August.
    6. Xu, Jia & Tan, Xiujie & He, Gang & Liu, Yu, 2019. "Disentangling the drivers of carbon prices in China's ETS pilots — An EEMD approach," Technological Forecasting and Social Change, Elsevier, vol. 139(C), pages 1-9.
    7. Hui Wang & Jianbo Sun & Weijun Wang, 2018. "Photovoltaic Power Forecasting Based on EEMD and a Variable-Weight Combination Forecasting Model," Sustainability, MDPI, vol. 10(8), pages 1-11, July.
    8. Zhou, Zhongbao & Gao, Meng & Liu, Qing & Xiao, Helu, 2020. "Forecasting stock price movements with multiple data sources: Evidence from stock market in China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 542(C).
    9. Owusu Junior, Peterson & Tweneboah, George, 2020. "Are there asymmetric linkages between African stocks and exchange rates?," Research in International Business and Finance, Elsevier, vol. 54(C).
    10. Martins, Guilherme Santos & Giesbrecht, Mateus, 2021. "Clearness index forecasting: A comparative study between a stochastic realization method and a machine learning algorithm," Renewable Energy, Elsevier, vol. 180(C), pages 787-805.
    11. Hengliang Guo & Yanling Guo & Wenyu Zhang & Xiaohui He & Zongxi Qu, 2021. "Research on a Novel Hybrid Decomposition–Ensemble Learning Paradigm Based on VMD and IWOA for PM 2.5 Forecasting," IJERPH, MDPI, vol. 18(3), pages 1-19, January.
    12. Guo, Wei & Liu, Qingfu & Luo, Zhidan & Tse, Yiuman, 2022. "Forecasts for international financial series with VMD algorithms," Journal of Asian Economics, Elsevier, vol. 80(C).
    13. Sun, Jie & Zhao, Xiaojun & Xu, Chao, 2021. "Crude oil market autocorrelation: Evidence from multiscale quantile regression analysis," Energy Economics, Elsevier, vol. 98(C).
    14. Nawaf Almaskati, 2022. "Machine learning in finance: Major applications, issues, metrics, and future trends," International Journal of Financial Engineering (IJFE), World Scientific Publishing Co. Pte. Ltd., vol. 9(03), pages 1-32, September.
    15. Zhu, Yongguang & Xu, Deyi & Cheng, Jinhua & Ali, Saleem Hassan, 2018. "Estimating the impact of China's export policy on tin prices: a mode decomposition counterfactual analysis method," Resources Policy, Elsevier, vol. 59(C), pages 250-264.
    16. Xike Zhang & Qiuwen Zhang & Gui Zhang & Zhiping Nie & Zifan Gui & Huafei Que, 2018. "A Novel Hybrid Data-Driven Model for Daily Land Surface Temperature Forecasting Using Long Short-Term Memory Neural Network Based on Ensemble Empirical Mode Decomposition," IJERPH, MDPI, vol. 15(5), pages 1-23, May.
    17. Peng Chen & Andrew Vivian & Cheng Ye, 2022. "Forecasting carbon futures price: a hybrid method incorporating fuzzy entropy and extreme learning machine," Annals of Operations Research, Springer, vol. 313(1), pages 559-601, June.
    18. Hualing Lin & Qiubi Sun & Sheng-Qun Chen, 2020. "Reducing Exchange Rate Risks in International Trade: A Hybrid Forecasting Approach of CEEMDAN and Multilayer LSTM," Sustainability, MDPI, vol. 12(6), pages 1-19, March.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Rodríguez-Vargas, Adolfo, 2020. "Forecasting Costa Rican inflation with machine learning methods," Latin American Journal of Central Banking (previously Monetaria), Elsevier, vol. 1(1).
    2. Jan G. De Gooijer & Rob J. Hyndman, 2005. "25 Years of IIF Time Series Forecasting: A Selective Review," Monash Econometrics and Business Statistics Working Papers 12/05, Monash University, Department of Econometrics and Business Statistics.
    3. Pablo Guerróon‐Quintana & Molin Zhong, 2023. "Macroeconomic forecasting in times of crises," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 38(3), pages 295-320, April.
    4. Roberto Patuelli & Peter Nijkamp & Simonetta Longhi & Aura Reggiani, 2008. "Neural Networks and Genetic Algorithms as Forecasting Tools: A Case Study on German Regions," Environment and Planning B, , vol. 35(4), pages 701-722, August.
    5. Franses,Philip Hans & Dijk,Dick van, 2000. "Non-Linear Time Series Models in Empirical Finance," Cambridge Books, Cambridge University Press, number 9780521779654, January.
    6. Roberto Patuelli & Aura Reggiani & Peter Nijkamp & Uwe Blien, 2006. "New Neural Network Methods for Forecasting Regional Employment: an Analysis of German Labour Markets," Spatial Economic Analysis, Taylor & Francis Journals, vol. 1(1), pages 7-30.
    7. Kück, Mirko & Freitag, Michael, 2021. "Forecasting of customer demands for production planning by local k-nearest neighbor models," International Journal of Production Economics, Elsevier, vol. 231(C).
    8. Arroyo, Javier & Maté, Carlos, 2009. "Forecasting histogram time series with k-nearest neighbours methods," International Journal of Forecasting, Elsevier, vol. 25(1), pages 192-207.
    9. Dahl, Christian M. & Hylleberg, Svend, 2004. "Flexible regression models and relative forecast performance," International Journal of Forecasting, Elsevier, vol. 20(2), pages 201-217.
    10. Wu, Yih-Jiuan, 1998. "Exchange rate forecasting: an application of radial basis function neural networks," ISU General Staff Papers 1998010108000013540, Iowa State University, Department of Economics.
    11. Katharina Hampel & Marcus Kunz & Norbert Schanne & Ruediger Wapler & Antje Weyh, 2006. "Regional Unemployment Forecasting Using Structural Component Models With Spatial Autocorrelation," ERSA conference papers ersa06p196, European Regional Science Association.
    12. Schanne, N. & Wapler, R. & Weyh, A., 2010. "Regional unemployment forecasts with spatial interdependencies," International Journal of Forecasting, Elsevier, vol. 26(4), pages 908-926, October.
    13. Xu, Mengjia & Shang, Pengjian & Lin, Aijing, 2016. "Cross-correlation analysis of stock markets using EMD and EEMD," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 442(C), pages 82-90.
    14. Angelos Kanas, 2003. "Non-linear forecasts of stock returns," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 22(4), pages 299-315.
    15. Longhi, Simonetta & Nijkamp, Peter, 2006. "Forecasting regional labor market developments under spatial heterogeneity and spatial correlation," Serie Research Memoranda 0015, VU University Amsterdam, Faculty of Economics, Business Administration and Econometrics.
    16. Simonetta Longhi & Peter Nijkamp, 2005. "Forecasting Regional Labour Market Developments Under Spatial Heterogeneity and Spatial Autocorrelation," Tinbergen Institute Discussion Papers 05-041/3, Tinbergen Institute.
    17. De Gooijer, Jan G. & Hyndman, Rob J., 2006. "25 years of time series forecasting," International Journal of Forecasting, Elsevier, vol. 22(3), pages 443-473.
    18. Simonetta Longhi & Peter Nijkamp & Aura Reggianni & Erich Maierhofer, 2005. "Neural Network Modeling as a Tool for Forecasting Regional Employment Patterns," International Regional Science Review, , vol. 28(3), pages 330-346, July.
    19. Roberto Patuelli & Peter Nijkamp & Simonetta Longhi & Aura Reggiani, 2008. "Neural Networks and Genetic Algorithms as Forecasting Tools: A Case Study on German Regions," Environment and Planning B, , vol. 35(4), pages 701-722, August.
    20. Darrat, Ali F & Zhong, Maosen, 2000. "On Testing the Random-Walk Hypothesis: A Model-Comparison Approach," The Financial Review, Eastern Finance Association, vol. 35(3), pages 105-124, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:477:y:2017:i:c:p:161-173. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.