IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v17y2024i6p242-d1412471.html
   My bibliography  Save this article

Neural Network-Based Predictive Models for Stock Market Index Forecasting

Author

Listed:
  • Karime Chahuán-Jiménez

    (Centro de Investigación en Negocios y Gestión Empresarial, Escuela de Auditoría, Universidad de Valparaíso, Valparaíso 2361891, Chile)

Abstract

The stock market, characterised by its complexity and dynamic nature, presents significant challenges for predictive analytics. This research compares the effectiveness of neural network models in predicting the S&P500 index, recognising that a critical component of financial decision making is market volatility. The research examines neural network models such as Long Short-Term Memory (LSTM), Convolutional Neural Network (CNN), Artificial Neural Network (ANN), Recurrent Neural Network (RNN), and Gated Recurrent Unit (GRU), taking into account their individual characteristics of pattern recognition, sequential data processing, and handling of nonlinear relationships. These models are analysed using key performance indicators such as the Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), and Directional Accuracy, a metric considered essential for prediction in both the training and testing phases of this research. The results show that although each model has its own advantages, the GRU and CNN models perform particularly well according to these metrics. GRU has the lowest error metrics, indicating its robustness in accurate prediction, while CNN has the highest directional accuracy in testing, indicating its efficiency in data processing. This study highlights the potential of combining metrics for neural network models for consideration when making decisions due to the changing dynamics of the stock market.

Suggested Citation

  • Karime Chahuán-Jiménez, 2024. "Neural Network-Based Predictive Models for Stock Market Index Forecasting," JRFM, MDPI, vol. 17(6), pages 1-18, June.
  • Handle: RePEc:gam:jjrfmx:v:17:y:2024:i:6:p:242-:d:1412471
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/17/6/242/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/17/6/242/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Abhyankar, A & Copeland, L S & Wong, W, 1997. "Uncovering Nonlinear Structure in Real-Time Stock-Market Indexes: The S&P 500, the DAX, the Nikkei 225, and the FTSE-100," Journal of Business & Economic Statistics, American Statistical Association, vol. 15(1), pages 1-14, January.
    2. Kim, Sungil & Kim, Heeyoung, 2016. "A new metric of absolute percentage error for intermittent demand forecasts," International Journal of Forecasting, Elsevier, vol. 32(3), pages 669-679.
    3. Richard A. Meese & Andrew K. Rose, 1991. "An Empirical Assessment of Non-Linearities in Models of Exchange Rate Determination," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 58(3), pages 603-619.
    4. Aistis Raudys & Edvinas Goldstein, 2022. "Forecasting Detrended Volatility Risk and Financial Price Series Using LSTM Neural Networks and XGBoost Regressor," JRFM, MDPI, vol. 15(12), pages 1-12, December.
    5. Karlo Puh & Marina Bagić Babac, 2023. "Predicting stock market using natural language processing," American Journal of Business, Emerald Group Publishing Limited, vol. 38(2), pages 41-61, April.
    Full references (including those not matched with items on IDEAS)

    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. Shyh-Wei Chen, 2008. "Non-stationarity and Non-linearity in Stock Prices: Evidence from the OECD Countries," Economics Bulletin, AccessEcon, vol. 3(11), pages 1-11.
    2. Barbara Rossi, 2013. "Exchange Rate Predictability," Journal of Economic Literature, American Economic Association, vol. 51(4), pages 1063-1119, December.
    3. Hu, Xincheng & Banks, Jonathan & Wu, Linping & Liu, Wei Victor, 2020. "Numerical modeling of a coaxial borehole heat exchanger to exploit geothermal energy from abandoned petroleum wells in Hinton, Alberta," Renewable Energy, Elsevier, vol. 148(C), pages 1110-1123.
    4. Wright, Jonathan H., 2008. "Bayesian Model Averaging and exchange rate forecasts," Journal of Econometrics, Elsevier, vol. 146(2), pages 329-341, October.
    5. Khan, Waqas & Somers, Ward & Walker, Shalika & de Bont, Kevin & Van der Velden, Joep & Zeiler, Wim, 2023. "Comparison of electric vehicle load forecasting across different spatial levels with incorporated uncertainty estimation," Energy, Elsevier, vol. 283(C).
    6. Boldea, Otilia & Hall, Alastair R., 2013. "Estimation and inference in unstable nonlinear least squares models," Journal of Econometrics, Elsevier, vol. 172(1), pages 158-167.
    7. Juan Reboredo & José Matías & Raquel Garcia-Rubio, 2012. "Nonlinearity in Forecasting of High-Frequency Stock Returns," Computational Economics, Springer;Society for Computational Economics, vol. 40(3), pages 245-264, October.
    8. Kenneth S. Rogoff & Vania Stavrakeva, 2008. "The Continuing Puzzle of Short Horizon Exchange Rate Forecasting," NBER Working Papers 14071, National Bureau of Economic Research, Inc.
    9. Vasile Brătian & Ana-Maria Acu & Camelia Oprean-Stan & Emil Dinga & Gabriela-Mariana Ionescu, 2021. "Efficient or Fractal Market Hypothesis? A Stock Indexes Modelling Using Geometric Brownian Motion and Geometric Fractional Brownian Motion," Mathematics, MDPI, vol. 9(22), pages 1-20, November.
    10. Jorge V Pérez-Rodríguez & Juan M Hernández & Julián Andrada-Félix, 2024. "Modelling prices and volatilities in the sharing economy," Tourism Economics, , vol. 30(5), pages 1189-1215, August.
    11. Atsushi Inoue & Lutz Kilian, 2005. "In-Sample or Out-of-Sample Tests of Predictability: Which One Should We Use?," Econometric Reviews, Taylor & Francis Journals, vol. 23(4), pages 371-402.
    12. Karol Pilot & Alicja Ganczarek-Gamrot & Krzysztof Kania, 2024. "Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model," Energies, MDPI, vol. 17(17), pages 1-20, September.
    13. Cheung, Yin-Wong & Erlandsson, Ulf G., 2005. "Exchange Rates and Markov Switching Dynamics," Journal of Business & Economic Statistics, American Statistical Association, vol. 23, pages 314-320, July.
    14. Holger Dette & Marc Hallin & Tobias Kley & Stanislav Volgushev, 2011. "Of Copulas, Quantiles, Ranks and Spectra - An L1-Approach to Spectral Analysis," Working Papers ECARES ECARES 2011-038, ULB -- Universite Libre de Bruxelles.
    15. Chen, Mei-Ping & Lin, Yu-Hui & Tseng, Chun-Yao & Chen, Wen-Yi, 2015. "Bubbles in health care: Evidence from the U.S., U.K., and German stock markets," The North American Journal of Economics and Finance, Elsevier, vol. 31(C), pages 193-205.
    16. Shively, Philip A., 2007. "Asymmetric temporary and permanent stock-price innovations," Journal of Empirical Finance, Elsevier, vol. 14(1), pages 120-130, January.
    17. Yin-Wong Cheung & Menzie D. Chinn & Antonio I. Garcia Pascual, 2003. "What Do We Know about Recent Exchange Rate Models? In-Sample Fit and Out-of-Sample Performance Evaluated," CESifo Working Paper Series 902, CESifo.
    18. Andrea Petroselli & Jacek Florek & Dariusz Młyński & Leszek Książek & Andrzej Wałęga, 2020. "New Insights on Flood Mapping Procedure: Two Case Studies in Poland," Sustainability, MDPI, vol. 12(20), pages 1-17, October.
    19. Jose Manuel Barrera & Alejandro Reina & Alejandro Maté & Juan Carlos Trujillo, 2020. "Solar Energy Prediction Model Based on Artificial Neural Networks and Open Data," Sustainability, MDPI, vol. 12(17), pages 1-20, August.
    20. Bunyamin Demir & Nesrin Alptekin & Yilmaz Kilicaslan & Mehmet Ergen & Nilgun Caglairmak Uslu, 2015. "Forecasting Agricultural Production: A Chaotic Dynamic Approach," World Journal of Applied Economics, WERI-World Economic Research Institute, vol. 1(1), pages 65-80, June.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:gam:jjrfmx:v:17:y:2024:i:6:p:242-:d:1412471. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.