Gold Price Prediction Using the ARIMA and LSTM Models
DOI:
10.33395/sinkron.v8i3.12461Keywords:
Gold Price, Prediction, Economic Indicators, ARIMA, LSTMAbstract
For some investors who are interested in investing for the long term, gold is one of the promising options because the price of gold has recently continued to increase. In the current condition, gold investors generally use instinct and guesswork in investing in gold because there is a benchmark gold price based on world market prices. Many empirical studies identify factors that affect gold prices to forecast them. Factual and econometric analysis recommend different informative factors. This study investigates the influence of gold prices and five supporting variables in the form of economic indicators, namely crude oil price, federal funds effective rate, consumer price index, effective exchange rate and S&P 500 stock market index between 2002 and 2022. Models were built using ARIMA and LSTM methods, evaluated using Root Mean Square Error (RMSE) and Mean Absolute Percent Error (MAPE). With a dataset allocation of 80% for training data and 20% for testing data, the comparison of actual gold prices with the predicted values of each model shows that LSTM has the best performance compared to the ARIMA (0,1,1) model where the LSTM model has an RMSE value of 8.124 and a MAPE value of 0.023. The models also show that economic indicators affect the ounce price of gold.
Downloads
References
Chen, R., & Xu, J. (2019). Forecasting volatility and correlation between oil and gold prices using a novel multivariate GAS model. Energy Economics, 78, 379–391. https://doi.org/10.1016/j.eneco.2018.11.011
Cryer, J. D., & Chan, K.-S. (2008). Time Series Analysis with Applications in R Second Edition.
Djami, R. J., & Nanlohy, Y. W. A. (2022). PERAMALAN INDEKS HARGA KONSUMEN DI KOTA AMBON MENGGUNAKAN AUTOREGRESSIVE INTEGRATED MOVING AVERAGE (ARIMA) DAN DOUBLE EXPONENTIAL SMOOTHING (Consumer Price Index Forecasting in Ambon City Using Autoregressive Integrated Moving Average (ARIMA) And Double Exponential Smoothing). 4(1). https://doi.org/10.30598/variancevol4iss1page1-14
Elsaraiti, M., & Merabet, A. (2021). A comparative analysis of the arima and lstm predictive models and their effectiveness for predicting wind speed. Energies, 14(20). https://doi.org/10.3390/en14206782
Faisal, A. N. M. F., Rahman, A., Habib, M. T. M., Siddique, A. H., Hasan, M., & Khan, M. M. (2022). Neural networks based multivariate time series forecasting of solar radiation using meteorological data of different cities of Bangladesh. Results in Engineering, 13. https://doi.org/10.1016/j.rineng.2022.100365
Gao, B., Wang, R. R., Lin, C., Guo, X., Liu, B., & Zhang, W. (2021). TBM penetration rate prediction based on the long short-term memory neural network. Underground Space (China), 6(6), 718–731. https://doi.org/10.1016/j.undsp.2020.01.003
Giannellis, N., & Koukouritakis, M. (2019). Gold price and exchange rates: A panel smooth transition regression model for the G7 countries. North American Journal of Economics and Finance, 49, 27–46. https://doi.org/10.1016/j.najef.2019.03.018
John, D. R., & Latupeirissa, S. J. (2021). PERAMALAN HARGA EMAS DI INDONESIA TAHUN 2014-2019 DENGAN METODE ARIMA BOX-JENKINS. VARIANCE: Journal of Statistics and Its Applications, 2(2), 53–62. https://doi.org/10.30598/variancevol2iss2page53-62
Kafil, M. (2019). PENERAPAN METODE K-NEAREST NEIGHBORS UNTUK PREDIKSI PENJUALAN BERBASIS WEB PADA BOUTIQ DEALOVE BONDOWOSO. In Jurnal Mahasiswa Teknik Informatika (Vol. 3).
Kanavos, A., Kounelis, F., Iliadis, L., & Makris, C. (2021). Deep learning models for forecasting aviation demand time series. Neural Computing and Applications, 33(23), 16329–16343. https://doi.org/10.1007/s00521-021-06232-y
Liu, D., & Li, Z. (2017). Gold price forecasting and related influence factors analysis based on random forest. Advances in Intelligent Systems and Computing, 502, 711–723. Springer Verlag. https://doi.org/10.1007/978-981-10-1837-4_59
Lu, W., Li, J., Wang, J., & Qin, L. (2021, May 1). A CNN-BiLSTM-AM method for stock price prediction. Neural Computing and Applications, Vol. 33, pp. 4741–4753. Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/s00521-020-05532-z
Madonna Yuma, F. (2018). SISTEM PERAMALAN HARGA EMAS MENGGUNAKAN METODE SINGLE EXPONENTIAL SMOOTHING. Seminar Nasional Royal (SENAR) 2018online) Kisaran, Asahan.
Makala, D., & Li, Z. (2021). Prediction of gold price with ARIMA and SVM. Journal of Physics: Conference Series, 1767(1). IOP Publishing Ltd. https://doi.org/10.1088/1742-6596/1767/1/012022
Mensi, W., Beljid, M., Boubaker, A., & Managi, S. (2013). Munich Personal RePEc Archive Correlations and volatility spillovers across commodity and stock markets: Linking energies, food, and gold. Economic Modelling, 32, 15–22.
Mohtasham Khani, M., Vahidnia, S., & Abbasi, A. (2021). A Deep Learning-Based Method for Forecasting Gold Price with Respect to Pandemics. SN Computer Science, 2(4). https://doi.org/10.1007/s42979-021-00724-3
Primananda, S. B., & Isa, S. M. (2021). Forecasting Gold Price in Rupiah using Multivariate Analysis with LSTM and GRU Neural Networks. Advances in Science, Technology and Engineering Systems Journal, 6(2), 245–253. https://doi.org/10.25046/aj060227
Rady, E. H. A., Fawzy, H., & Fattah, A. M. A. (2021). Time series forecasting using tree-based methods. Journal of Statistics Applications and Probability, 10(1), 229–244. https://doi.org/10.18576/JSAP/100121
Rowan, Muflikhah, L., & Cholissodin, I. (2022). Peramalan Kasus Positif COVID-19 di Jawa Timur menggunakan Metode Hybrid ARIMA-LSTM. Jurnal Pengembangan Teknologi Informasi Dan Ilmu Komputer, 6(9), 4146–4153. Retrieved from http://j-ptiik.ub.ac.id
Wang, Y. S., & Chueh, Y. L. (2013). Dynamic transmission effects between the interest rate, the US dollar, and gold and crude oil prices. Economic Modelling, 30(1), 792–798. https://doi.org/10.1016/j.econmod.2012.09.052
Yurtsever, M. (2021). Gold Price Forecasting Using LSTM, Bi-LSTM and GRU. European Journal of Science and Technology. https://doi.org/10.31590/ejosat.959405
Downloads
How to Cite
Issue
Section
License
Copyright (c) 2023 Yudha Randa Madhika Ferdinandus, Kusrini, Tonny Hidayat
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.