IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i7p1039-d1367467.html
   My bibliography  Save this article

Hybrid DE-Optimized GPR and NARX/SVR Models for Forecasting Gold Spot Prices: A Case Study of the Global Commodities Market

Author

Listed:
  • Esperanza García-Gonzalo

    (Department of Mathematics, Faculty of Sciences, University of Oviedo, 33007 Oviedo, Spain)

  • Paulino José García-Nieto

    (Department of Mathematics, Faculty of Sciences, University of Oviedo, 33007 Oviedo, Spain)

  • Gregorio Fidalgo Valverde

    (School of Mining, Energy and Materials Engineering, University of Oviedo, 33004 Oviedo, Spain)

  • Pedro Riesgo Fernández

    (School of Mining, Energy and Materials Engineering, University of Oviedo, 33004 Oviedo, Spain)

  • Fernando Sánchez Lasheras

    (Department of Mathematics, Faculty of Sciences, University of Oviedo, 33007 Oviedo, Spain)

  • Sergio Luis Suárez Gómez

    (Department of Mathematics, Faculty of Sciences, University of Oviedo, 33007 Oviedo, Spain)

Abstract

In this work, we highlight three different techniques for automatically constructing the dataset for a time-series study: the direct multi-step, the recursive multi-step, and the direct–recursive hybrid scheme. The nonlinear autoregressive with exogenous variable support vector regression (NARX SVR) and the Gaussian process regression (GPR), combined with the differential evolution (DE) for parameter tuning, are the two novel hybrid methods used in this study. The hyper-parameter settings used in the GPR and SVR training processes as part of this optimization technique DE significantly affect how accurate the regression is. The accuracy in the prediction of DE/GPR and DE/SVR, with or without NARX, is examined in this article using data on spot gold prices from the New York Commodities Exchange (COMEX) that have been made publicly available. According to RMSE statistics, the numerical results obtained demonstrate that NARX DE/SVR achieved the best results.

Suggested Citation

  • Esperanza García-Gonzalo & Paulino José García-Nieto & Gregorio Fidalgo Valverde & Pedro Riesgo Fernández & Fernando Sánchez Lasheras & Sergio Luis Suárez Gómez, 2024. "Hybrid DE-Optimized GPR and NARX/SVR Models for Forecasting Gold Spot Prices: A Case Study of the Global Commodities Market," Mathematics, MDPI, vol. 12(7), pages 1-18, March.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:7:p:1039-:d:1367467
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/7/1039/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/7/1039/
    Download Restriction: no
    ---><---

    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. Thi Hong Van Hoang & Zhenzhen Zhu & Bing Xiao & Wing‐Keung Wong, 2020. "The seasonality of gold prices in China does the risk‐aversion level matter?," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 60(3), pages 2617-2664, September.
    3. Yaya, OlaOluwa S. & Vo, Xuan Vinh & Olayinka, Hammed A., 2021. "Gold and silver prices, their stocks and market fear gauges: Testing fractional cointegration using a robust approach," Resources Policy, Elsevier, vol. 72(C).
    4. Bouoiyour, Jamal & Selmi, Refk & Wohar, Mark E., 2018. "Measuring the response of gold prices to uncertainty: An analysis beyond the mean," Economic Modelling, Elsevier, vol. 75(C), pages 105-116.
    5. Tilton, John E. & Lagos, Gustavo, 2007. "Assessing the long-run availability of copper," Resources Policy, Elsevier, vol. 32(1-2), pages 19-23.
    6. Ma, Weimin & Zhu, Xiaoxi & Wang, Miaomiao, 2013. "Forecasting iron ore import and consumption of China using grey model optimized by particle swarm optimization algorithm," Resources Policy, Elsevier, vol. 38(4), pages 613-620.
    7. Mongi Arfaoui & Aymen Ben Rejeb, 2017. "Oil, gold, US dollar and stock market interdependencies: a global analytical insight," European Journal of Management and Business Economics, Emerald Group Publishing Limited, vol. 26(3), pages 278-293, October.
    8. Bilgin, Mehmet Huseyin & Gozgor, Giray & Lau, Chi Keung Marco & Sheng, Xin, 2018. "The effects of uncertainty measures on the price of gold," International Review of Financial Analysis, Elsevier, vol. 58(C), pages 1-7.
    9. Agyei-Ampomah, Sam & Gounopoulos, Dimitrios & Mazouz, Khelifa, 2014. "Does gold offer a better protection against losses in sovereign debt bonds than other metals?," Journal of Banking & Finance, Elsevier, vol. 40(C), pages 507-521.
    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. Cui, Moyang & Wong, Wing-Keung & Wisetsri, Worakamol & Mabrouk, Fatma & Muda, Iskandar & Li, Zeyun & Hassan, Marria, 2023. "Do oil, gold and metallic price volatilities prove gold as a safe haven during COVID-19 pandemic? Novel evidence from COVID-19 data," Resources Policy, Elsevier, vol. 80(C).
    2. Bonato, Matteo & Gupta, Rangan & Lau, Chi Keung Marco & Wang, Shixuan, 2020. "Moments-based spillovers across gold and oil markets," Energy Economics, Elsevier, vol. 89(C).
    3. Tanin, Tauhidul Islam & Sarker, Ashutosh & Brooks, Robert, 2021. "Do currency exchange rates impact gold prices? New evidence from the ongoing COVID-19 period," International Review of Financial Analysis, Elsevier, vol. 77(C).
    4. Asai, Manabu & Gupta, Rangan & McAleer, Michael, 2020. "Forecasting volatility and co-volatility of crude oil and gold futures: Effects of leverage, jumps, spillovers, and geopolitical risks," International Journal of Forecasting, Elsevier, vol. 36(3), pages 933-948.
    5. Chi-Wei Su & Lidong Pang & Muhammad Umar & Oana-Ramona Lobonţ, 2022. "Will Gold Always Shine amid World Uncertainty?," Emerging Markets Finance and Trade, Taylor & Francis Journals, vol. 58(12), pages 3425-3438, September.
    6. Tanin, Tauhidul Islam & Sarker, Ashutosh & Brooks, Robert & Do, Hung Xuan, 2022. "Does oil impact gold during COVID-19 and three other recent crises?," Energy Economics, Elsevier, vol. 108(C).
    7. Tanin, Tauhidul Islam & Sarker, Ashutosh & Hammoudeh, Shawkat & Shahbaz, Muhammad, 2021. "Do volatility indices diminish gold's appeal as a safe haven to investors before and during the COVID-19 pandemic?," Journal of Economic Behavior & Organization, Elsevier, vol. 191(C), pages 214-235.
    8. Su, Chi-Wei & Pang, Lidong & Umar, Muhammad & Lobonţ, Oana-Ramona & Moldovan, Nicoleta-Claudia, 2022. "Does gold's hedging uncertainty aura fade away?," Resources Policy, Elsevier, vol. 77(C).
    9. Yilanci, Veli & Kilci, Esra N., 2021. "The role of economic policy uncertainty and geopolitical risk in predicting prices of precious metals: Evidence from a time-varying bootstrap causality test," Resources Policy, Elsevier, vol. 72(C).
    10. Mensi, Walid & Sensoy, Ahmet & Aslan, Aylin & Kang, Sang Hoon, 2019. "High-frequency asymmetric volatility connectedness between Bitcoin and major precious metals markets," The North American Journal of Economics and Finance, Elsevier, vol. 50(C).
    11. Song, Yu & Song, Yanqiu & Chang, Shiwei & He, Lele, 2024. "The role of gold in terrorism: Risk aversion or financing source?," Resources Policy, Elsevier, vol. 95(C).
    12. Chiang, Thomas C., 2022. "The effects of economic uncertainty, geopolitical risk and pandemic upheaval on gold prices," Resources Policy, Elsevier, vol. 76(C).
    13. Gkillas, Konstantinos & Gupta, Rangan & Pierdzioch, Christian, 2020. "Forecasting realized gold volatility: Is there a role of geopolitical risks?," Finance Research Letters, Elsevier, vol. 35(C).
    14. Boubaker, Heni & Cunado, Juncal & Gil-Alana, Luis A. & Gupta, Rangan, 2020. "Global crises and gold as a safe haven: Evidence from over seven and a half centuries of data," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 540(C).
    15. Abdulsalam Abidemi Sikiru & Afees A. Salisu, 2022. "Assessing the hedging potential of gold and other precious metals against uncertainty due to epidemics and pandemics," Quality & Quantity: International Journal of Methodology, Springer, vol. 56(4), pages 2199-2214, August.
    16. Takashi Miyazaki, 2019. "Clarifying the Response of Gold Return to Financial Indicators: An Empirical Comparative Analysis Using Ordinary Least Squares, Robust and Quantile Regressions," JRFM, MDPI, vol. 12(1), pages 1-18, February.
    17. Luo, Jiawen & Demirer, Riza & Gupta, Rangan & Ji, Qiang, 2022. "Forecasting oil and gold volatilities with sentiment indicators under structural breaks," Energy Economics, Elsevier, vol. 105(C).
    18. Rangan Gupta & Sayar Karmakar & Christian Pierdzioch, 2024. "Safe Havens, Machine Learning, and the Sources of Geopolitical Risk: A Forecasting Analysis Using Over a Century of Data," Computational Economics, Springer;Society for Computational Economics, vol. 64(1), pages 487-513, July.
    19. Hoque, Mohammad Enamul & Soo-Wah, Low & Tiwari, Aviral Kumar & Akhter, Tahmina, 2023. "Time and frequency domain connectedness and spillover among categorical and regional financial stress, gold and bitcoin market," Resources Policy, Elsevier, vol. 85(PA).
    20. Qin, Meng & Su, Chi-Wei & Tao, Ran & Umar, Muhammad, 2020. "Is factionalism a push for gold price?," Resources Policy, Elsevier, vol. 67(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:gam:jmathe:v:12:y:2024:i:7:p:1039-:d:1367467. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.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.