Comparison of ARIMA and GRU Models for High-Frequency Time Series Forecasting.

Mochamad Ridwan(1), Kusman Sadik(2), Farit Mochamad Afendi(3),


(1) Department of Statistics, IPB University, Indonesia
(2) Department of Statistics, IPB University, Indonesia
(3) Department of Statistics, IPB University, Indonesia

Abstract

Purpose: The purpose of this research is to assess the efficacy of ARIMA and GRU models in forecasting high-frequency stock price data, specifically minute-level stock data from HIMBARA banks. In time series analysis, time series data exhibit interesting interdependence among observations. Despite its popularity in time series forecasting, the ARIMA model has limitations in capturing complicated nonlinear patterns. Forecasting high-frequency data is becoming more popular as technology advances and more high-frequency data becomes available.

Methods: In this study, we compare the ARIMA and GRU models in forecasting minute-level stock prices of HIMBARA banks. The data used consists of 62,921 minute-level stock data points for each bank in the HIMBARA group, collected in the year 2022. The GRU model was chosen because it is capable of capturing complex nonlinear patterns in time series data. Each method's predicting performance is assessed using the Mean Absolute Percentage Error (MAPE) statistic.

Results: In terms of forecasting accuracy, the GRU model outperforms the ARIMA model. The GRU model achieves a MAPE of 0.77% for BMRI stock, while the ARIMA model achieves a MAPE of 4.09%. The GRU model predicts a MAPE of 0.34% for BBRI stock, while the ARIMA model predicts a MAPE of 3.02%. For BBNI stock, the GRU model obtains a MAPE of 0.63%, while the ARIMA model achieves a MAPE of 1.52%. The GRU model achieves a MAPE of 0.58% for BBTN stock, while the ARIMA model achieves a MAPE of 6.2%.

Novelty: In terms of minute-level time series data modeling, research in Indonesia has been limited. This study adds a new perspective to the discussion by comparing two modeling approaches: the traditional ARIMA model and the sophisticated deep learning GRU model, both of which are applied to high-frequency data. Beyond the present scope, there are several promising future directions to pursue, such as anticipating intraday stock fluctuations. This unexplored zone not only contributes to the field of financial modeling but also has the ability to uncover intricate patterns in minute-level data, an area that has not been extensively studied in the Indonesian context.

Keywords

ARIMA; GRU; Time series; Forecasting; High-frequency data

Full Text:

PDF

References

R. Wulandari, B. Surarso, Irawanto, and F. Farikhin., “The Forecasting of Palm Oil Based on Fuzzy Time Series-Two Factor,” J. Soft Comput. Explor. 2, vol. 1, pp. 11–16, 2021.

I. Aksan, K. Nurfadilah, P. S. Matematika, U. Islam, and N. Alauddin, “Aplikasi Metode Arima Box-Jenkins Untuk Meramalkan Penggunaan Harian Data Seluler,” vol. 2, no. 1, pp. 5–10, 2020.

W. F. Abror and M. Aziz, “Journal of Information System Bankruptcy Prediction Using Genetic Algorithm-Support Vector Machine ( GA-SVM ) Feature Selection and Stacking,” vol. 1, no. 2, pp. 103–108, 2023.

N. Hautsch, Econometrics of financial high-frequency data. Springer Science & Business Media, 2012.

F. J. Fabozzi, Encyclopedia of Financial Models. John Wiley & Sons, 2012.

Paridi, “Perbandingan Metode ARIMA (Box Jenkins), ARFIMA, Regresi Spektral dan SSA dalam Peramalan Jumlah Kasus Demam Berdarah Dengue di Rumah Sakit Hasan Sadikin Bandun,” JISIP (Jurnal Ilmu Sos. dan Pendidikan), vol. 3, 2019.

A. O. B. Puka, “Model Hybrid ARIMAX-QR dan QRNN Untuk Peramalan Inflow dan Outflow Uang Kartal di Bank Indonesia Provinsi NTT dan Nasional,” pp. 20–51, 2017.

Z. Li, “On the forecasting of high-frequency financial time series based on ARIMA model improved by deep learning,” no. December 2019, pp. 1–17, 2020, doi: 10.1002/for.2677.

D. C. Lesmana and R. Budiarti, “Penentuan Harga Opsi Dengan Volatilitas Stokastik Menggunakan Metode Monte Carlo,” vol. 3, no. 1, pp. 80–92, 2021.

K. L. Kohsasih and B. H. Hayadi, “Classification SARS-CoV-2 Disease based on CT-Scan Image Using Convolutional Neural Network,” Sci. J. Informatics, vol. 9, no. 2, pp. 197–204, 2022, doi: 10.15294/sji.v9i2.36583.

A. A. P. Karo, “IMPLEMENTASI DEEP LEARNING PADA ROBOT KRAKATAU FC UNTUK MENENTUKAN SISI TIANG GAWANG PADA KONTES ROBOT HUMANOID INDONESIA,” Univ. Teknokr. Indones., 2020.

I. Cholissodin, A. A. Soebroto, U. Hasanah, and Y. I. Febiola, AI, Machine Learning & Deep Learning. Universitas Brawijaya, 2020.

K. S. Nugroho et al., “DETEKSI DEPRESI DAN KECEMASAN PENGGUNA TWITTER,” no. Ciastech, pp. 287–296, 2021.

P. T. Yamak, “A Comparison between ARIMA , LSTM , and GRU for Time Series Forecasting,” 2017.

J. Chung, “Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling arXiv : 1412 . 3555v1 [ cs . NE ] 11 Dec 2014,” no. December, 2014.

B. Van Merri, “Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation,” 2013.

R. Gençay, M. Dacorogna, U. A. Muller, O. Pictet, and R. Olsen, An introduction to high-frequency finance. Elsivier, 2001.

T. G. Andersen, “Some reflections on analysis of high-frequency data,” J. Bus. Econ. Stat., vol. 18, no. 2, pp. 146–153, 2000, doi: 10.1080/07350015.2000.10524857.

K.-S. Chan and J. D. Cryer, Time series analysis with applications in R. springer publication, 2008.

U. I. Arfianti, D. C. R. Novitasari, N. Widodo, M. Hafiyusholeh, and W. D. Utami, “Sunspot Number Prediction Using Gated Recurrent Unit (GRU) Algorithm,” IJCCS (Indonesian J. Comput. Cybern. Syst., vol. 15, no. 2, p. 141, 2021, doi: 10.22146/ijccs.63676.

R. J. Hyndman and G. Athanasopoulos, Forecasting: principles and practice. OTexts, 2018.

D. C. Montgomery, C. L. Jennings, and M. Kulahci, Introduction to time series analysis and forecasting. John Wiley & Sons, 2015.

Refbacks





Scientific Journal of Informatics (SJI)
p-ISSN 2407-7658 | e-ISSN 2460-0040
Published By Department of Computer Science Universitas Negeri Semarang
Website: https://journal.unnes.ac.id/nju/index.php/sji
Email: [email protected]

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.