IDEAS home Printed from https://ideas.repec.org/a/eee/soceco/v116y2025ics2214804325000333.html

Predicting prices of the US and G7 stock indices in uncertain times: Evidence from the application of a hybrid neural network

Author

Listed:
  • Bouteska, Ahmed
  • Sharif, Taimur
  • Hajek, Petr
  • Abedin, Mohammad Zoynul

Abstract

This study investigates the application of Artificial Neural Networks (ANNs) to forecast the one-day-ahead closing price of the US and G7 indices, and makes an extended analysis of three distinct periods, namely, the pre-2008 financial crisis (2003–2007), post-crisis recovery (2009–2016), and recent economic uncertainty (2017–2022). Unlike the traditional predictive approaches, our model distinguishes itself by utilizing a hybrid ANN-based architecture that integrates variable selection and forecasting stages. The proposed model consists of two main parts: selecting relevant input variables and developing a forecasting model. In the first part, an ANN-based variable selection model is utilized to identify significant input variables based on historical market conditions that reflect economic and psychological influences over the study period. These inputs are then refined by eliminating variables with low contributions, resulting in improved model performance. In the second part, we evaluate the impact of different training algorithms, hidden layer sizes, and training data distributions on the ANN's forecasting accuracy. The findings demonstrate that ANNs can effectively forecast the S&P 500 index's and G7 indices’ prices with high accuracy, particularly when employing the Levenberg-Marquardt algorithm with a simplified model architecture. Moreover, the expanded dataset covering three distinct periods has enabled us to test the model's stability and generalization across diverse market volatility and structural conditions. The study highlights the critical role of data volume in enhancing the model's performance, confirming that extensive training data is essential for capturing the complex dynamics of market behavior.

Suggested Citation

  • Bouteska, Ahmed & Sharif, Taimur & Hajek, Petr & Abedin, Mohammad Zoynul, 2025. "Predicting prices of the US and G7 stock indices in uncertain times: Evidence from the application of a hybrid neural network," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 116(C).
  • Handle: RePEc:eee:soceco:v:116:y:2025:i:c:s2214804325000333
    DOI: 10.1016/j.socec.2025.102366
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.socec.2025.102366?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

    for a different version of it.

    References listed on IDEAS

    as
    1. Bradford, Bruce M. & Robison, H. David, 1997. "Abnormal returns, risk, and financial statement data: The case of the Iraqi invasion of Kuwait," Journal of Economics and Business, Elsevier, vol. 49(2), pages 193-204.
    2. Nicholas Bloom, 2014. "Fluctuations in Uncertainty," Journal of Economic Perspectives, American Economic Association, vol. 28(2), pages 153-176, Spring.
    3. Dario Caldara & Matteo Iacoviello, 2022. "Measuring Geopolitical Risk," American Economic Review, American Economic Association, vol. 112(4), pages 1194-1225, April.
    4. Angus Moore, 2017. "Measuring Economic Uncertainty and Its Effects," The Economic Record, The Economic Society of Australia, vol. 93(303), pages 550-575, December.
    5. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    6. Fernandez, Viviana, 2008. "The war on terror and its impact on the long-term volatility of financial markets," International Review of Financial Analysis, Elsevier, vol. 17(1), pages 1-26.
    7. Deeksha Chandola & Akshit Mehta & Shikha Singh & Vinay Anand Tikkiwal & Himanshu Agrawal, 2023. "Forecasting Directional Movement of Stock Prices using Deep Learning," Annals of Data Science, Springer, vol. 10(5), pages 1361-1378, October.
    8. Helmut Wasserbacher & Martin Spindler, 2022. "Machine learning for financial forecasting, planning and analysis: recent developments and pitfalls," Digital Finance, Springer, vol. 4(1), pages 63-88, March.
    9. Fernandes, Leonardo H.S. & Silva, José W.L. & de Araujo, Fernando H.A. & Ferreira, Paulo & Aslam, Faheem & Tabak, Benjamin Miranda, 2022. "Interplay multifractal dynamics among metal commodities and US-EPU," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 606(C).
    10. Nick Bloom, 2007. "Uncertainty and the Dynamics of R&D," American Economic Review, American Economic Association, vol. 97(2), pages 250-255, May.
    11. Bouteska, Ahmed & Hajek, Petr & Fisher, Ben & Abedin, Mohammad Zoynul, 2023. "Nonlinearity in forecasting energy commodity prices: Evidence from a focused time-delayed neural network," Research in International Business and Finance, Elsevier, vol. 64(C).
    12. Uddin, Moshfique & Chowdhury, Anup & Anderson, Keith & Chaudhuri, Kausik, 2021. "The effect of COVID – 19 pandemic on global stock market volatility: Can economic strength help to manage the uncertainty?," Journal of Business Research, Elsevier, vol. 128(C), pages 31-44.
    13. Bouteska, Ahmed & Sharif, Taimur & Hajek, Petr & Abedin, Mohammad Zoynul, 2024. "Aversion and ambiguity: On the robustness of the macroeconomic uncertainty measure framework," Technological Forecasting and Social Change, Elsevier, vol. 203(C).
    14. Choi, Sun-Yong, 2022. "Volatility spillovers among Northeast Asia and the US: Evidence from the global financial crisis and the COVID-19 pandemic," Economic Analysis and Policy, Elsevier, vol. 73(C), pages 179-193.
    15. Gaio, Luiz Eduardo & Stefanelli, Nelson Oliveira & Pimenta, Tabajara & Bonacim, Carlos Alberto Grespan & Gatsios, Rafael Confetti, 2022. "The impact of the Russia-Ukraine conflict on market efficiency: Evidence for the developed stock market," Finance Research Letters, Elsevier, vol. 50(C).
    16. repec:pri:cepsud:91malkiel is not listed on IDEAS
    17. Vasily Astrov & Mahdi Ghodsi & Richard Grieveson & Mario Holzner & Artem Kochnev & Michael Landesmann & Olga Pindyuk & Robert Stehrer & Maryna Tverdostup & Alexandra Bykova, 2022. "Russia’s invasion of Ukraine: assessment of the humanitarian, economic, and financial impact in the short and medium term," International Economics and Economic Policy, Springer, vol. 19(2), pages 331-381, May.
    18. Chai, Shanglei & Li, Qiang & Abedin, Mohammad Zoynul & Lucey, Brian M., 2024. "Forecasting electricity prices from the state-of-the-art modeling technology and the price determinant perspectives," Research in International Business and Finance, Elsevier, vol. 67(PA).
    19. Polyzos, Efstathios, 2023. "Inflation and the war in Ukraine: Evidence using impulse response functions on economic indicators and Twitter sentiment," Research in International Business and Finance, Elsevier, vol. 66(C).
    20. Efrem Castelnuovo & Guay Lim & Giovanni Pellegrino, 2017. "A Short Review of the Recent Literature on Uncertainty," Australian Economic Review, The University of Melbourne, Melbourne Institute of Applied Economic and Social Research, vol. 50(1), pages 68-78, March.
    21. Saud Asaad Al‐Thaqeb & Barrak Ghanim Algharabali & Khaled Tareq Alabdulghafour, 2022. "The pandemic and economic policy uncertainty," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(3), pages 2784-2794, July.
    22. Omair Haroon & Mohsin Ali & Abdullah Khan & Mudeer A. Khattak & Syed Aun R. Rizvi, 2021. "Financial Market Risks during the COVID-19 Pandemic," Emerging Markets Finance and Trade, Taylor & Francis Journals, vol. 57(8), pages 2407-2414, June.
    23. Md Shajalal & Petr Hajek & Mohammad Zoynul Abedin, 2023. "Product backorder prediction using deep neural network on imbalanced data," International Journal of Production Research, Taylor & Francis Journals, vol. 61(1), pages 302-319, January.
    24. Bouri, Elie, 2015. "Oil volatility shocks and the stock markets of oil-importing MENA economies: A tale from the financial crisis," Energy Economics, Elsevier, vol. 51(C), pages 590-598.
    25. Uddin, Mirza Md Moyen & Sharif, Taimur & Islam, Abe Reza Mohammad & Abedin, Mohammad Zoynul, 2024. "Moderating impact of FDI on the growth-environment nexus in the pre-COVID-19 eras," Research in International Business and Finance, Elsevier, vol. 67(PA).
    26. Schinckus, Christophe, 2009. "Economic uncertainty and econophysics," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 388(20), pages 4415-4423.
    27. Imlak Shaikh, 2022. "Impact of COVID-19 pandemic on the energy markets," Economic Change and Restructuring, Springer, vol. 55(1), pages 433-484, February.
    28. Aktham Maghyereh & Mohammad Al-Shboul, 2024. "Have the extraordinary circumstances of the COVID-19 outbreak and the Russian–Ukrainian conflict impacted the efficiency of cryptocurrencies?," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-28, December.
    29. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    30. Meinen, Philipp & Roehe, Oke, 2017. "On measuring uncertainty and its impact on investment: Cross-country evidence from the euro area," European Economic Review, Elsevier, vol. 92(C), pages 161-179.
    31. Chen, Shengming & Bouteska, Ahmed & Sharif, Taimur & Abedin, Mohammad Zoynul, 2023. "The Russia–Ukraine war and energy market volatility: A novel application of the volatility ratio in the context of natural gas," Resources Policy, Elsevier, vol. 85(PA).
    32. Chi Guotai & Mohammad Zoynul Abedin & Fahmida–E Moula, 2017. "Modeling credit approval data with neural networks: an experimental investigation and optimization," Journal of Business Economics and Management, Taylor & Francis Journals, vol. 18(2), pages 224-240, March.
    33. Wang, Yihan & Bouri, Elie & Fareed, Zeeshan & Dai, Yuhui, 2022. "Geopolitical risk and the systemic risk in the commodity markets under the war in Ukraine," Finance Research Letters, Elsevier, vol. 49(C).
    34. Maaz Khan & Umar Nawaz Kayani & Mrestyal Khan & Khurrum Shahzad Mughal & Mohammad Haseeb, 2023. "COVID-19 Pandemic & Financial Market Volatility; Evidence from GARCH Models," JRFM, MDPI, vol. 16(1), pages 1-20, January.
    35. Chishti, Muhammad Zubair & Khalid, Ali Awais & Sana, Moniba, 2023. "Conflict vs sustainability of global energy, agricultural and metal markets: A lesson from Ukraine-Russia war," Resources Policy, Elsevier, vol. 84(C).
    36. Kolev, Atanas & Randall, Timothy, 2024. "The effect of uncertainty on investment: Evidence from EU survey data," EIB Working Papers 2024/02, European Investment Bank (EIB).
    37. Będowska-Sójka, Barbara & Demir, Ender & Zaremba, Adam, 2022. "Hedging Geopolitical Risks with Different Asset Classes: A Focus on the Russian Invasion of Ukraine," Finance Research Letters, Elsevier, vol. 50(C).
    38. Ali, Mohsin & Alam, Nafis & Rizvi, Syed Aun R., 2020. "Coronavirus (COVID-19) — An epidemic or pandemic for financial markets," Journal of Behavioral and Experimental Finance, Elsevier, vol. 27(C).
    39. Ben S. Bernanke, 1983. "Irreversibility, Uncertainty, and Cyclical Investment," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 98(1), pages 85-106.
    40. Abdou, Hussein A. & Elamer, Ahmed A. & Abedin, Mohammad Zoynul & Ibrahim, Bassam A., 2024. "The impact of oil and global markets on Saudi stock market predictability: A machine learning approach," Energy Economics, Elsevier, vol. 132(C).
    41. Choudhry, Taufiq, 2010. "World War II events and the Dow Jones industrial index," Journal of Banking & Finance, Elsevier, vol. 34(5), pages 1022-1031, May.
    42. Hudson, Robert & Urquhart, Andrew, 2015. "War and stock markets: The effect of World War Two on the British stock market," International Review of Financial Analysis, Elsevier, vol. 40(C), pages 166-177.
    43. Abel, Andrew B, 1983. "Optimal Investment under Uncertainty," American Economic Review, American Economic Association, vol. 73(1), pages 228-233, March.
    44. Contessi, Silvio & De Pace, Pierangelo, 2021. "The international spread of COVID-19 stock market collapses," Finance Research Letters, Elsevier, vol. 42(C).
    45. Schnaubelt, Matthias & Fischer, Thomas G. & Krauss, Christopher, 2020. "Separating the signal from the noise – Financial machine learning for Twitter," Journal of Economic Dynamics and Control, Elsevier, vol. 114(C).
    46. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    47. Akshit Kurani & Pavan Doshi & Aarya Vakharia & Manan Shah, 2023. "A Comprehensive Comparative Study of Artificial Neural Network (ANN) and Support Vector Machines (SVM) on Stock Forecasting," Annals of Data Science, Springer, vol. 10(1), pages 183-208, February.
    48. Catalin Gheorghe & Oana Panazan, 2023. "Effects of information related to the Russia-Ukraine conflict on stock volatility: An EGARCH approach," Cogent Economics & Finance, Taylor & Francis Journals, vol. 11(2), pages 2241205-224, June.
    49. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    50. Sebastian D. Becker & Matthias D. Mahlendorf & Utz Schäffer & Mario Thaten, 2016. "Budgeting in Times of Economic Crisis," Contemporary Accounting Research, John Wiley & Sons, vol. 33(4), pages 1489-1517, December.
    51. Daniel Ellsberg, 1961. "Risk, Ambiguity, and the Savage Axioms," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 75(4), pages 643-669.
    52. Smita Roy Trivedi, 2024. "Into the Unknown: Uncertainty, Foreboding and Financial Markets," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 31(1), pages 1-23, March.
    53. Yaohao Peng & João Gabriel de Moraes Souza, 2024. "Machine learning methods for financial forecasting and trading profitability: Evidence during the Russia–Ukraine war," Revista de Gestão, Emerald Group Publishing Limited, vol. 31(2), pages 152-165, May.
    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. Li, Zhimin & Zhu, Weidong & Wu, Yong & Wu, Zihao, 2025. "Reliability of analyst recommendations based on the DS-LightGBM model," Pacific-Basin Finance Journal, Elsevier, vol. 94(C).

    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. Abakah, Emmanuel Joel Aikins & Abdullah, Mohammad & Yousaf, Imran & Kumar Tiwari, Aviral & Li, Yanshuang, 2024. "Economic sanctions sentiment and global stock markets," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 91(C).
    2. Bouteska, Ahmed & Sharif, Taimur & Hajek, Petr & Abedin, Mohammad Zoynul, 2024. "Aversion and ambiguity: On the robustness of the macroeconomic uncertainty measure framework," Technological Forecasting and Social Change, Elsevier, vol. 203(C).
    3. Carlos Cañizares Martínez & Arne Gieseck, 2025. "The effects of macro uncertainty shocks in the euro area: a FAVAR approach," Empirical Economics, Springer, vol. 68(6), pages 2829-2872, June.
    4. Dibiasi, Andreas & Abberger, Klaus & Siegenthaler, Michael & Sturm, Jan-Egbert, 2018. "The effects of policy uncertainty on investment: Evidence from the unexpected acceptance of a far-reaching referendum in Switzerland," European Economic Review, Elsevier, vol. 104(C), pages 38-67.
    5. Daniele SCHILIRÒ, 2013. "Bounded Rationality: Psychology, Economics And The Financial Crises," Theoretical and Practical Research in the Economic Fields, ASERS Publishing, vol. 4(1), pages 97-108.
    6. Kenichi Hirayama & Akihiko Noda, 2020. "Evaluating the Financial Market Function in Prewar Japan using a Time-Varying Parameter Model," Papers 2008.00860, arXiv.org, revised Jun 2021.
    7. Wei-Fong Pan, 2019. "Geopolitical Risk and R&D investment," Economics Discussion Papers em-dp2019-11, Department of Economics, University of Reading.
    8. Onur Polat & Berna Doğan Başar & İbrahim Halil Ekşi, 2025. "Dynamic Interlinkages between the Twitter Uncertainty Index and the Green Bond Market: Evidence from the Covid-19 Pandemic and the Russian-Ukrainian Conflict," Computational Economics, Springer;Society for Computational Economics, vol. 65(5), pages 2873-2889, May.
    9. Nadia Ameli & Paul Drummond & Alexander Bisaro & Michael Grubb & Hugues Chenet, 2020. "Climate finance and disclosure for institutional investors: why transparency is not enough," Climatic Change, Springer, vol. 160(4), pages 565-589, June.
    10. Tang, Yumei & Chen, Xihui Haviour & Sarker, Provash Kumer & Baroudi, Sarra, 2023. "Asymmetric effects of geopolitical risks and uncertainties on green bond markets," Technological Forecasting and Social Change, Elsevier, vol. 189(C).
    11. Camyar, Isa & Ulupinar, Bahar, 2025. "“Geopolitical crises and economic policy uncertainty: Time series analysis from the United States”," Research in Economics, Elsevier, vol. 79(3).
    12. Zhang, Yuanyuan & Chan, Stephen & Lord, Nicholas & Chu, Jeffrey & Yang, Hanfang & Chandrashekhar, Durga & Liao, Xin & Li, Qin, 2025. "Network transitions in the cryptocurrency market: The impact of regional conflicts," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 680(C).
    13. Müller, Henrik & Blagov, Boris & Schmidt, Torsten & Rieger, Jonas & Jentsch, Carsten, 2025. "The macroeconomic impact of asymmetric uncertainty shocks," The Journal of Economic Asymmetries, Elsevier, vol. 31(C).
    14. Clougherty, Joseph A. & Zhang, Nan, 2023. "Antitrust policy and inward FDI: The impact of policy risk and uncertainty on U.S. inward-FDI flows," International Business Review, Elsevier, vol. 32(4).
    15. David M. Ritzwoller & Joseph P. Romano, 2019. "Uncertainty in the Hot Hand Fallacy: Detecting Streaky Alternatives to Random Bernoulli Sequences," Papers 1908.01406, arXiv.org, revised Apr 2021.
    16. Pieter Nel & Renee van Eyden, 2026. "From News to Noise: Does Media Sentiment Drive Stock Market Volatility?," Working Papers 202605, University of Pretoria, Department of Economics.
    17. Bell, Peter N, 2013. "New Testing Procedures to Assess Market Efficiency with Trading Rules," MPRA Paper 46701, University Library of Munich, Germany.
    18. Jitka Veselá & Alžběta Zíková, 2022. "Are the Czech, Polish, German and Dutch markets taking a random walk? [Konají český, polský, německý a nizozemský trh náhodnou procházku?]," Český finanční a účetní časopis, Prague University of Economics and Business, vol. 2022(2), pages 19-38.
    19. Muchnik, Lev & Bunde, Armin & Havlin, Shlomo, 2009. "Long term memory in extreme returns of financial time series," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 388(19), pages 4145-4150.
    20. Cristi Spulbar & Ramona Birau & Lucian Florin Spulbar, 2021. "A Critical Survey on Efficient Market Hypothesis (EMH), Adaptive Market Hypothesis (AMH) and Fractal Markets Hypothesis (FMH) Considering Their Implication on Stock Markets Behavior," Ovidius University Annals, Economic Sciences Series, Ovidius University of Constantza, Faculty of Economic Sciences, vol. 0(2), pages 1161-1165, December.

    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:eee:soceco:v:116:y:2025:i:c:s2214804325000333. 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.elsevier.com/locate/inca/620175 .

    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.