IDEAS home Printed from https://ideas.repec.org/a/eee/jocoma/v31y2023ics2405851322000502.html
   My bibliography  Save this article

Gold risk premium estimation with machine learning methods

Author

Listed:
  • Díaz, Juan D.
  • Hansen, Erwin
  • Cabrera, Gabriel

Abstract

This paper assesses the accuracy of several machine learning models’ predictions of the gold risk premium when using an extensive set of 186 predictors. We perform an out-of-sample evaluation and consider both statistical and portfolio metrics. Our results show that machine learning methods and forecast combinations have a limited ability to outperform the historical mean when predicting the gold risk premium. Slightly better results are obtained when predictors are used individually. More specifically, we find that several technical indicators (moving average and momentum series) have forecasting power during periods of expansion, while several business cycle variables and geopolitical risk variables help predict the gold risk premium during recessions. An economic evaluation accounting for transaction costs shows that investors using machine learning methods to estimate expected returns on gold should anticipate limited portfolio gains.

Suggested Citation

  • Díaz, Juan D. & Hansen, Erwin & Cabrera, Gabriel, 2023. "Gold risk premium estimation with machine learning methods," Journal of Commodity Markets, Elsevier, vol. 31(C).
  • Handle: RePEc:eee:jocoma:v:31:y:2023:i:c:s2405851322000502
    DOI: 10.1016/j.jcomm.2022.100293
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S2405851322000502
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.jcomm.2022.100293?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. Krauss, Christopher & Do, Xuan Anh & Huck, Nicolas, 2017. "Deep neural networks, gradient-boosted trees, random forests: Statistical arbitrage on the S&P 500," European Journal of Operational Research, Elsevier, vol. 259(2), pages 689-702.
    2. Ivo Welch & Amit Goyal, 2008. "A Comprehensive Look at The Empirical Performance of Equity Premium Prediction," Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1455-1508, July.
    3. Chiang, Thomas C., 2022. "The effects of economic uncertainty, geopolitical risk and pandemic upheaval on gold prices," Resources Policy, Elsevier, vol. 76(C).
    4. Aye, Goodness & Gupta, Rangan & Hammoudeh, Shawkat & Kim, Won Joong, 2015. "Forecasting the price of gold using dynamic model averaging," International Review of Financial Analysis, Elsevier, vol. 41(C), pages 257-266.
    5. Michael W. McCracken & Serena Ng, 2016. "FRED-MD: A Monthly Database for Macroeconomic Research," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 34(4), pages 574-589, October.
    6. 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.
    7. Husted, Lucas & Rogers, John & Sun, Bo, 2020. "Monetary policy uncertainty," Journal of Monetary Economics, Elsevier, vol. 115(C), pages 20-36.
    8. Kandel, Shmuel & Stambaugh, Robert F, 1996. "On the Predictability of Stock Returns: An Asset-Allocation Perspective," Journal of Finance, American Finance Association, vol. 51(2), pages 385-424, June.
    9. Dario Caldara & Matteo Iacoviello, 2022. "Measuring Geopolitical Risk," American Economic Review, American Economic Association, vol. 112(4), pages 1194-1225, April.
    10. Dichtl, Hubert, 2020. "Forecasting excess returns of the gold market: Can we learn from stock market predictions?," Journal of Commodity Markets, Elsevier, vol. 19(C).
    11. , & Stein, Tobias, 2021. "Equity premium predictability over the business cycle," CEPR Discussion Papers 16357, C.E.P.R. Discussion Papers.
    12. Christian Pierdzioch & Marian Risse & Sebastian Rohloff, 2015. "Forecasting gold-price fluctuations: a real-time boosting approach," Applied Economics Letters, Taylor & Francis Journals, vol. 22(1), pages 46-50, January.
    13. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    14. Clark, Todd E. & West, Kenneth D., 2007. "Approximately normal tests for equal predictive accuracy in nested models," Journal of Econometrics, Elsevier, vol. 138(1), pages 291-311, May.
    15. Jonathan Andrew Batten & Brian M. Lucey, 2010. "Volatility in the gold futures market," Applied Economics Letters, Taylor & Francis Journals, vol. 17(2), pages 187-190, January.
    16. Gozgor, Giray & Lau, Chi Keung Marco & Sheng, Xin & Yarovaya, Larisa, 2019. "The role of uncertainty measures on the returns of gold," Economics Letters, Elsevier, vol. 185(C).
    17. Charlotte Christiansen & Maik Schmeling & Andreas Schrimpf, 2012. "A comprehensive look at financial volatility prediction by economic variables," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(6), pages 956-977, September.
    18. Christopher J. Neely & David E. Rapach & Jun Tu & Guofu Zhou, 2014. "Forecasting the Equity Risk Premium: The Role of Technical Indicators," Management Science, INFORMS, vol. 60(7), pages 1772-1791, July.
    19. Joscha Beckmann & Theo Berger & Robert Czudaj, 2019. "Gold price dynamics and the role of uncertainty," Quantitative Finance, Taylor & Francis Journals, vol. 19(4), pages 663-681, April.
    20. Çakmaklı, Cem & van Dijk, Dick, 2016. "Getting the most out of macroeconomic information for predicting excess stock returns," International Journal of Forecasting, Elsevier, vol. 32(3), pages 650-668.
    21. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    22. Kyle Jurado & Sydney C. Ludvigson & Serena Ng, 2015. "Measuring Uncertainty," American Economic Review, American Economic Association, vol. 105(3), pages 1177-1216, March.
    23. Baur, Dirk G. & Smales, Lee A., 2020. "Hedging geopolitical risk with precious metals," Journal of Banking & Finance, Elsevier, vol. 117(C).
    24. Nicolas Huck, 2019. "Large data sets and machine learning: Applications to statistical arbitrage," Post-Print hal-02143971, HAL.
    25. John Y. Campbell & Samuel B. Thompson, 2008. "Predicting Excess Stock Returns Out of Sample: Can Anything Beat the Historical Average?," Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1509-1531, July.
    26. David E. Rapach & Jack K. Strauss & Guofu Zhou, 2010. "Out-of-Sample Equity Premium Prediction: Combination Forecasts and Links to the Real Economy," Review of Financial Studies, Society for Financial Studies, vol. 23(2), pages 821-862, February.
    27. Balcilar, Mehmet & Gupta, Rangan & Pierdzioch, Christian, 2016. "Does uncertainty move the gold price? New evidence from a nonparametric causality-in-quantiles test," Resources Policy, Elsevier, vol. 49(C), pages 74-80.
    28. Gargano, Antonio & Timmermann, Allan, 2014. "Forecasting commodity price indexes using macroeconomic and financial predictors," International Journal of Forecasting, Elsevier, vol. 30(3), pages 825-843.
    29. Nguyen, Duc Binh Benno & Prokopczuk, Marcel & Wese Simen, Chardin, 2019. "The risk premium of gold," Journal of International Money and Finance, Elsevier, vol. 94(C), pages 140-159.
    30. Christian Pierdzioch & Marian Risse & Sebastian Rohloff, 2016. "A boosting approach to forecasting gold and silver returns: economic and statistical forecast evaluation," Applied Economics Letters, Taylor & Francis Journals, vol. 23(5), pages 347-352, March.
    31. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    32. 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.
    33. Hongwei Zhang & Qiang He & Ben Jacobsen & Fuwei Jiang, 2020. "Forecasting stock returns with model uncertainty and parameter instability," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 35(5), pages 629-644, August.
    34. Pierdzioch, Christian & Risse, Marian & Rohloff, Sebastian, 2016. "A quantile-boosting approach to forecasting gold returns," The North American Journal of Economics and Finance, Elsevier, vol. 35(C), pages 38-55.
    35. repec:cii:cepiei:2012-q3-131-4 is not listed on IDEAS
    36. Alois Weigand, 2019. "Machine learning in empirical asset pricing," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 33(1), pages 93-104, March.
    37. Cenesizoglu, Tolga & Timmermann, Allan, 2012. "Do return prediction models add economic value?," Journal of Banking & Finance, Elsevier, vol. 36(11), pages 2974-2987.
    38. Huck, Nicolas, 2019. "Large data sets and machine learning: Applications to statistical arbitrage," European Journal of Operational Research, Elsevier, vol. 278(1), pages 330-342.
    39. Rapach, David & Zhou, Guofu, 2013. "Forecasting Stock Returns," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 328-383, Elsevier.
    40. Hui Zou & Trevor Hastie, 2005. "Addendum: Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(5), pages 768-768, November.
    41. Thai-Ha Le & Youngho Chang, 2012. "Oil Price Shocks and Gold Returns," International Economics, CEPII research center, issue 131, pages 71-104.
    42. Hui Zou & Trevor Hastie, 2005. "Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(2), pages 301-320, April.
    43. 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).
    44. Christian Pierdzioch & Marian Risse, 2020. "Forecasting precious metal returns with multivariate random forests," Empirical Economics, Springer, vol. 58(3), pages 1167-1184, March.
    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. Rangan Gupta & Sayar Karmakar & Christian Pierdzioch, 2022. "Safe Havens, Machine Learning, and the Sources of Geopolitical Risk: A Forecasting Analysis Using Over a Century of Data," Working Papers 202201, University of Pretoria, Department of Economics.
    2. Xue Gong & Weiguo Zhang & Yuan Zhao & Xin Ye, 2023. "Forecasting stock volatility with a large set of predictors: A new forecast combination method," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1622-1647, November.
    3. Zhang, Yaojie & Wahab, M.I.M. & Wang, Yudong, 2023. "Forecasting crude oil market volatility using variable selection and common factor," International Journal of Forecasting, Elsevier, vol. 39(1), pages 486-502.
    4. Xi Dong & Yan Li & David E. Rapach & Guofu Zhou, 2022. "Anomalies and the Expected Market Return," Journal of Finance, American Finance Association, vol. 77(1), pages 639-681, February.
    5. Dichtl, Hubert, 2020. "Forecasting excess returns of the gold market: Can we learn from stock market predictions?," Journal of Commodity Markets, Elsevier, vol. 19(C).
    6. Nonejad, Nima, 2022. "Predicting equity premium out-of-sample by conditioning on newspaper-based uncertainty measures: A comparative study," International Review of Financial Analysis, Elsevier, vol. 83(C).
    7. Niu, Zibo & Wang, Chenlu & Zhang, Hongwei, 2023. "Forecasting stock market volatility with various geopolitical risks categories: New evidence from machine learning models," International Review of Financial Analysis, Elsevier, vol. 89(C).
    8. Gong, Xue & Ye, Xin & Zhang, Weiguo & Zhang, Yue, 2023. "Predicting energy futures high-frequency volatility using technical indicators: The role of interaction," Energy Economics, Elsevier, vol. 119(C).
    9. Risse, Marian, 2019. "Combining wavelet decomposition with machine learning to forecast gold returns," International Journal of Forecasting, Elsevier, vol. 35(2), pages 601-615.
    10. Dominik Wolff & Ulrich Neugebauer, 2019. "Tree-based machine learning approaches for equity market predictions," Journal of Asset Management, Palgrave Macmillan, vol. 20(4), pages 273-288, July.
    11. Zhang, Yaojie & Wang, Yudong, 2023. "Forecasting crude oil futures market returns: A principal component analysis combination approach," International Journal of Forecasting, Elsevier, vol. 39(2), pages 659-673.
    12. Díaz, Juan D. & Hansen, Erwin & Cabrera, Gabriel, 2021. "Economic drivers of commodity volatility: The case of copper," Resources Policy, Elsevier, vol. 73(C).
    13. Ferrer Fernández, María & Henry, Ólan & Pybis, Sam & Stamatogiannis, Michalis P., 2023. "Can we forecast better in periods of low uncertainty? The role of technical indicators," Journal of Empirical Finance, Elsevier, vol. 71(C), pages 1-12.
    14. Giovannelli, Alessandro & Massacci, Daniele & Soccorsi, Stefano, 2021. "Forecasting stock returns with large dimensional factor models," Journal of Empirical Finance, Elsevier, vol. 63(C), pages 252-269.
    15. Mengxi He & Xianfeng Hao & Yaojie Zhang & Fanyi Meng, 2021. "Forecasting stock return volatility using a robust regression model," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1463-1478, December.
    16. Zhang, Yaojie & Ma, Feng & Wang, Yudong, 2019. "Forecasting crude oil prices with a large set of predictors: Can LASSO select powerful predictors?," Journal of Empirical Finance, Elsevier, vol. 54(C), pages 97-117.
    17. Cheng, Xian & Wu, Peng & Liao, Stephen Shaoyi & Wang, Xuelian, 2023. "An integrated model for crude oil forecasting: Causality assessment and technical efficiency," Energy Economics, Elsevier, vol. 117(C).
    18. Costa, Alexandre Bonnet R. & Ferreira, Pedro Cavalcanti G. & Gaglianone, Wagner P. & Guillén, Osmani Teixeira C. & Issler, João Victor & Lin, Yihao, 2021. "Machine learning and oil price point and density forecasting," Energy Economics, Elsevier, vol. 102(C).
    19. Ma, Feng & Liu, Jing & Wahab, M.I.M. & Zhang, Yaojie, 2018. "Forecasting the aggregate oil price volatility in a data-rich environment," Economic Modelling, Elsevier, vol. 72(C), pages 320-332.
    20. Iason Kynigakis & Ekaterini Panopoulou, 2022. "Does model complexity add value to asset allocation? Evidence from machine learning forecasting models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(3), pages 603-639, April.

    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:eee:jocoma:v:31:y:2023:i:c:s2405851322000502. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/jcomm .

    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.