IDEAS home Printed from https://ideas.repec.org/a/gam/jijfss/v12y2024i2p34-d1366740.html
   My bibliography  Save this article

Forecasting Selected Commodities’ Prices with the Bayesian Symbolic Regression

Author

Listed:
  • Krzysztof Drachal

    (Faculty of Economic Sciences, University of Warsaw, 00-241 Warszawa, Poland)

  • Michał Pawłowski

    (Faculty of Economic Sciences, University of Warsaw, 00-241 Warszawa, Poland)

Abstract

This study firstly applied a Bayesian symbolic regression (BSR) to the forecasting of numerous commodities’ prices (spot-based ones). Moreover, some features and an initial specification of the parameters of the BSR were analysed. The conventional approach to symbolic regression, based on genetic programming, was also used as a benchmark tool. Secondly, various other econometric methods dealing with variable uncertainty were estimated including Bayesian Model Averaging, Dynamic Model Averaging, LASSO, ridge, elastic net, and least-angle regressions, etc. Therefore, this study reports a concise and uniform comparison of an application of several popular econometric models to forecasting the prices of numerous commodities. Robustness checks and statistical tests were performed to strengthen the obtained conclusions. Monthly data beginning from January 1988 and ending in August 2021 were analysed.

Suggested Citation

  • Krzysztof Drachal & Michał Pawłowski, 2024. "Forecasting Selected Commodities’ Prices with the Bayesian Symbolic Regression," IJFS, MDPI, vol. 12(2), pages 1-56, March.
  • Handle: RePEc:gam:jijfss:v:12:y:2024:i:2:p:34-:d:1366740
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7072/12/2/34/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7072/12/2/34/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Büyükşahin, Bahattin & Robe, Michel A., 2014. "Speculators, commodities and cross-market linkages," Journal of International Money and Finance, Elsevier, vol. 42(C), pages 38-70.
    2. Mark F. J. Steel, 2020. "Model Averaging and Its Use in Economics," Journal of Economic Literature, American Economic Association, vol. 58(3), pages 644-719, September.
    3. Li, Raymond & Leung, Guy C.K., 2011. "The integration of China into the world crude oil market since 1998," Energy Policy, Elsevier, vol. 39(9), pages 5159-5166, September.
    4. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    5. Irwin, Scott H. & Sanders, Dwight R. & Merrin, Robert P., 2009. "Devil or Angel? The Role of Speculation in the Recent Commodity Price Boom (and Bust)," Journal of Agricultural and Applied Economics, Southern Agricultural Economics Association, vol. 41(2), August.
    6. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    7. Shiu‐Sheng Chen, 2016. "Commodity prices and related equity prices," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 49(3), pages 949-967, August.
    8. Bekiros, Stelios & Gupta, Rangan & Paccagnini, Alessia, 2015. "Oil price forecastability and economic uncertainty," Economics Letters, Elsevier, vol. 132(C), pages 125-128.
    9. Kaufmann, Robert K., 2011. "The role of market fundamentals and speculation in recent price changes for crude oil," Energy Policy, Elsevier, vol. 39(1), pages 105-115, January.
    10. Kunlapath Sukcharoen & David Leatham, 2018. "Analyzing Extreme Comovements in Agricultural and Energy Commodity Markets Using a Regular Vine Copula Method," International Journal of Energy Economics and Policy, Econjournals, vol. 8(5), pages 193-201.
    11. repec:ipg:wpaper:2014-569 is not listed on IDEAS
    12. Baomin Dong & Xuefeng Li & Boqiang Lin, 2010. "Forecasting Long‐Run Coal Price in China: A Shifting Trend Time‐Series Approach," Review of Development Economics, Wiley Blackwell, vol. 14(3), pages 499-519, August.
    13. Atil, Ahmed & Lahiani, Amine & Nguyen, Duc Khuong, 2014. "Asymmetric and nonlinear pass-through of crude oil prices to gasoline and natural gas prices," Energy Policy, Elsevier, vol. 65(C), pages 567-573.
    14. Pincheira-Brown, Pablo & Bentancor, Andrea & Hardy, Nicolás & Jarsun, Nabil, 2022. "Forecasting fuel prices with the Chilean exchange rate: Going beyond the commodity currency hypothesis," Energy Economics, Elsevier, vol. 106(C).
    15. Xu, Yang & Han, Liyan & Wan, Li & Yin, Libo, 2019. "Dynamic link between oil prices and exchange rates: A non-linear approach," Energy Economics, Elsevier, vol. 84(C).
    16. Ouyang, Ruolan & Zhang, Xuan, 2020. "Financialization of agricultural commodities: Evidence from China," Economic Modelling, Elsevier, vol. 85(C), pages 381-389.
    17. Luciana Juvenal & Ivan Petrella, 2015. "Speculation in the Oil Market," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 30(4), pages 621-649, June.
    18. Working, Holbrook, 1960. "Speculation on Hedging Markets," Food Research Institute Studies, Stanford University, Food Research Institute, vol. 1(2), pages 1-36.
    19. Marcelo C. Medeiros & Gabriel F. R. Vasconcelos & Álvaro Veiga & Eduardo Zilberman, 2021. "Forecasting Inflation in a Data-Rich Environment: The Benefits of Machine Learning Methods," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(1), pages 98-119, January.
    20. Rodrigo da Silva Souza & Leonardo B. de Mattos & João E. de Lima, 2021. "Commodity prices and the Brazilian real exchange rate," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(2), pages 3152-3172, April.
    21. Mostafa, Mohamed M. & El-Masry, Ahmed A., 2016. "Oil price forecasting using gene expression programming and artificial neural networks," Economic Modelling, Elsevier, vol. 54(C), pages 40-53.
    22. Harvey, David & Leybourne, Stephen & Newbold, Paul, 1997. "Testing the equality of prediction mean squared errors," International Journal of Forecasting, Elsevier, vol. 13(2), pages 281-291, June.
    23. Jesus Crespo Cuaresma & Jaroslava Hlouskova & Michael Obersteiner, 2018. "Fundamentals, speculation or macroeconomic conditions? Modelling and forecasting Arabica coffee prices," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 45(4), pages 583-615.
    24. Lutz Kilian & Daniel P. Murphy, 2014. "The Role Of Inventories And Speculative Trading In The Global Market For Crude Oil," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(3), pages 454-478, April.
    25. Mu, Xiaoyi, 2007. "Weather, storage, and natural gas price dynamics: Fundamentals and volatility," Energy Economics, Elsevier, vol. 29(1), pages 46-63, January.
    26. Mark W. Watson & James H. Stock, 2004. "Combination forecasts of output growth in a seven-country data set," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 23(6), pages 405-430.
    27. Baomin Dong & Xuefeng Li & Boqiang Lin, 2010. "Forecasting Long-Run Coal Price in China: A Shifting Trend Time-Series Approach," Review of Development Economics, Wiley Blackwell, vol. 14(s1), pages 499-519, August.
    28. Eyup Dogan, 2016. "The Relationship between Economic Growth, Energy Consumption and Trade," Bulletin of Energy Economics (BEE), The Economics and Social Development Organization (TESDO), vol. 4(1), pages 70-80, March.
    29. Scott C. Linn & Zhen Zhu, 2004. "Natural gas prices and the gas storage report: Public news and volatility in energy futures markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 24(3), pages 283-313, 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. Krzysztof Drachal, 2022. "Forecasting the Crude Oil Spot Price with Bayesian Symbolic Regression," Energies, MDPI, vol. 16(1), pages 1-29, December.
    2. Drachal, Krzysztof, 2018. "Comparison between Bayesian and information-theoretic model averaging: Fossil fuels prices example," Energy Economics, Elsevier, vol. 74(C), pages 208-251.
    3. Lang, Korbinian & Auer, Benjamin R., 2020. "The economic and financial properties of crude oil: A review," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    4. Wei, Yu & Liu, Jing & Lai, Xiaodong & Hu, Yang, 2017. "Which determinant is the most informative in forecasting crude oil market volatility: Fundamental, speculation, or uncertainty?," Energy Economics, Elsevier, vol. 68(C), pages 141-150.
    5. Boyd, Naomi E. & Harris, Jeffrey H. & Li, Bingxin, 2018. "An update on speculation and financialization in commodity markets," Journal of Commodity Markets, Elsevier, vol. 10(C), pages 91-104.
    6. Drachal, Krzysztof, 2021. "Forecasting selected energy commodities prices with Bayesian dynamic finite mixtures," Energy Economics, Elsevier, vol. 99(C).
    7. Wang, Yudong & Liu, Li & Diao, Xundi & Wu, Chongfeng, 2015. "Forecasting the real prices of crude oil under economic and statistical constraints," Energy Economics, Elsevier, vol. 51(C), pages 599-608.
    8. Morana, Claudio, 2013. "Oil price dynamics, macro-finance interactions and the role of financial speculation," Journal of Banking & Finance, Elsevier, vol. 37(1), pages 206-226.
    9. Gogolin, Fabian & Kearney, Fearghal, 2016. "Does speculation impact what factors determine oil futures prices?," Economics Letters, Elsevier, vol. 144(C), pages 119-122.
    10. Lan Bai & Xiafei Li & Yu Wei & Guiwu Wei, 2022. "Does crude oil futures price really help to predict spot oil price? New evidence from density forecasting," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(3), pages 3694-3712, July.
    11. Liu, Li & Wang, Yudong & Wu, Chongfeng & Wu, Wenfeng, 2016. "Disentangling the determinants of real oil prices," Energy Economics, Elsevier, vol. 56(C), pages 363-373.
    12. Filippo Natoli, 2018. "Analyzing the structural transformation of commodity markets: financialization revisited," Questioni di Economia e Finanza (Occasional Papers) 419, Bank of Italy, Economic Research and International Relations Area.
    13. Dedi, Valentina & Mandilaras, Alex, 2022. "Trader positions and the price of oil in the futures market," International Review of Economics & Finance, Elsevier, vol. 82(C), pages 448-460.
    14. Bassam Fattouh, Lutz Kilian, and Lavan Mahadeva, 2013. "The Role of Speculation in Oil Markets: What Have We Learned So Far?," The Energy Journal, International Association for Energy Economics, vol. 0(Number 3).
    15. Filippo Lechthaler & Lisa Leinert, 2019. "Moody oil: What is driving the crude oil price?," Empirical Economics, Springer, vol. 57(5), pages 1547-1578, November.
    16. Yin, Libo & Zhou, Yimin, 2016. "What drives long-term oil market volatility? Fundamentals versus speculation," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 10, pages 1-26.
    17. Robert Socha & Piotr Wdowiński, 2018. "Crude oil price and speculative activity: a cointegration analysis," Central European Journal of Economic Modelling and Econometrics, Central European Journal of Economic Modelling and Econometrics, vol. 10(3), pages 263-304, September.
    18. Ing-Haw Cheng & Wei Xiong, 2014. "Financialization of Commodity Markets," Annual Review of Financial Economics, Annual Reviews, vol. 6(1), pages 419-441, December.
    19. Bonnier, Jean-Baptiste, 2022. "Forecasting crude oil volatility with exogenous predictors: As good as it GETS?," Energy Economics, Elsevier, vol. 111(C).
    20. Sung Je Byun, 2017. "Speculation in Commodity Futures Markets, Inventories and the Price of Crude Oil," The Energy Journal, International Association for Energy Economics, vol. 0(Number 5).

    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:jijfss:v:12:y:2024:i:2:p:34-:d:1366740. 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.