Research & Reviews: Discrete Mathematical Structures Original Research

Analysis of Gold Price Trend Using the Hidden Markov Model

  1. Sarode Rekha (Short-Term Post Doctoral Fellow), Indian Statistical Institute, Theoretical Statistics and Mathematics Unit,
  2. Thirupathi Rao Padi Department of Statistics, Pondicherry University
  3. Raj Kumar Sahoo Department. of Statistics, Utkal University

Abstract

This study aims to analyze the behavior of gold prices in India through a two-state Hidden Markov Model (HMM). We first formulated crucial parameters, such as the Transition Probability Matrix (TPM), Initial Probability Vector (IPV), and Emission Probability Matrix (EPM). Subsequently, we constructed a hidden Markov probability distribution and evaluated Pearson’s coefficients to gauge the correlations separately for each state. The goodness of fit of the developed model was assessed using the chi-square test. Real-time data from the internet, particularly from the Bombay Stock Exchange (BSE) for hidden states and gold prices in India for emission states, were utilized for the model application. We categorized states as incremental or decrement based on the positivity of returns for both the BSE and gold prices. Utilizing the model, we computed probability distributions and statistical measures and validated its performance by gathering future data from various online sources. This study employs an HMM to comprehend the dynamics of gold prices in India, establish meaningful relationships, and validate predictive capabilities using real-time data. In saummary, this study utilizes an HMM to explore the dynamics of gold prices in India. By identifying significant relationships and validating the model's predictions using real-time data, this study offers valuable insights into market behavior and presents a reliable tool for forecasting future gold price trends.

Keywords

References (11)

  1. Li B. Hidden Markov Model Based Stock Price Prediction: A Financial Research Report Based on Big Data Technology. SSRN Electronic Journal. 2023. doi:10.2139/ssrn.4622722
  2. Sopipan N, Sattayatham P, Premanode B. Forecasting Volatility of Gold Price Using Markov Regime Switching and Trading Strategy. Journal of Mathematical Finance. 2012;02(01):121-131. doi:10.4236/jmf.2012.21014
  3. Kılıç SB. Predicting the direction of gold price returns: Integrating composite artificial neural network models by Markov chain process. Çukurova Univ İktisadi İdari Bil Fak Derg. 2013;17: 15–28.
  4. Klongdee W, Sous S, Thongjunthug T. Gold price forecasting based on the improved GM (1,1) model with Markov chain by average of middle points. Sci J KKU. 2014;42(3):693–9.
  5. Akgül I, Bildirici M, Özdemir S. Evaluating the Nonlinear Linkage between Gold Prices and Stock Market Index Using Markov-Switching Bayesian VAR Models. Procedia - Social and Behavioral Sciences. 2015;210:408-415. doi:10.1016/j.sbspro.2015.11.388
  6. Jayasree M, Jyothi P. Gold prices & regime shifts with Markov model: A study in the Indian context. Int J Recent Trends Bus Tourism. 2019;3:92–5.
  7. Shen L, Shen K, Yi C, Chen Y. Regression and Hidden Markov Models for Gold Price Prediction. 2020 IEEE International Conference on Big Data (Big Data). 2020:5451-5456. doi:10.1109/bigdata50022.2020.9378468
  8. Tiwari AK, Aye GC, Gupta R, Gkillas K. Gold-oil dependence dynamics and the role of geopolitical risks: Evidence from a Markov-switching time-varying copula model. Energy Economics. 2020;88:104748. doi:10.1016/j.eneco.2020.104748
  9. Patalay S, Bandlamudi MR. Gold price prediction using machine learning model trees. In: International Conference on Changing Business Paradigm, Murshidabad; 2021. p. 154–88.
  10. Bidin J, Syed Abas SF, Sharif N, Che Muhammad Fahimi CAA, Ku Akil KA. Comparative Study Between Holt's Double Exponential Smoothing and Fuzzy Time Series Markov Chain in Gold Price Forecasting. Journal of Computing Research and Innovation. 2022;7(2):283-293. doi:10.24191/jcrinn.v7i2.320
  11. Qasim TB, Iqbal GZ, Hassan MU, Ali H. Application of Markov regime switching autoregressive model to gold prices in Pakistan. Rev Econ Dev Stud. 2021;7:309–23. doi:10.47067/reads.v7i3.
Support