COMPARATIVE ANALYSIS OF TIME SERIES FORECASTING MODELS USING ARIMA AND NEURAL NETWORK AUTOREGRESSION METHODS

  • Melina Melina Department of Informatics, Faculty of Science and Informatics, Universitas Jenderal Achmad Yani, Indonesia
  • Sukono Sukono Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Indonesia https://orcid.org/0000-0003-2608-9712
  • Herlina Napitupulu Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Indonesia https://orcid.org/0000-0002-1638-282X
  • Norizan Mohamed Department of Mathematics, Faculty of Ocean Engineering Technology and Informatics, Universiti Malaysia Terengganu, Malaysia https://orcid.org/0000-0001-9058-6153
  • Yulison Herry Chrisnanto Department of Informatics, Faculty of Science and Informatics, Universitas Jenderal Achmad Yani, Indonesia https://orcid.org/0000-0002-3491-3049
  • Asep ID Hadiana Department of Informatics, Faculty of Science and Informatics, Universitas Jenderal Achmad Yani, Indonesia https://orcid.org/0000-0002-4372-6165
  • Valentina Adimurti Kusumaningtyas Department of Chemistry, Faculty of Science and Informatics, Universitas Jenderal Achmad Yani, Indonesia https://orcid.org/0000-0001-9552-7048
  • Ulya Nabilla Department of Mathematics, Faculty of Engineering, Universitas Samudra, Indonesia https://orcid.org/0000-0002-7111-8917
Keywords: ARIMA, Forecasting, NNAR, Non-Linear, Time Series

Abstract

Gold price fluctuations have a significant impact because gold is a haven asset. When financial markets are volatile, investors tend to turn to safer instruments such as gold, so gold price forecasting becomes important in economic uncertainty. The novelty of this research is the comparative analysis of time series forecasting models using ARIMA and the NNAR methods to predict gold price movements specifically applied to gold price data with non-stationary and non-linear characteristics. The aim is to identify the strengths and limitations of ARIMA and NNAR on such data. ARIMA can only be applied to time series data that are already stationary or have been converted to stationary form through differentiation. However, ARIMA may struggle to capture complex non-linear patterns in non-stationary data. Instead, NNAR can handle non-stationary data more effectively by modeling the complex non-linear relationships between input and output variables. In the NNAR model, the lag values of the time series are used as input variables for the neural network. The dataset used is the closing price of gold with 1449 periods from January 2, 2018, to October 5, 2023. The augmented Dickey-Fuller test dataset obtained a p-value = 0.6746, meaning the data is not stationary. The ARIMA(1, 1, 1) model was selected as the gold price forecasting model and outperformed other candidate ARIMA models based on parameter identification and model diagnosis tests. Model performance is evaluated based on the RMSE and MAE values. In this study, the ARIMA(1, 1, 1) model obtained RMSE = 16.20431 and MAE = 11.13958. The NNAR(1, 10) model produces RMSE = 16.10002 and MAE = 11.09360. Based on the RMSE and MAE values, the NNAR(1, 10) model produces better accuracy than the ARIMA(1, 1, 1) model.

Downloads

Download data is not yet available.

References

M. As’ad, S. Sujito, and S. Setyowibowo, “Neural Network Autoregressive For Predicting Daily Gold Price,” J. Inf., vol. 5, no. 2, p. 69, 2020, doi: https://doi.org/10.25139/inform.v0i1.2715.

P. Hajek and J. Novotny, “Fuzzy Rule-Based Prediction of Gold Prices using News Affect,” Expert Syst. Appl., vol. 193, p. 116487, 2022, doi: https://doi.org/10.1016/j.eswa.2021.116487.

I. Livieris, E. Pintelas, and P. Pintelas, “A CNN-LSTM model for gold price time series forecasting,” Neural Comput. Appl., vol. 32, Dec. 2020, doi: https://doi.org/10.1007/s00521-020-04867-x.

I. K. Hasan and Ismail Djakaria, “Perbandingan Model Hybrid ARIMA-NN dan Hybrid ARIMA-GARCH untuk Peramalan Data Nilai Tukar Petani di Provinsi Gorontalo,” J. Stat. dan Apl., vol. 5, no. 2, pp. 155–165, 2021, doi: https://doi.org/10.21009/jsa.05204.

G. Zhang, B. Eddy Patuwo, and M. Y. Hu, “Forecasting with artificial neural networks: The state of the art,” Int. J. Forecast., vol. 14, no. 1, pp. 35–62, 1998, doi: https://doi.org/10.1016/S0169-2070(97)00044-7.

G. E. P. Box and G. M. Jenkins, Time Series Analysis: Forecasting and Control. Holden-Day, 1976.

R. Thoplan, “Simple v/s Sophisticated Methods of Forecasting for Mauritius Monthly Tourist Arrival Data,” Int. J. Stat. Appl., vol. 4, no. 5, pp. 217–223, 2014, doi: https://doi.org/10.5923/j.statistics.20140405.01.

A. Ahmar and E. Boj, “Application of Neural Network Time Series (NNAR) and ARIMA to Forecast Infection Fatality Rate (IFR) of COVID-19 in Brazil,” JOIV Int. J. Informatics Vis., vol. 5, p. 8, Mar. 2021, doi: https://doi.org/10.30630/joiv.5.1.372.

G. Vijayalakshmi, K. Pushpanjali, and A. Mohan Babu, “A comparison of ARIMA & NNAR models for production of rice in the state of Andhra Pradesh,” Int J Stat Appl Math, vol. 8, no. 3, pp. 251–257, 2023, doi: https://doi.org/10.22271/maths.2023.v8.i3c.1041.

H. Y. Liu, A. Manzoor, C. Wang, L. Zhang, and Z. Manzoor, “The COVID-19 outbreak and affected countries stock markets response,” International Journal of Environmental Research and Public Health, vol. 17, no. 8. 2020. doi: https://doi.org/10.3390/ijerph17082800.

M. Melina, Sukono, H. Napitupulu, A. Sambas, A. Murniati, and V. A. Kusumaningtyas, “Artificial neural network-based machine learning approach to stock market prediction model on the Indonesia Stock Exchange during the COVID-19,” Eng. Lett., vol. 30, no. 3, pp. 988–1000, 2022.

S. C. Hillmer and W. W. S. Wei, “Time Series Analysis: Univariate and Multivariate Methods,” J. Am. Stat. Assoc., vol. 86, no. 413, p. 245, 1991, doi: https://doi.org/10.2307/2289741.

F. M. Khan and R. Gupta, “ARIMA and NAR based prediction model for time series analysis of COVID-19 cases in India,” J. Saf. Sci. Resil., vol. 1, no. 1, pp. 12–18, 2020, doi: https://doi.org/10.1016/j.jnlssr.2020.06.007.

M. L. Ayala and D. L. L. Polestico, “Modeling COVID-19 cases using NB-INGARCH and ARIMA models: A case study in Iligan City, Philippines,” Procedia Comput. Sci., vol. 234, pp. 262–269, 2024, doi: https://doi.org/10.1016/j.procs.2024.03.012.

T. Umairah, N. Imro’ah, and N. M. Huda, “Arima model verification with outlier Factors using control chart,” BAREKENG J. Math. Its Appl., vol. 18, no. 1, pp. 0579–0588, 2024, doi: https://doi.org/10.30598/ barekengvol18iss1pp0579 - 0588.

D. F. J. de C. C. Sandoval U, D. F. J. de C. Bogotá U, and S. J, “Computational Models of Financial Price Prediction: A Survey of Neural Networks, Kernel Machines and Evolutionary Computation Approaches,” Ingeniería, vol. 16, no. 2, pp. 125–133, Jul. 2011.

S. Haykin, Neural Networks and Learning Machines, Third Edit. New York: Pearson Education, Inc, 2009.

M. Melina, Sukono, H. Napitupulu, and N. Mohamed, “Modeling of Machine Learning-Based Extreme Value Theory in Stock Investment Risk Prediction: A Systematic Literature Review,” Big Data, pp. 1–20, Jan. 2024, doi: https://doi.org/10.1089/big.2023.0004.

Melina, Sukono, H. Napitupulu, and N. Mohamed, “A conceptual model of investment-risk prediction in the stock market using extreme value theory with machine learning: A semisystematic literature review,” Risks, vol. 11, no. 3, pp. 1–24, 2023, doi: https://doi.org/10.3390/risks11030060.

R. J. Hyndman and G. Athanasopoulos, Forecasting: principles and practice, 3rd ed. Melbourne, Australia: OTexts, 2021. [Online]. Available: https://otexts.com/fpp3/

C. Twumasi and J. Twumasi, “Machine learning algorithms for forecasting and backcasting blood demand data with missing values and outliers: A study of Tema General Hospital of Ghana,” Int. J. Forecast., vol. 38, no. 3, pp. 1258–1277, 2022, doi: https://doi.org/10.1016/j.ijforecast.2021.10.008.

Published
2024-10-14
How to Cite
[1]
M. Melina, “COMPARATIVE ANALYSIS OF TIME SERIES FORECASTING MODELS USING ARIMA AND NEURAL NETWORK AUTOREGRESSION METHODS”, BAREKENG: J. Math. & App., vol. 18, no. 4, pp. 2563-2576, Oct. 2024.