IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v64y2024i6d10.1007_s10614-024-10557-w.html
   My bibliography  Save this article

Prediction of Precious Metal Index Based on Ensemble Learning and SHAP Interpretable Method

Author

Listed:
  • Yanbo Zhang

    (Beijing University of Chemical Technology)

  • Mengkun Liang

    (Beijing University of Chemical Technology)

  • Haiying Ou

    (Beijing Wuzi University)

Abstract

In recent years, the challenging global economy has induced a surge in the investment risk. Precious metal index has gained popularity among investors because of its ability to diversify investments and hedge risk. To facilitate optimal decision-making in the face of market volatility, financial institutions, investors and related enterprises need an efficient and reliable method to predict the price fluctuations of precious metals. Based on these, the primary objective of this study is to develop an ensemble model which could predict precious metal index better. In this study, K-means method is employed for label segmentation, categorizing the price percentage changes of precious metal index into five distinct labels, and four machine learning models are selected for predictive performance comparison: XGBoost, LightGBM, CatBoost, and Random Forests. Then three models with better predictive performance are selected for ensemble. The ensemble model shows improved prediction ability compared to these individual ones and the empirical evidence is provided to demonstrate its robustness. In addition, this study provides an interpretable analysis of the characteristics with the SHAP method and proposes some investment recommendations. These results could provide ideas to the participants in the precious metal market.

Suggested Citation

  • Yanbo Zhang & Mengkun Liang & Haiying Ou, 2024. "Prediction of Precious Metal Index Based on Ensemble Learning and SHAP Interpretable Method," Computational Economics, Springer;Society for Computational Economics, vol. 64(6), pages 3243-3278, December.
  • Handle: RePEc:kap:compec:v:64:y:2024:i:6:d:10.1007_s10614-024-10557-w
    DOI: 10.1007/s10614-024-10557-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-024-10557-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-024-10557-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Dirk G. Baur & Brian M. Lucey, 2010. "Is Gold a Hedge or a Safe Haven? An Analysis of Stocks, Bonds and Gold," The Financial Review, Eastern Finance Association, vol. 45(2), pages 217-229, May.
    2. Irwin, Scott H. & Sanders, Dwight R., 2012. "Financialization and Structural Change in Commodity Futures Markets," Journal of Agricultural and Applied Economics, Cambridge University Press, vol. 44(3), pages 371-396, August.
    3. He, Kaijian & Chen, Yanhui & Tso, Geoffrey K.F., 2017. "Price forecasting in the precious metal market: A multivariate EMD denoising approach," Resources Policy, Elsevier, vol. 54(C), pages 9-24.
    4. Sami Ben Jabeur & Salma Mefteh-Wali & Jean-Laurent Viviani, 2021. "Forecasting gold price with the XGBoost algorithm and SHAP interaction values," Post-Print hal-03331805, HAL.
    5. Sun, Xiaolei & Liu, Mingxi & Sima, Zeqian, 2020. "A novel cryptocurrency price trend forecasting model based on LightGBM," Finance Research Letters, Elsevier, vol. 32(C).
    6. Naeem, Muhammad Abubakr & Agyemang, Abraham & Hasan Chowdhury, Md Iftekhar & Hasan, Mudassar & Shahzad, Syed Jawad Hussain, 2022. "Precious metals as hedge and safe haven for African stock markets," Resources Policy, Elsevier, vol. 78(C).
    7. Das, Debojyoti & Bhatia, Vaneet & Kumar, Surya Bhushan & Basu, Sankarshan, 2022. "Do precious metals hedge crude oil volatility jumps?," International Review of Financial Analysis, Elsevier, vol. 83(C).
    8. Qadan, Mahmoud & Aharon, David Y. & Eichel, Ron, 2019. "Seasonal patterns and calendar anomalies in the commodity market for natural resources," Resources Policy, Elsevier, vol. 63(C), pages 1-1.
    9. Mensi, Walid & Ali, Syed Riaz Mahmood & Vo, Xuan Vinh & Kang, Sang Hoon, 2022. "Multiscale dependence, spillovers, and connectedness between precious metals and currency markets: A hedge and safe-haven analysis," Resources Policy, Elsevier, vol. 77(C).
    10. Adekoya, Oluwasegun B. & Oliyide, Johnson A., 2021. "How COVID-19 drives connectedness among commodity and financial markets: Evidence from TVP-VAR and causality-in-quantiles techniques," Resources Policy, Elsevier, vol. 70(C).
    11. Zhang, Ditian & Tang, Pan, 2023. "Forecasting European Union allowances futures: The role of technical indicators," Energy, Elsevier, vol. 270(C).
    12. Zouhaier Dhifaoui & Rabeh Khalfaoui & Mohammad Zoynul Abedin & Baofeng Shi, 2022. "Quantifying information transfer among clean energy, carbon, oil, and precious metals: A novel transfer entropy-based approach," Post-Print hal-03797566, HAL.
    13. Jose Arreola Hernandez & Mazin A.M. Al Janabi, 2020. "Forecasting of dependence, market, and investment risks of a global index portfolio," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(3), pages 512-532, April.
    14. Rehman, Mobeen Ur & Shahzad, Syed Jawad Hussain & Uddin, Gazi Salah & Hedström, Axel, 2018. "Precious metal returns and oil shocks: A time varying connectedness approach," Resources Policy, Elsevier, vol. 58(C), pages 77-89.
    15. Zhao, Yang & Zhang, Maojun & Pei, Ziting & Nan, Jiangxia, 2023. "The effects of quantitative easing on Bitcoin prices," Finance Research Letters, Elsevier, vol. 57(C).
    16. Yong Shi & Bo Li & Wen Long & Wei Dai, 2022. "Method for Improving the Performance of Technical Analysis Indicators By Neural Network Models," Computational Economics, Springer;Society for Computational Economics, vol. 59(3), pages 1027-1068, March.
    17. Li, Ang & Liu, Mark & Sheather, Simon, 2023. "Predicting stock splits using ensemble machine learning and SMOTE oversampling," Pacific-Basin Finance Journal, Elsevier, vol. 78(C).
    18. Idilbi-Bayaa, Yasmeen & Qadan, Mahmoud, 2022. "What the current yield curve says, and what the future prices of energy do," Resources Policy, Elsevier, vol. 75(C).
    19. Lahiani, Amine & Mefteh-Wali, Salma & Vasbieva, Dinara G., 2021. "The safe-haven property of precious metal commodities in the COVID-19 era," Resources Policy, Elsevier, vol. 74(C).
    20. Wang, Ju-Jie & Wang, Jian-Zhou & Zhang, Zhe-George & Guo, Shu-Po, 2012. "Stock index forecasting based on a hybrid model," Omega, Elsevier, vol. 40(6), pages 758-766.
    21. Lin, Yu & Yan, Yan & Xu, Jiali & Liao, Ying & Ma, Feng, 2021. "Forecasting stock index price using the CEEMDAN-LSTM model," The North American Journal of Economics and Finance, Elsevier, vol. 57(C).
    22. Peng, Xiaofan, 2020. "Do precious metals act as hedges or safe havens for China's financial markets?," Finance Research Letters, Elsevier, vol. 37(C).
    23. Chi-Wei Su & Kai-Hua Wang & Oana-Ramona Lobonţ & Meng Qin, 2023. "Continuous Wavelet Transform of Time-Frequency Analysis Technique to Capture the Dynamic Hedging Ability of Precious Metals," Mathematics, MDPI, vol. 11(5), pages 1-18, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Sen, Chitrakalpa & Chakrabarti, Gagari, 2024. "Beyond the glitter: An empirical assessment of the true risk and hedging role of precious metals," Resources Policy, Elsevier, vol. 96(C).
    2. Lei, Heng & Xue, Minggao & Liu, Huiling & Ye, Jing, 2023. "Precious metal as a safe haven for global ESG stocks: Portfolio implications for socially responsible investing," Resources Policy, Elsevier, vol. 80(C).
    3. Hampl, Filip & Vágnerová Linnertová, Dagmar & Horváth, Matúš, 2024. "Crypto havens during war times? Evidence from the Russian invasion of Ukraine," The North American Journal of Economics and Finance, Elsevier, vol. 71(C).
    4. Mighri, Zouheir & Ragoubi, Hanen & Sarwar, Suleman & Wang, Yihan, 2022. "Quantile Granger causality between US stock market indices and precious metal prices," Resources Policy, Elsevier, vol. 76(C).
    5. Szafranek, Karol & Rubaszek, Michał & Uddin, Gazi Salah, 2024. "The role of uncertainty and sentiment for intraday volatility connectedness between oil and financial markets," Energy Economics, Elsevier, vol. 137(C).
    6. Mensi, Walid & Ali, Syed Riaz Mahmood & Vo, Xuan Vinh & Kang, Sang Hoon, 2022. "Multiscale dependence, spillovers, and connectedness between precious metals and currency markets: A hedge and safe-haven analysis," Resources Policy, Elsevier, vol. 77(C).
    7. Gurdgiev, Constantin & Petrovskiy, Alexander, 2024. "Hedging and safe haven assets dynamics in developed and developing markets: Are different markets that much different?," International Review of Financial Analysis, Elsevier, vol. 92(C).
    8. Cheng, Sheng & Zhang, Zongyou & Cao, Yan, 2022. "Can precious metals hedge geopolitical risk? Fresh sight using wavelet coherence analysis," Resources Policy, Elsevier, vol. 79(C).
    9. Potrykus Marcin & Augustynowicz Urszula, 2024. "The “autumn effect” in the gold market—does it contradict the Adaptive Market Hypothesis?," International Journal of Management and Economics, Warsaw School of Economics, Collegium of World Economy, vol. 60(3), pages 157-172.
    10. Imran, Zulfiqar Ali & Ahad, Muhammad & Shahzad, Khurram & Ahmad, Mobeen & Hameed, Imran, 2024. "Safe haven properties of industrial stocks against ESG in the United States: Portfolio implication for sustainable investments," Energy Economics, Elsevier, vol. 136(C).
    11. Hanif, Waqas & Mensi, Walid & Alomari, Mohammad & Andraz, Jorge Miguel, 2023. "Downside and upside risk spillovers between precious metals and currency markets: Evidence from before and during the COVID-19 crisis," Resources Policy, Elsevier, vol. 81(C).
    12. Lahiani, Amine & Mefteh-Wali, Salma & Vasbieva, Dinara G., 2021. "The safe-haven property of precious metal commodities in the COVID-19 era," Resources Policy, Elsevier, vol. 74(C).
    13. Huang, Jie & Cao, Yu & Zhong, Pengshu, 2022. "Searching for a safe haven to crude oil: Green bond or precious metals?," Finance Research Letters, Elsevier, vol. 50(C).
    14. Das, Debojyoti & Bhatia, Vaneet & Kumar, Surya Bhushan & Basu, Sankarshan, 2022. "Do precious metals hedge crude oil volatility jumps?," International Review of Financial Analysis, Elsevier, vol. 83(C).
    15. Raza, Syed Ali & Masood, Amna & Benkraiem, Ramzi & Urom, Christian, 2023. "Forecasting the volatility of precious metals prices with global economic policy uncertainty in pre and during the COVID-19 period: Novel evidence from the GARCH-MIDAS approach," Energy Economics, Elsevier, vol. 120(C).
    16. Woode, John Kingsley & Owusu Junior, Peterson & Adam, Anokye M., 2024. "Dynamic interdependence structure of industrial metals and the African stock market," Resources Policy, Elsevier, vol. 88(C).
    17. Ahad, Muhammad & Imran, Zulfiqar Ali & Shahzad, Khurram, 2024. "Safe haven between European ESG and energy sector under Russian-Ukraine war: Role of sustainable investments for portfolio diversification," Energy Economics, Elsevier, vol. 138(C).
    18. Yousaf, Imran & Beljid, Makram & Chaibi, Anis & Ajlouni, Ahmed AL, 2022. "Do volatility spillover and hedging among GCC stock markets and global factors vary from normal to turbulent periods? Evidence from the global financial crisis and Covid-19 pandemic crisis," Pacific-Basin Finance Journal, Elsevier, vol. 73(C).
    19. Rehman, Mobeen Ur, 2020. "Do bitcoin and precious metals do any good together? An extreme dependence and risk spillover analysis," Resources Policy, Elsevier, vol. 68(C).
    20. Bianchi, Robert J. & Fan, John Hua & Todorova, Neda, 2020. "Financialization and de-financialization of commodity futures: A quantile regression approach," International Review of Financial Analysis, Elsevier, vol. 68(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:kap:compec:v:64:y:2024:i:6:d:10.1007_s10614-024-10557-w. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.