IDEAS home Printed from https://ideas.repec.org/a/eee/eneeco/v147y2025ics0140988325003378.html

Advanced time series forecasting for commodities: Insights from the FEDformer model

Author

Listed:
  • Ge, Lei
  • Huang, Qiwei
  • Zhu, Fengshuang
  • Chen, Shun

Abstract

Forecasting commodity prices is vital for economic policy, especially amid recent geopolitical tensions and market disruptions. In recent years, advanced deep learning models have become particularly effective in this domain. Among these models, RNN-based architectures like LSTM and GRU are known for their strong predictive capabilities. In this paper, we show that the FEDformer model offers superior accuracy in predicting commodity prices when compared not only to other deep learning approaches but also to a standard econometric baseline. The study applies these models to predict six commodity indices: the Bloomberg Commodity Index and its five component indices. The results show that the FEDformer model achieves a reduction in MAE of 38.5%, 56.6%, 34.6% and 29.2% compared to other RNN models and the econometric model. Furthermore, the Wilcoxon signed-rank test also indicates that the FEDformer significantly outperforms other RNN models across all metrics.

Suggested Citation

  • Ge, Lei & Huang, Qiwei & Zhu, Fengshuang & Chen, Shun, 2025. "Advanced time series forecasting for commodities: Insights from the FEDformer model," Energy Economics, Elsevier, vol. 147(C).
  • Handle: RePEc:eee:eneeco:v:147:y:2025:i:c:s0140988325003378
    DOI: 10.1016/j.eneco.2025.108513
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.eneco.2025.108513?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

    for a different version of it.

    References listed on IDEAS

    as
    1. Dooley, Gillian & Lenihan, Helena, 2005. "An assessment of time series methods in metal price forecasting," Resources Policy, Elsevier, vol. 30(3), pages 208-217, September.
    2. Gelos, Gaston & Ustyugova, Yulia, 2017. "Inflation responses to commodity price shocks – How and why do countries differ?," Journal of International Money and Finance, Elsevier, vol. 72(C), pages 28-47.
    3. Wu, Di & Yang, Yuping & Shi, Yi & Xu, Meng & Zou, Wenjie, 2022. "Renewable energy resources, natural resources volatility and economic performance: Evidence from BRICS," Resources Policy, Elsevier, vol. 76(C).
    4. Baumeister, Christiane & Guérin, Pierre, 2021. "A comparison of monthly global indicators for forecasting growth," International Journal of Forecasting, Elsevier, vol. 37(3), pages 1276-1295.
    5. Duc Khuong Nguyen & Thomas Walther, 2020. "Modeling and forecasting commodity market volatility with long‐term economic and financial variables," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(2), pages 126-142, March.
    6. Ozdemir, Ali Can & Buluş, Kurtuluş & Zor, Kasım, 2022. "Medium- to long-term nickel price forecasting using LSTM and GRU networks," Resources Policy, Elsevier, vol. 78(C).
    7. Wenjin Kang & K. Geert Rouwenhorst & Ke Tang, 2020. "A Tale of Two Premiums: The Role of Hedgers and Speculators in Commodity Futures Markets," Journal of Finance, American Finance Association, vol. 75(1), pages 377-417, February.
    8. Li, Li, 2023. "Commodity prices volatility and economic growth: Empirical evidence from natural resources industries of China," Resources Policy, Elsevier, vol. 80(C).
    9. Chang, Ting-Huan & Huang, Chien-Ming & Lee, Ming-Chih, 2009. "Threshold effect of the economic growth rate on the renewable energy development from a change in energy price: Evidence from OECD countries," Energy Policy, Elsevier, vol. 37(12), pages 5796-5802, December.
    10. Bakas, Dimitrios & Triantafyllou, Athanasios, 2019. "Volatility forecasting in commodity markets using macro uncertainty," Energy Economics, Elsevier, vol. 81(C), pages 79-94.
    11. Szarek, Dawid & Bielak, Łukasz & Wyłomańska, Agnieszka, 2020. "Long-term prediction of the metals’ prices using non-Gaussian time-inhomogeneous stochastic process," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 555(C).
    12. Chiroma, Haruna & Abdulkareem, Sameem & Herawan, Tutut, 2015. "Evolutionary Neural Network model for West Texas Intermediate crude oil price prediction," Applied Energy, Elsevier, vol. 142(C), pages 266-273.
    13. Bessembinder, Hendrik & Chan, Kalok, 1992. "Time-varying risk premia and forecastable returns in futures markets," Journal of Financial Economics, Elsevier, vol. 32(2), pages 169-193, October.
    14. Christiane Baumeister & Dimitris Korobilis & Thomas K. Lee, 2022. "Energy Markets and Global Economic Conditions," The Review of Economics and Statistics, MIT Press, vol. 104(4), pages 828-844, October.
    15. Ke Tang & Wei Xiong, 2012. "Index Investment and the Financialization of Commodities," Financial Analysts Journal, Taylor & Francis Journals, vol. 68(6), pages 54-74, November.
    16. Wen, Jun & Mughal, Nafeesa & Kashif, Maryam & Jain, Vipin & Ramos Meza, Carlos Samuel & Cong, Phan The, 2022. "Volatility in natural resources prices and economic performance: Evidence from BRICS economies," Resources Policy, Elsevier, vol. 75(C).
    17. Francesco Ravazzolo & Joaquin Vespignani, 2020. "World steel production: A new monthly indicator of global real economic activity," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 53(2), pages 743-766, May.
    18. Jean-Thomas Bernard & Lynda Khalaf & Maral Kichian & Sebastien Mcmahon, 2008. "Forecasting commodity prices: GARCH, jumps, and mean reversion," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 27(4), pages 279-291.
    19. Herrera, Gabriel Paes & Constantino, Michel & Tabak, Benjamin Miranda & Pistori, Hemerson & Su, Jen-Je & Naranpanawa, Athula, 2019. "Long-term forecast of energy commodities price using machine learning," Energy, Elsevier, vol. 179(C), pages 214-221.
    20. Ahrens, W. Ashley & Sharma, Vijaya R., 1997. "Trends in Natural Resource Commodity Prices: Deterministic or Stochastic?," Journal of Environmental Economics and Management, Elsevier, vol. 33(1), pages 59-74, May.
    21. Ftiti, Zied & Kablan, Sandrine & Guesmi, Khaled, 2016. "What can we learn about commodity and credit cycles? Evidence from African commodity-exporting countries," Energy Economics, Elsevier, vol. 60(C), pages 313-324.
    22. 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.
    23. Nikolay Gospodinov & Serena Ng, 2013. "Commodity Prices, Convenience Yields, and Inflation," The Review of Economics and Statistics, MIT Press, vol. 95(1), pages 206-219, March.
    24. Chambers, Marcus J & Bailey, Roy E, 1996. "A Theory of Commodity Price Fluctuations," Journal of Political Economy, University of Chicago Press, vol. 104(5), pages 924-957, October.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hong, Jun-Tao & Han, Shuang & Yan, Jie & Liu, Yong-Qian, 2025. "Dual-path frequency Mamba-Transformer model for wind power forecasting," Energy, Elsevier, vol. 332(C).

    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. Hachmi Ben Ameur & Sahbi Boubaker & Zied Ftiti & Wael Louhichi & Kais Tissaoui, 2024. "Forecasting commodity prices: empirical evidence using deep learning tools," Annals of Operations Research, Springer, vol. 339(1), pages 349-367, August.
    2. Massimo Guidolin & Manuela Pedio, 2022. "Switching Coefficients or Automatic Variable Selection: An Application in Forecasting Commodity Returns," Forecasting, MDPI, vol. 4(1), pages 1-32, February.
    3. Dudda, Tom L. & Klein, Tony & Nguyen, Duc Khuong & Walther, Thomas, 2022. "Common Drivers of Commodity Futures?," QBS Working Paper Series 2022/05, Queen's University Belfast, Queen's Business School.
    4. Stolbov, Mikhail & Shchepeleva, Maria, 2022. "Modeling global real economic activity: Evidence from variable selection across quantiles," The Journal of Economic Asymmetries, Elsevier, vol. 25(C).
    5. Tapia, Carlos & Coulton, Jeff & Saydam, Serkan, 2020. "Using entropy to assess dynamic behaviour of long-term copper price," Resources Policy, Elsevier, vol. 66(C).
    6. Rad, Hossein & Low, Rand Kwong Yew & Miffre, Joëlle & Faff, Robert, 2023. "The commodity risk premium and neural networks," Journal of Empirical Finance, Elsevier, vol. 74(C).
    7. Guo, Yangli & Ma, Feng & Li, Haibo & Lai, Xiaodong, 2022. "Oil price volatility predictability based on global economic conditions," International Review of Financial Analysis, Elsevier, vol. 82(C).
    8. Yao, Wei, 2025. "The US Quantitative Easing Monetary Policy and Commodities’ Prices," Other publications TiSEM 185d14d3-9dc2-4276-82ec-e, Tilburg University, School of Economics and Management.
    9. Arabinda Basistha & Richard Startz, 2024. "Measuring persistent global economic factors with output, commodity price, and commodity currency data," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(7), pages 2860-2885, November.
    10. Kliber, Agata & Łęt, Blanka & Řezáč, Pavel, 2024. "Can a boost in oil prices suspend the evolution of the green transportation market? Relationships between green indices and Brent oil," Energy, Elsevier, vol. 295(C).
    11. Wen, Chufu & Zhu, Haoyang & Dai, Zhifeng, 2023. "Forecasting commodity prices returns: The role of partial least squares approach," Energy Economics, Elsevier, vol. 125(C).
    12. Afees A. Salisu & Rangan Gupta & Elie Bouri & Qiang Ji, 2020. "Forecasting Oil Volatility Using a GARCH-MIDAS Approach: The Role of Global Economic Conditions," Working Papers 202051, University of Pretoria, Department of Economics.
    13. Papenfuß, Patric & Schischke, Amelie & Rathgeber, Andreas, 2025. "Factors of predictive power for metal commodities," The North American Journal of Economics and Finance, Elsevier, vol. 76(C).
    14. Nonejad, Nima, 2021. "The price of crude oil and (conditional) out-of-sample predictability of world industrial production," Journal of Commodity Markets, Elsevier, vol. 23(C).
    15. Just, Małgorzata & Kliber, Agata & Echaust, Krzysztof, 2025. "Return connectedness between energy commodities and stock markets: New evidence from 31 energy sector companies in Europe," International Review of Financial Analysis, Elsevier, vol. 103(C).
    16. Martin Enilov, 2024. "The predictive power of commodity prices for future economic growth: Evaluating the role of economic development," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 29(3), pages 3040-3062, July.
    17. Tapia Cortez, Carlos A. & Hitch, Michael & Sammut, Claude & Coulton, Jeff & Shishko, Robert & Saydam, Serkan, 2018. "Determining the embedding parameters governing long-term dynamics of copper prices," Chaos, Solitons & Fractals, Elsevier, vol. 111(C), pages 186-197.
    18. Massimo Guidolin & Manuela Pedio, 2020. "Distilling Large Information Sets to Forecast Commodity Returns: Automatic Variable Selection or HiddenMarkov Models?," BAFFI CAREFIN Working Papers 20140, BAFFI CAREFIN, Centre for Applied Research on International Markets Banking Finance and Regulation, Universita' Bocconi, Milano, Italy.
    19. Fameliti Stavroula & Skintzi Vasiliki, 2024. "Macroeconomic attention and commodity market volatility," Empirical Economics, Springer, vol. 67(5), pages 1967-2007, November.
    20. Byrne, Joseph P. & Sakemoto, Ryuta, 2025. "Commodity correlation risk," Journal of Commodity Markets, Elsevier, vol. 38(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:eneeco:v:147:y:2025:i:c:s0140988325003378. 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/eneco .

    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.