IDEAS home Printed from https://ideas.repec.org/a/spr/decfin/v44y2021i2d10.1007_s10203-021-00354-7.html
   My bibliography  Save this article

A machine learning-based price state prediction model for agricultural commodities using external factors

Author

Listed:
  • Prilly Oktoviany

    (Fraunhofer ITWM)

  • Robert Knobloch

    (Walbing Technologies GmbH)

  • Ralf Korn

    (Fraunhofer ITWM
    TU Kaiserslautern)

Abstract

In recent times of noticeable climate change the consideration of external factors, such as weather and economic key figures, becomes even more crucial for a proper valuation of derivatives written on agricultural commodities. The occurrence of remarkable price changes as a result of severe changes in these factors motivates the introduction of different price states, each describing different dynamics of the price process. In order to include external factors we propose a two-step hybrid model based on machine learning methods for clustering and classification. First, we assign price states to historical prices using K-means clustering. These price states are also assigned to the corresponding data of external factors. Second, predictions of future price states are then obtained from short-term predictions of the external factors by means of either K-nearest neighbors or random forest classification. We apply our model to real corn futures data and generate price scenarios via a Monte Carlo simulation, which we compare to Sørensen (J Futures Mark 22(5):393–426, 2002). Thereby we obtain a better approximation of the real futures prices by the simulated futures prices regarding the error measures MAE, RMSE and MAPE. From a practical point of view, these simulations can be used to support the assessment of price risks in risk management systems or as decision support regarding trading strategies under different price states.

Suggested Citation

  • Prilly Oktoviany & Robert Knobloch & Ralf Korn, 2021. "A machine learning-based price state prediction model for agricultural commodities using external factors," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 44(2), pages 1063-1085, December.
  • Handle: RePEc:spr:decfin:v:44:y:2021:i:2:d:10.1007_s10203-021-00354-7
    DOI: 10.1007/s10203-021-00354-7
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10203-021-00354-7
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10203-021-00354-7?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. Eduardo Schwartz & James E. Smith, 2000. "Short-Term Variations and Long-Term Dynamics in Commodity Prices," Management Science, INFORMS, vol. 46(7), pages 893-911, July.
    2. Karali, Berna, 2012. "Do USDA Announcements Affect Comovements Across Commodity Futures Returns?," Journal of Agricultural and Resource Economics, Western Agricultural Economics Association, vol. 37(1), pages 1-21, April.
    3. Markus Hess, 2020. "Pricing electricity forwards under future information on the stochastic mean-reversion level," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 43(2), pages 751-767, December.
    4. Harvey,Andrew C., 1991. "Forecasting, Structural Time Series Models and the Kalman Filter," Cambridge Books, Cambridge University Press, number 9780521405737.
    5. Fred Espen Benth & Jūratė Šaltytė Benth & Steen Koekebakker, 2008. "Stochastic Modeling of Electricity and Related Markets," World Scientific Books, World Scientific Publishing Co. Pte. Ltd., number 6811, January.
    6. repec:ags:jrapmc:122315 is not listed on IDEAS
    7. Jiang, Bingrong, 1997. "Corn and soybean basis behavior and forecasting: fundamental and alternative approaches," ISU General Staff Papers 1997010108000013213, Iowa State University, Department of Economics.
    8. Schwartz, Eduardo S, 1997. "The Stochastic Behavior of Commodity Prices: Implications for Valuation and Hedging," Journal of Finance, American Finance Association, vol. 52(3), pages 923-973, July.
    9. Kristiansen, Tarjei, 2012. "Forecasting Nord Pool day-ahead prices with an autoregressive model," Energy Policy, Elsevier, vol. 49(C), pages 328-332.
    10. Hayenga, Marvin L. & Jiang, Bingrong, 1997. "Corn and Soybean Basis Behavior and Forecasting: Fundamental and Alternative Approaches," Staff General Research Papers Archive 10400, Iowa State University, Department of Economics.
    11. Daniel A. Summer & Rolf A. E. Mueller, 1989. "Are Harvest Forecasts News? USDA Announcements and Futures Market Reactions," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 71(1), pages 1-8.
    12. Eugene F. Fama & Kenneth R. French, 2015. "Commodity Futures Prices: Some Evidence on Forecast Power, Premiums, and the Theory of Storage," World Scientific Book Chapters, in: Anastasios G Malliaris & William T Ziemba (ed.), THE WORLD SCIENTIFIC HANDBOOK OF FUTURES MARKETS, chapter 4, pages 79-102, World Scientific Publishing Co. Pte. Ltd..
    13. Garcia, Philip & Irwin, Scott H. & Leuthold, Raymond M. & Yang, Li, 1997. "The value of public information in commodity futures markets," Journal of Economic Behavior & Organization, Elsevier, vol. 32(4), pages 559-570, April.
    14. Udo Broll & Bernhard Eckwert, 2008. "The competitive firm under price uncertainty: the role of information and hedging," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 31(1), pages 1-11, May.
    15. Karali, Berna & Isengildina-Massa, Olga & Irwin, Scott H. & Adjemian, Michael K. & Johansson, Robert, 2019. "Are USDA reports still news to changing crop markets?," Food Policy, Elsevier, vol. 84(C), pages 66-76.
    16. Weron, Rafal & Misiorek, Adam, 2008. "Forecasting spot electricity prices: A comparison of parametric and semiparametric time series models," International Journal of Forecasting, Elsevier, vol. 24(4), pages 744-763.
    17. Espen Gaarder Haug, 2021. "Asian options with zero cost-of-carry: EEX options on freight and iron ore futures," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 44(1), pages 191-195, June.
    18. Boudoukh, Jacob & Richardson, Matthew & Shen, YuQing (Jeff) & Whitelaw, Robert F., 2007. "Do asset prices reflect fundamentals? Freshly squeezed evidence from the OJ market," Journal of Financial Economics, Elsevier, vol. 83(2), pages 397-412, February.
    19. Zili Zhu & Paul Graham & Luke Reedman & Thomas Lo, 2009. "A scenario-based integrated approach for modeling carbon price risk," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 32(1), pages 35-48, May.
    20. F J Nogales & A J Conejo, 2006. "Electricity price forecasting through transfer function models," Journal of the Operational Research Society, Palgrave Macmillan;The OR Society, vol. 57(4), pages 350-356, April.
    21. Unknown, 2005. "Forward," 2005 Conference: Slovenia in the EU - Challenges for Agriculture, Food Science and Rural Affairs, November 10-11, 2005, Moravske Toplice, Slovenia 183804, Slovenian Association of Agricultural Economists (DAES).
    22. Hélyette Geman & Vu-Nhat Nguyen, 2005. "Soybean Inventory and Forward Curve Dynamics," Management Science, INFORMS, vol. 51(7), pages 1076-1091, July.
    23. repec:dau:papers:123456789/1937 is not listed on IDEAS
    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. Alexander Brunhuemer & Lukas Larcher & Philipp Seidl & Sascha Desmettre & Johannes Kofler & Gerhard Larcher, 2022. "Supervised Machine Learning Classification for Short Straddles on the S&P500," Risks, MDPI, vol. 10(12), pages 1-25, December.
    2. Zdeněk Zmeškal & Dana Dluhošová & Karolina Lisztwanová & Antonín Pončík & Iveta Ratmanová, 2023. "Distribution Prediction of Decomposed Relative EVA Measure with Levy-Driven Mean-Reversion Processes: The Case of an Automotive Sector of a Small Open Economy," Forecasting, MDPI, vol. 5(2), pages 1-19, May.

    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. Back, Janis & Prokopczuk, Marcel & Rudolf, Markus, 2013. "Seasonality and the valuation of commodity options," Journal of Banking & Finance, Elsevier, vol. 37(2), pages 273-290.
    2. Cortazar, Gonzalo & Kovacevic, Ivo & Schwartz, Eduardo S., 2015. "Expected commodity returns and pricing models," Energy Economics, Elsevier, vol. 49(C), pages 60-71.
    3. Ma, Zonggang & Ma, Chaoqun & Wu, Zhijian, 2020. "Closed-form analytical solutions for options on agricultural futures with seasonality and stochastic convenience yield," Chaos, Solitons & Fractals, Elsevier, vol. 137(C).
    4. Anh Ngoc Lai & Constantin Mellios, 2016. "Valuation of commodity derivatives with an unobservable convenience yield," Post-Print halshs-01183166, HAL.
    5. Power, Gabriel J. & Turvey, Calum G., 2008. "On Term Structure Models of Commodity Futures Prices and the Kaldor-Working Hypothesis," 2008 Conference, April 21-22, 2008, St. Louis, Missouri 37608, NCCC-134 Conference on Applied Commodity Price Analysis, Forecasting, and Market Risk Management.
    6. Secomandi, Nicola & Seppi, Duane J., 2014. "Real Options and Merchant Operations of Energy and Other Commodities," Foundations and Trends(R) in Technology, Information and Operations Management, now publishers, vol. 6(3-4), pages 161-331, July.
    7. Paschke, Raphael & Prokopczuk, Marcel, 2010. "Commodity derivatives valuation with autoregressive and moving average components in the price dynamics," Journal of Banking & Finance, Elsevier, vol. 34(11), pages 2742-2752, November.
    8. Moreno, Manuel & Novales, Alfonso & Platania, Federico, 2019. "Long-term swings and seasonality in energy markets," European Journal of Operational Research, Elsevier, vol. 279(3), pages 1011-1023.
    9. Steffen Volkenand & Günther Filler & Martin Odening, 2020. "Price Discovery and Market Reflexivity in Agricultural Futures Contracts with Different Maturities," Risks, MDPI, vol. 8(3), pages 1-17, July.
    10. Ying, Jiahui & Shonkwiler, J. Scott, 2017. "A Temporal Impact Assessment Method for the Informational Content of USDA Reports in Corn and Soybean Futures Markets," 2017 Annual Meeting, July 30-August 1, Chicago, Illinois 258201, Agricultural and Applied Economics Association.
    11. Max F. Schöne & Stefan Spinler, 2017. "A four-factor stochastic volatility model of commodity prices," Review of Derivatives Research, Springer, vol. 20(2), pages 135-165, July.
    12. Iván Blanco, Juan Ignacio Peña, and Rosa Rodriguez, 2018. "Modelling Electricity Swaps with Stochastic Forward Premium Models," The Energy Journal, International Association for Energy Economics, vol. 0(Number 2).
    13. Chris Brooks & Marcel Prokopczuk, 2013. "The dynamics of commodity prices," Quantitative Finance, Taylor & Francis Journals, vol. 13(4), pages 527-542, March.
    14. Ke Tang, 2012. "Time-varying long-run mean of commodity prices and the modeling of futures term structures," Quantitative Finance, Taylor & Francis Journals, vol. 12(5), pages 781-790, April.
    15. Weron, Rafał, 2014. "Electricity price forecasting: A review of the state-of-the-art with a look into the future," International Journal of Forecasting, Elsevier, vol. 30(4), pages 1030-1081.
    16. Chevallier, Julien & Ielpo, Florian, 2017. "Investigating the leverage effect in commodity markets with a recursive estimation approach," Research in International Business and Finance, Elsevier, vol. 39(PB), pages 763-778.
    17. Ewald, Christian & Zou, Yihan, 2021. "Analytic formulas for futures and options for a linear quadratic jump diffusion model with seasonal stochastic volatility and convenience yield: Do fish jump?," European Journal of Operational Research, Elsevier, vol. 294(2), pages 801-815.
    18. Nicola Secomandi & Guoming Lai & François Margot & Alan Scheller-Wolf & Duane J. Seppi, 2015. "Merchant Commodity Storage and Term-Structure Model Error," Manufacturing & Service Operations Management, INFORMS, vol. 17(3), pages 302-320, July.
    19. Ioannis Kyriakou & Nikos K. Nomikos & Nikos C. Papapostolou & Panos K. Pouliasis, 2016. "Affine†Structure Models and the Pricing of Energy Commodity Derivatives," European Financial Management, European Financial Management Association, vol. 22(5), pages 853-881, November.
    20. Sharon K Jose & Girish G P, 2021. "Seasonality in Indian Commodities Market: Insights for modeling from preceding commodity cycle," Bulletin of Applied Economics, Risk Market Journals, vol. 8(1), pages 167-173.

    More about this item

    Keywords

    Classification; Clustering; Commodities; Hybrid model; Machine learning; Stochastic price model;
    All these keywords.

    JEL classification:

    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • G13 - Financial Economics - - General Financial Markets - - - Contingent Pricing; Futures Pricing
    • Q11 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Agriculture - - - Aggregate Supply and Demand Analysis; Prices

    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:spr:decfin:v:44:y:2021:i:2:d:10.1007_s10203-021-00354-7. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.