Machine Learning Models for Gold Price Prediction: A Comparative Analysis and Evaluation

Authors

  • Ran Kong

DOI:

https://doi.org/10.54097/04pjnj11

Keywords:

Machine Learning, Gold Price Prediction, MSE, Random Forest.

Abstract

The prediction of gold prices is meaningful for multiple industries. Gold is a relatively stable store of value, and its price is closely linked to stocks, exchange rates, and monetary policy. Observing the trend of gold prices can promote the stable development of financial businesses. In this article, the daily opening and closing prices of gold over the past ten years were chosen as the data support. Seven different models were trained to predict prices on a yearly basis with a half-year interval. These predictions were then compared to actual data, and evaluations and analyses were conducted to identify the most suitable model for gold price forecasting. The machine learning models used included Ridge Regression, Linear Regression, Decision Tree Random Forest, Lasso Regression, Support Vector Machine, and K-Nearest Neighbors. In the evaluation process, Mean Squared Error (MSE) was used as the criterion to assess the accuracy of the model predictions.

Downloads

Download data is not yet available.

References

Arouri MEH, Lahiani A, Nguyen DK. World gold prices and stock returns in China: Insights for hedging and diversification strategies. Economic Modelling, 2015, 44: 273-282, ISSN 0264-9993.

Baur DG, McDermott TK. Is gold a safe haven? International evidence. Journal of Banking & Finance, 2010, 34 (8): 1886-1898, ISSN 0378-4266.

Bampinas G, Panagiotidis T. Are gold and silver a hedge against inflation? A two century perspective. International Review of Financial Analysis, 2015, Volume 41: 267-276, ISSN 1057-5219.

Nguyen QN, Bedoui R, Majdoub N, Guesmi K, Chevallier J. Hedging and safe-haven characteristics of Gold against currencies: An investigation based on multivariate dynamic copula theory. Resources Policy, 2020, Volume 68: 101766, ISSN 0301-4207.

Fong-Ching Y, Chao-Hui L, Chiu C. Using market sentiment analysis and genetic algorithm-based least squares support vector regression to predict gold prices. International Journal of Computational Intelligence Systems, 2020, 13 (1): 234-246.

Rammurthy S, Patil S. An LSTM-based approach to predict stock price movement for IT sector companies. International Journal of Cognitive Informatics & Natural Intelligence, 2021, 15 (4): 1-12. https://doi.org/10.4018/IJCINI.20211001.oa3.

Ali R, Mangla IU, Rehman RU, Xue W, Naseem MA, Muhammad IA. Exchange rate, gold price, and stock market nexus: A quantile regression approach. Risks, 2020, 8 (3): 86.

Qiu Y, Wang J. A Machine Learning Approach to Credit Card Customer Segmentation for Economic Stability. InProceedings of the 4th International Conference on Economic Management and Big Data Applications, ICEMBDA 2023, October 27–29, 2023, Tianjin, China 2024 Jan 19.

Qiu Y. Estimation of tail risk measures in finance: Approaches to extreme value mixture modeling (Doctoral dissertation, Johns Hopkins University).

Hossain E, Hossain MS, Zander P-O, Andersson K. Machine learning with Belief Rule-Based Expert Systems to predict stock price movements. Expert Systems with Applications, 2022, Volume 206: 117706, ISSN 0957-4174.

Kaggle. Gold and silver prices. https://www.kaggle.com/datasets/kapturovalexander/gold-and-silver-prices-2013-2023?resource=download, 2024.

Livieris IE, Emmanuel P, Panagiotis P. A CNN–LSTM model for gold price time-series forecasting. Neural Computing & Applications, 2020, 32 (23): 17351-17360.

Liu Y, Liu L, Yang L, Hao L, Bao Y. Measuring distance using ultra-wideband radio technology enhanced by extreme gradient boosting decision tree (XGBoost). Automation in Construction. 2021 Jun 1; 126: 103678.

Zhou Y, Osman A, Willms M, Kunz A, Philipp S, Blatt J, Eul S. Semantic Wireframe Detection.

Qiu Y, Yang Y, Lin Z, Chen P, Luo Y, Huang W. Improved denoising autoencoder for maritime image denoising and semantic segmentation of USV. China Communications. 2020 Mar;17 (3): 46-57.

Wang H, Zhou Y, Perez E, Roemer F. Jointly Learning Selection Matrices for Transmitters, Receivers and Fourier Coefficients in Multichannel Imaging. arXiv preprint arXiv: 2402.19023. 2024 Feb 29.

Downloads

Published

01-09-2024

How to Cite

Kong, R. (2024). Machine Learning Models for Gold Price Prediction: A Comparative Analysis and Evaluation. Highlights in Business, Economics and Management, 40, 429-435. https://doi.org/10.54097/04pjnj11