IDEAS home Printed from https://ideas.repec.org/a/eee/apmaco/v320y2018icp444-451.html
   My bibliography  Save this article

Minute-ahead stock price forecasting based on singular spectrum analysis and support vector regression

Author

Listed:
  • Lahmiri, Salim

Abstract

Time series modeling and forecasting is an essential and hard task in financial engineering and optimization. Various models have been proposed in the literature and tested on daily data. However, a limited attention has been given to intraday data. In this regard, the current work presents a model for intraday stock price prediction that uses singular spectrum analysis (SSA) and support vector regression (SVR) coupled with particle swarm optimization (PSO). In particular, the SSA decomposes stock price time series into a small number of independent components used as predictors. The SVR is applied to the task of forecasting and PSO is employed to optimize SVR parameters. The performance of our proposed model is compared to the performance of four models widely used in financial prediction: the wavelet transform (WT) coupled with feedforward neural network (FFNN), autoregressive moving average (ARMA) process, polynomial regression (PolyReg), and naïve model. Finally, the mean absolute error (MAE), mean absolute percentage error (MAPE), and the root mean of squared errors (RMSE) are used as main performance metrics. By applying all models to six intraday stock price time series, the forecasting results from simulations show that the presented SSA-PSO-SVR largely outperforms the conventional WT-FFNN, ARMA, polynomial regression, and naïve model in terms of MAE, MAPE and RMSE. Therefore, our proposed predictive system SSA-PSO-SVR shows evident potential for noisy financial time series analysis and forecasting.

Suggested Citation

  • Lahmiri, Salim, 2018. "Minute-ahead stock price forecasting based on singular spectrum analysis and support vector regression," Applied Mathematics and Computation, Elsevier, vol. 320(C), pages 444-451.
  • Handle: RePEc:eee:apmaco:v:320:y:2018:i:c:p:444-451
    DOI: 10.1016/j.amc.2017.09.049
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0096300317306859
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.amc.2017.09.049?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. Lahmiri, Salim, 2017. "Modeling and predicting historical volatility in exchange rate markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 471(C), pages 387-395.
    2. Hassani, Hossein & Webster, Allan & Silva, Emmanuel Sirimal & Heravi, Saeed, 2015. "Forecasting U.S. Tourist arrivals using optimal Singular Spectrum Analysis," Tourism Management, Elsevier, vol. 46(C), pages 322-335.
    3. Li, Li, 2015. "Bifurcation and chaos in a discrete physiological control system," Applied Mathematics and Computation, Elsevier, vol. 252(C), pages 397-404.
    4. Wu, Yong-Ping & Feng, Guo-Lin, 2015. "A new algorithm for seasonal precipitation forecast based on global atmospheric hydrological water budget," Applied Mathematics and Computation, Elsevier, vol. 268(C), pages 478-488.
    5. Nieto, P.J. García & Fernández, J.R. Alonso & Suárez, V.M. González & Muñiz, C. Díaz & García-Gonzalo, E. & Bayón, R. Mayo, 2015. "A hybrid PSO optimized SVM-based method for predicting of the cyanotoxin content from experimental cyanobacteria concentrations in the Trasona reservoir: A case study in Northern Spain," Applied Mathematics and Computation, Elsevier, vol. 260(C), pages 170-187.
    6. Kisi, Ozgur & Shiri, Jalal & Karimi, Sepideh & Shamshirband, Shahaboddin & Motamedi, Shervin & Petković, Dalibor & Hashim, Roslan, 2015. "A survey of water level fluctuation predicting in Urmia Lake using support vector machine with firefly algorithm," Applied Mathematics and Computation, Elsevier, vol. 270(C), pages 731-743.
    7. Hassani, Hossein, 2007. "Singular Spectrum Analysis: Methodology and Comparison," MPRA Paper 4991, University Library of Munich, Germany.
    8. Lahmiri, Salim, 2016. "Interest rate next-day variation prediction based on hybrid feedforward neural network, particle swarm optimization, and multiresolution techniques," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 444(C), pages 388-396.
    9. Thomakos, Dimitrios D. & Wang, Tao & Wille, Luc T., 2002. "Modeling daily realized futures volatility with singular spectrum analysis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 312(3), pages 505-519.
    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. Mahdi Kalantari & Hossein Hassani, 2019. "Automatic Grouping in Singular Spectrum Analysis," Forecasting, MDPI, vol. 1(1), pages 1-16, October.
    2. Flavio Barboza & Geraldo Nunes Silva & José Augusto Fiorucci, 2023. "A review of artificial intelligence quality in forecasting asset prices," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1708-1728, November.
    3. Monira Essa Aloud, 2020. "The role of attribute selection in Deep ANNs learning framework for high‐frequency financial trading," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 27(2), pages 43-54, April.
    4. Kalantari, Mahdi, 2021. "Forecasting COVID-19 pandemic using optimal singular spectrum analysis," Chaos, Solitons & Fractals, Elsevier, vol. 142(C).
    5. Ren‐Raw Chen & Wiliam Kaihua Huang & Shih‐Kuo Yeh, 2021. "Particle swarm optimization approach to portfolio construction," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 28(3), pages 182-194, July.
    6. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    7. Jiang, Ping & Li, Ranran & Liu, Ningning & Gao, Yuyang, 2020. "A novel composite electricity demand forecasting framework by data processing and optimized support vector machine," Applied Energy, Elsevier, vol. 260(C).
    8. Aggarwal, Divya & Chandrasekaran, Shabana & Annamalai, Balamurugan, 2020. "A complete empirical ensemble mode decomposition and support vector machine-based approach to predict Bitcoin prices," Journal of Behavioral and Experimental Finance, Elsevier, vol. 27(C).
    9. Salim Lahmiri, 2020. "A predictive system integrating intrinsic mode functions, artificial neural networks, and genetic algorithms for forecasting S&P500 intra‐day data," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 27(2), pages 55-65, April.
    10. Moreno, Sinvaldo Rodrigues & Mariani, Viviana Cocco & Coelho, Leandro dos Santos, 2021. "Hybrid multi-stage decomposition with parametric model applied to wind speed forecasting in Brazilian Northeast," Renewable Energy, Elsevier, vol. 164(C), pages 1508-1526.

    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. Hassani, Hossein & Silva, Emmanuel Sirimal & Gupta, Rangan & Das, Sonali, 2018. "Predicting global temperature anomaly: A definitive investigation using an ensemble of twelve competing forecasting models," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 509(C), pages 121-139.
    2. de Carvalho, Miguel & Rua, António, 2017. "Real-time nowcasting the US output gap: Singular spectrum analysis at work," International Journal of Forecasting, Elsevier, vol. 33(1), pages 185-198.
    3. Hossein Hassani & Zara Ghodsi & Rangan Gupta & Mawuli Segnon, 2017. "Forecasting Home Sales in the Four Census Regions and the Aggregate US Economy Using Singular Spectrum Analysis," Computational Economics, Springer;Society for Computational Economics, vol. 49(1), pages 83-97, January.
    4. Papailias, Fotis & Thomakos, Dimitrios, 2017. "EXSSA: SSA-based reconstruction of time series via exponential smoothing of covariance eigenvalues," International Journal of Forecasting, Elsevier, vol. 33(1), pages 214-229.
    5. M. Atikur Rahman Khan & D.S. Poskitt, 2014. "On The Theory and Practice of Singular Spectrum Analysis Forecasting," Monash Econometrics and Business Statistics Working Papers 3/14, Monash University, Department of Econometrics and Business Statistics.
    6. Degiannakis, Stavros & Filis, George & Hassani, Hossein, 2015. "Forecasting implied volatility indices worldwide: A new approach," MPRA Paper 72084, University Library of Munich, Germany.
    7. Md Atikur Rahman Khan & D.S. Poskitt, 2010. "Description Length Based Signal Detection in singular Spectrum Analysis," Monash Econometrics and Business Statistics Working Papers 13/10, Monash University, Department of Econometrics and Business Statistics.
    8. Lahmiri, Salim & Bekiros, Stelios, 2017. "Disturbances and complexity in volatility time series," Chaos, Solitons & Fractals, Elsevier, vol. 105(C), pages 38-42.
    9. Dimitrios Kartsonakis Mademlis & Nikolaos Dritsakis, 2021. "Volatility Forecasting using Hybrid GARCH Neural Network Models: The Case of the Italian Stock Market," International Journal of Economics and Financial Issues, Econjournals, vol. 11(1), pages 49-60.
    10. Canh Phuc Nguyen & Su Dinh Thanh & Bach Nguyen, 2022. "Economic uncertainty and tourism consumption," Tourism Economics, , vol. 28(4), pages 920-941, June.
    11. Zhang, Shuai & Chen, Yong & Xiao, Jiuhong & Zhang, Wenyu & Feng, Ruijun, 2021. "Hybrid wind speed forecasting model based on multivariate data secondary decomposition approach and deep learning algorithm with attention mechanism," Renewable Energy, Elsevier, vol. 174(C), pages 688-704.
    12. Th I Götz & G Lahmer & V Strnad & Ch Bert & B Hensel & A M Tomé & E W Lang, 2017. "A tool to automatically analyze electromagnetic tracking data from high dose rate brachytherapy of breast cancer patients," PLOS ONE, Public Library of Science, vol. 12(9), pages 1-31, September.
    13. Zhang, Yishuo & Li, Gang & Muskat, Birgit & Law, Rob & Yang, Yating, 2020. "Group pooling for deep tourism demand forecasting," Annals of Tourism Research, Elsevier, vol. 82(C).
    14. Hassani, Hossein & Huang, Xu & Gupta, Rangan & Ghodsi, Mansi, 2016. "Does sunspot numbers cause global temperatures? A reconsideration using non-parametric causality tests," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 460(C), pages 54-65.
    15. Carlos Alberto Orge Pinheiro & Valter de Senna, 2016. "Price Forecasting Through Multivariate Spectral Analysis: Evidence for Commodities of BMeFbovespa," Brazilian Business Review, Fucape Business School, vol. 13(5), pages 129-157, September.
    16. Ping Jiang & Zeng Wang & Kequan Zhang & Wendong Yang, 2017. "An Innovative Hybrid Model Based on Data Pre-Processing and Modified Optimization Algorithm and Its Application in Wind Speed Forecasting," Energies, MDPI, vol. 10(7), pages 1-29, July.
    17. Fu, Sibao & Li, Yongwu & Sun, Shaolong & Li, Hongtao, 2019. "Evolutionary support vector machine for RMB exchange rate forecasting," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 521(C), pages 692-704.
    18. Andrea Saayman & Ilsé Botha, 2017. "Non-linear models for tourism demand forecasting," Tourism Economics, , vol. 23(3), pages 594-613, May.
    19. Stelios M. Potirakis & Masashi Hayakawa & Alexander Schekotov, 2017. "Fractal analysis of the ground-recorded ULF magnetic fields prior to the 11 March 2011 Tohoku earthquake (M W = 9): discriminating possible earthquake precursors from space-sourced disturbances," Natural Hazards: Journal of the International Society for the Prevention and Mitigation of Natural Hazards, Springer;International Society for the Prevention and Mitigation of Natural Hazards, vol. 85(1), pages 59-86, January.
    20. Shaghaghi, Saba & Bonakdari, Hossein & Gholami, Azadeh & Ebtehaj, Isa & Zeinolabedini, Maryam, 2017. "Comparative analysis of GMDH neural network based on genetic algorithm and particle swarm optimization in stable channel design," Applied Mathematics and Computation, Elsevier, vol. 313(C), pages 271-286.

    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:apmaco:v:320:y:2018:i:c:p:444-451. 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: https://www.journals.elsevier.com/applied-mathematics-and-computation .

    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.