Skip to main content

Time Series Forecasting of Gold Prices with the Help of Its Decomposition and Multivariate Adaptive Regression Splines

  • Conference paper
  • First Online:
16th International Conference on Soft Computing Models in Industrial and Environmental Applications (SOCO 2021) (SOCO 2021)

Abstract

This research presents a methodology for the forecasting of gold prices using as input information the values of this metal in the previous months and the values of others like potash, copper, lead, tin, nickel, aluminum, iron ore, zinc, platinum and silver. The proposed methodology is based on the decomposition of each of the time series in their trend, seasonal and random components and the use of the trend information as independent variables in a multivariate adaptive regression splines model. The performance of the method was tested with the help of a database of the monthly prices of the aforementioned raw materials. The information available starts in January 1960 and goes up to September 2020. The prediction of gold prices from October 2019 to September 2020 showed in the month-by-month prediction model a mean absolute deviation (MAD) of 67.6022, mean square error (MSE) of 9403.1882, root mean square error (RMSE) of 96.9700 and mean absolute percentage error (MAPE) of 3.8803%. In the case of forecasts up to 12 months ahead, the results were a MAD of 293.4832, MSE of 284499.4718, root mean square error of 533.3849 and MAPE of 15.7366%. The results obtained were compared with those given by a multivariate adaptive regression model that made use of the original time series as input data.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. World Bank. Gold (UK), 99.5% fine, London afternoon fixing, average of daily rates. Bloomberg; Kitco.com; International Monetary Fund, International Financial Statistics; London Bullion Market; Metals Week; Platts Metals Week; Shearson Lehman Brothers, Metal Market Weekly Review; Thomson Reuters Datastream; World Bank (2021). https://thedocs.worldbank.org/en/doc/5d903e848db1d1b83e0ec8f744e55570-0350012021/related/CMO-Historical-Data-Monthly.xlsx. Accessed 26 April 2021

  2. Buccioli, A., Kokholm, T.: Shock waves and golden shores: the asymmetric interaction between gold prices and the stock market. SSRN J. (2019). https://doi.org/10.2139/ssrn.3437640

    Article  Google Scholar 

  3. Jain, A., Biswal, P.C.: Dynamic linkages among oil price, gold price, exchange rate, and stock market in India. Resour. Policy 49, 179–185 (2016). https://doi.org/10.1016/j.resourpol.2016.06.001

    Article  Google Scholar 

  4. Selmi, R., Mensi, W., Hammoudeh, S., Bouoiyour, J.: Is Bitcoin a hedge, a safe haven or a diversifier for oil price movements? A comparison with gold. . Energy Econ. 74, 787–801 (2018). https://doi.org/10.1016/j.eneco.2018.07.007

    Article  Google Scholar 

  5. Wang, X., Ma, Y., Li, W.: The prediction of gold futures prices at the Shanghai futures exchange based on the MEEMD-CS-Elman model. SAGE Open. 11 (2021). https://doi.org/10.1177/21582440211001866

  6. Zhang, P., Ci, B.: Deep belief network for gold price forecasting. Resour. Policy. 69, 101806 (2020). https://doi.org/10.1016/j.resourpol.2020.101806

  7. Alameer, Z., Elaziz, M.A., Ewees, A.A., Ye, H., Jianhua, Z.: Forecasting gold price fluctuations using improved multilayer perceptron neural network and whale optimization algorithm. Resour. Policy 61, 250–260 (2019). https://doi.org/10.1016/j.resourpol.2019.02.014

    Article  Google Scholar 

  8. Kristjanpoller, W., Minutolo, M.C.: Gold price volatility: a forecasting approach using the artificial neural network–GARCH model. Expert Syst. Appl. 42, 7245–7251 (2015). https://doi.org/10.1016/j.eswa.2015.04.058

    Article  Google Scholar 

  9. Parisi, A., Parisi, F., Díaz, D.: Forecasting gold price changes: rolling and recursive neural network models. J. Multinatl. Financ. Manag. 18, 477–487 (2008). https://doi.org/10.1016/j.mulfin.2007.12.002

    Article  Google Scholar 

  10. Jianwei, E., Ye, J., Jin, H.: A novel hybrid model on the prediction of time series and its application for the gold price analysis and forecasting. Phys. A: Stat. Mech. Appl. 527, 121454 (2019). https://doi.org/10.1016/j.physa.2019.121454.

  11. Rounaghi, M.M., Abbaszadeh, M.R., Arashi, M.: Stock price forecasting for companies listed on Tehran stock exchange using multivariate adaptive regression splines model and semi-parametric splines technique. Phys. A: Stat. Mech. Appl. 438, 625–633 (2015). https://doi.org/10.1016/j.physa.2015.07.021

    Article  Google Scholar 

  12. Wynn, H.P.: The Advanced Theory of Statistics, vol. 3, 4th edn. Kendall, S.M., Stuart, A., Ord, J.K.: High Wycombe: Charles Griffin, 1983. Price: £37.50. Pages: 780. J. Forecast. 4, 315–315 (1985). https://doi.org/10.1002/for.3980040310.

  13. R Core Team: R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna (2020)

    Google Scholar 

  14. Friedman, J.H.: Multivariate adaptive regression splines. Ann. Statist. 19 (1991). https://doi.org/10.1214/aos/1176347963

  15. De Andrés, J., Sánchez-Lasheras, F., Lorca, P., de Cos Juez, F.J.: A hybrid device of self organizing maps (SOM) and multivariate adaptive regression splines (MARS) for the forecasting of firms’ bankruptcy. J. Account. Manag. Inf. Syst. 10(3), 351–374 (2011)

    Google Scholar 

  16. García Nieto, P.J., Alonso Fernández, J.R., Sánchez Lasheras, F., de Cos Juez, F.J., Díaz Muñiz, C.: A new improved study of cyanotoxins presence from experimental cyanobacteria concentrations in the Trasona reservoir (Northern Spain) using the MARS technique. Sci. Total Environ. 430, 88–92 (2012). https://doi.org/10.1016/j.scitotenv.2012.04.068

    Article  Google Scholar 

  17. Lasheras, F., Nieto, P., de Cos Juez, F., Bayón, R., Suárez, V.: A hybrid PCA-CART-MARS-based prognostic approach of the remaining useful Life for aircraft engines. Sensors 15, 7062–7083 (2015). https://doi.org/10.3390/s150307062

    Article  Google Scholar 

  18. Pérez-Pevida, E., et al.: Biomechanical consequences of the elastic properties of dental implant alloys on the supporting bone: finite element analysis. Biomed. Res. Int. 2016, 1–9 (2016). https://doi.org/10.1155/2016/1850401

    Article  Google Scholar 

  19. Krzemień, A., Riesgo Fernández, P., Suárez Sánchez, A., Sánchez Lasheras, F.: Forecasting European thermal coal spot prices. J. Sustain. Min. 14, 203–210 (2015). https://doi.org/10.1016/j.jsm.2016.04.002

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fernando Sánchez Lasheras .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Lasheras, F., Nieto, P., García-Gonzalo, E., Valverde, G., Krzemień, A. (2022). Time Series Forecasting of Gold Prices with the Help of Its Decomposition and Multivariate Adaptive Regression Splines. In: Sanjurjo González, H., Pastor López, I., García Bringas, P., Quintián, H., Corchado, E. (eds) 16th International Conference on Soft Computing Models in Industrial and Environmental Applications (SOCO 2021). SOCO 2021. Advances in Intelligent Systems and Computing, vol 1401. Springer, Cham. https://doi.org/10.1007/978-3-030-87869-6_13

Download citation

Publish with us

Policies and ethics