Cluster Level Time Series Forecasting on Indonesian Banking Stock Prices Using the Gated Recurrent Unit Method

Main Article Content

Faisal Arkan
Budi Susetyo
Rahma Anisa

Abstract

In recent years, there has been a significant increase in the number of Single Investor Identification registrations in the Indonesian capital market, as reported by the Financial Services Authority. Many investors favor stocks for their potential for high returns and liquidity. However, stock investments come with high risks due to their fluctuating prices, which are influenced by multiple factors. With 47 listed banking companies in the Indonesia Stock Exchange, clustering can help identify investor patterns. Forecasting stock prices is essential for anticipating future fluctuations. The large number of issuers and the tendency of stock prices to fluctuate increase the potential for outliers, requiring an appropriate clustering method. A study using the k-medoid method and dynamic time warping distance revealed 41 banking companies clustered into 5 clusters with a silhouette coefficient of 0.524. The Gated Recurrent Unit modeling, based on prototypes from the formed clusters, showed an excellent forecasting performance with root mean squared error and mean absolute percentage error ranging from 1-10%. The forecast for the next 8 weeks indicated varying price increases for each cluster. The first and third clusters are recommended for investors looking to maximize capital gains, due to their price increases and diverse cluster member characteristics. Additionally, investors should consider dividends provided by certain banking companies in their investment decision-making process.

Downloads

Download data is not yet available.

Article Details

How to Cite
1.
Faisal Arkan, Susetyo B, Anisa R. Cluster Level Time Series Forecasting on Indonesian Banking Stock Prices Using the Gated Recurrent Unit Method. IJSA [Internet]. 2025 Dec. 30 [cited 2026 Jan. 9];9(2):261-73. Available from: https://journal-stats.ipb.ac.id/index.php/ijsa/article/view/1274
Section
Articles

References

Berndt, D. J., & Clifford, J. (1994). Using dynamic time warping to find patterns in time series. Proceedings of the 3rd International Conference on Knowledge Discovery and Data Mining, 359–370.

Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation. http://arxiv.org/abs/1406.1078

Dey, P., Hossain, E., Hossain, Md. I., Chowdhury, M. A., Alam, Md. S., Hossain, M. S., & Andersson, K. (2021). Comparative Analysis of Recurrent Neural Networks in Stock Price Prediction for Different Frequency Domains. Algorithms, 14(8), 251. https://doi.org/10.3390/a14080251

Douglas C. Montgomery, Cheryl L. Jennings, & Murat Kulahci. (2015). Introduction to Time Series Analysis and Forecasting (2nd ed.). Wiley.

Han, J., Pei, J., & Tong, H. (2023). Data mining: concepts and techniques. Morgan Kaufmann Publishers.

Hosseinioun, N. (2016). Forecasting Outlier Occurrence in Stock Market Time Series Based on Wavelet Transform and Adaptive ELM Algorithm. Journal of Mathematical Finance, 06(01), 127–133. https://doi.org/10.4236/jmf.2016.61013

Lee, S., Kim, J., Hwang, J., Lee, E., Lee, K.-J., Oh, J., Park, J., & Heo, T.-Y. (2020). Clustering of Time Series Water Quality Data Using Dynamic Time Warping: A Case Study from the Bukhan River Water Quality Monitoring Network. Water, 12(9), 2411. https://doi.org/10.3390/w12092411

li, W., & Liu, Z. (2011). A method of SVM with Normalization in Intrusion Detection. Procedia Environmental Sciences, 11, 256–262. https://doi.org/10.1016/j.proenv.2011.12.040

Liu, C., Gao, F., Zhao, Q., & Zhang, M. (2023). The optimized gate recurrent unit based on improved evolutionary algorithm to predict stock market returns. RAIRO - Operations Research, 57(2), 743–759. https://doi.org/10.1051/ro/2023029

Luthfi, E., & Wijayanto, A. W. (2021). Comparative analysis of hirearchical, k-means, and k-medoids clustering and methods in grouping Indonesia’s human development index . Inovasi: Jurnal Ekonomi, Keuangan, Dan Manajemen, 17(4), 761–773.

Nakagawa, K., Imamura, M., & Yoshida, K. (2019). Stock price prediction using k-medoids clustering with indexing dynamic time warping. Electronics and Communications in Japan, 102(2), 3–8. https://doi.org/10.1002/ecj.12140

Ranjan, G. S. K., Kumar Verma, A., & Radhika, S. (2019). K-Nearest Neighbors and Grid Search CV Based Real Time Fault Monitoring System for Industries. 2019 IEEE 5th International Conference for Convergence in Technology (I2CT), 1–5. https://doi.org/10.1109/I2CT45611.2019.9033691

Sakinah, L., Anisa, R., & Sumertajaya, I. M. (2024). Energy Sector Stock Price Forecasting with Time Series Clustering Approach. Indonesian Journal of Statistics and Its Applications, 8(2), 132–142. https://doi.org/10.29244/ijsa.v8i2p132-142

Wan, X., Li, H., Zhang, L., & Wu, Y. J. (2021). Multivariate Time Series Data Clustering Method Based on Dynamic Time Warping and Affinity Propagation. Wireless Communications and Mobile Computing, 2021(1). https://doi.org/10.1155/2021/9915315

Wang, Y., Liu, M., Bao, Z., & Zhang, S. (2018). Short-Term Load Forecasting with Multi-Source Data Using Gated Recurrent Unit Neural Networks. Energies, 11(5), 1138. https://doi.org/10.3390/en11051138

Most read articles by the same author(s)