This study compares the predictive performance of multiple machine learning models for forecasting the closing price of the Nikkei 225 on the forecast day using daily data. Five models—Random Forest Regression, Decision Tree Regression, XGBoost Regression, LightGBM Regression, and K-Nearest Neighbors Regression—are employed. In addition to baseline models that use lags of the closing price as explanatory variables, three additional testing models are constructed by adding lags of the opening, high, and low prices individually to the explanatory variables of the baseline models. Furthermore, six different forecast target periods, ranging from five to ten years, are considered, and predictive performance is evaluated using the R-squared value, mean absolute error, and root mean squared error. The results show that Random Forest Regression and Decision Tree Regression exhibit relatively high predictive performance, followed by K-Nearest Neighbors Regression. In addition, the results indicate that adding lags of the opening, high, and low prices to the explanatory variables slightly improves predictive performance in some cases. Furthermore, predictive performance tends to improve as the forecast target period becomes longer. These findings suggest that, in forecasting the closing price of the Nikkei 225, predictive performance may be influenced not only by the type of model but also by the composition of explanatory variables and the forecast target period.
References
[1]
Abir, S. I., Shoha, S., Al Shiam, S. A., Zakaria, R. M., Shimanto, A. H., Shamsul Arefeen, S. M. et al. (2025). Deep Learning for Financial Markets: A Case-Based Analysis of BRICS Nations in the Era of Intelligent Forecasting. JournalofEconomics,FinanceandAccountingStudies,7, 1-15. https://doi.org/10.32996/jefas.2025.7.1.1
Ghosh, B. P., Bhuiyan, M. S., Das, D., Nguyen, T. N., Jewel, R. M., Mia, M. T., Cao, D. M., & Shahid, R. (2024). Deep Learning in Stock Market Forecasting: Comparative Analysis of Neural Network Architectures across NSE and NYSE. JournalofComputerScienceandTechnologyStudies,6, 68-75. https://doi.org/10.32996/jcsts.2024.6.1.8
[4]
Hong, A., Gao, M., Gao, Q., & Peng, X. (2023). Non-Stationary Financial Time Series Forecasting Based on Meta-Learning. Electronics Letters, 59, e12681. https://doi.org/10.1049/ell2.12681
[5]
Jiang, X., Mo, H., & Li, H. (2019). Stock Classification Prediction Based on Spark. Procedia Computer Science, 162, 243-250. https://doi.org/10.1016/j.procs.2019.11.281
[6]
Liu, Q., Lee, W., Huang, M., & Wu, Q. (2023). Synergy between Stock Prices and Investor Sentiment in Social Media. Borsa Istanbul Review, 23, 76-92. https://doi.org/10.1016/j.bir.2022.09.006
[7]
Moghar, A., & Hamiche, M. (2020). Stock Market Prediction Using LSTM Recurrent Neural Network. Procedia Computer Science, 170, 1168-1173. https://doi.org/10.1016/j.procs.2020.03.049
[8]
Mokhtari, S., Yen, K. K., & Liu, J. (2021). Effectiveness of Artificial Intelligence in Stock Market Prediction Based on Machine Learning. International Journal of Computer Applications, 183, 1-8. https://doi.org/10.5120/ijca2021921347
[9]
Roondiwala, M., Patel, H., & Varma, S. (2017). Predicting Stock Prices Using LSTM. International Journal of Science and Research (IJSR), 6, 1754-1756. https://doi.org/10.21275/art20172755
[10]
Tsuji, C. (2022). Exchange Rate Forecasting via a Machine Learning Approach. iBusiness, 14, 119-126. https://doi.org/10.4236/ib.2022.143009
[11]
Tsuji, C. (2025). Forecasting Exchange Rates with Artificial Intelligence: A Study of European Currencies. International Business Research, 18, 24-34. https://doi.org/10.5539/ibr.v18n5p24
[12]
Tsuji, C. (2026). Volatility Estimation and Crash Risk Forecasting Using Unified GARCH Models: Empirical Evidence from the Russian Invasion of Ukraine. Quantitative Finance and Economics, 10, 438-480. https://doi.org/10.3934/qfe.2026018
[13]
Vishwas, H. N., Usha, B, A., & Sangeetha, K. N. (2025). Artificial Intelligence-Based Stock Market Price Prediction, a Review. Mathematical Models in Engineering, 11, 204-229. https://doi.org/10.21595/mme.2025.24861