IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v16y2023i12p4746-d1172227.html
   My bibliography  Save this article

A Machine-Learning-Based Approach for Natural Gas Futures Curve Modeling

Author

Listed:
  • Oleksandr Castello

    (Department of Economics and Business Studies, School of Social Sciences, University of Genoa, 16126 Genoa, Italy
    These authors contributed equally to this work.)

  • Marina Resta

    (Department of Economics and Business Studies, School of Social Sciences, University of Genoa, 16126 Genoa, Italy
    These authors contributed equally to this work.)

Abstract

This work studies the term structure dynamics in the natural gas futures market, focusing on the Dutch Title Transfer Facility (TTF) daily futures prices. At first, using the whole dataset, we compared the in-sample fitting performance of three models: the four-factor dynamic Nelson–Siegel–Svensson (4F-DNSS) model, the five-factor dynamic De Rezende–Ferreira (5F-DRF) model, and the B-spline model. Our findings suggest that B-spline is the method that achieves the best in-line fitting results. Then, we turned our attention to forecasting, using data from 20 January 2011 to 13 May 2022 as the training set and the remaining data, from 16 May to 13 June 2022, for day-ahead predictions. In this second part of the work we combined the above mentioned models (4F-DNSS, 5F-DRF and B-spline) with a Nonlinear Autoregressive Neural Network (NAR-NN), asking the NAR-NN to provide parameter tuning. All the models provided accurate out-of-sample prediction; nevertheless, based on extensive statistical tests, we conclude that, as in the previous case, B-spline (combined with an NAR-NN) ensured the best out-of-sample prediction.

Suggested Citation

  • Oleksandr Castello & Marina Resta, 2023. "A Machine-Learning-Based Approach for Natural Gas Futures Curve Modeling," Energies, MDPI, vol. 16(12), pages 1-22, June.
  • Handle: RePEc:gam:jeners:v:16:y:2023:i:12:p:4746-:d:1172227
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/16/12/4746/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/16/12/4746/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ing-Haw Cheng & Wei Xiong, 2014. "Financialization of Commodity Markets," Annual Review of Financial Economics, Annual Reviews, vol. 6(1), pages 419-441, December.
    2. Tiwari, Aviral Kumar & Mukherjee, Zinnia & Gupta, Rangan & Balcilar, Mehmet, 2019. "A wavelet analysis of the relationship between oil and natural gas prices," Resources Policy, Elsevier, vol. 60(C), pages 118-124.
    3. Ji, Qiang & Zhang, Hai-Ying & Geng, Jiang-Bo, 2018. "What drives natural gas prices in the United States? – A directed acyclic graph approach," Energy Economics, Elsevier, vol. 69(C), pages 79-88.
    4. Marek Kwas & Michał Rubaszek, 2021. "Forecasting Commodity Prices: Looking for a Benchmark," Forecasting, MDPI, vol. 3(2), pages 1-13, June.
    5. Lu, Fei & Ma, Feng & Li, Pan & Huang, Dengshi, 2022. "Natural gas volatility predictability in a data-rich world," International Review of Financial Analysis, Elsevier, vol. 83(C).
    6. Duong, Huu Nhan & Kalev, Petko S., 2008. "The Samuelson hypothesis in futures markets: An analysis using intraday data," Journal of Banking & Finance, Elsevier, vol. 32(4), pages 489-500, April.
    7. Mason, Charles F. & A. Wilmot, Neil, 2014. "Jump processes in natural gas markets," Energy Economics, Elsevier, vol. 46(S1), pages 69-79.
    8. Xiaoli Liao Etienne & Andrés Trujillo-Barrera & Seth Wiggins, 2016. "Price and volatility transmissions between natural gas, fertilizer, and corn markets," Agricultural Finance Review, Emerald Group Publishing Limited, vol. 76(1), pages 151-171, May.
    9. Anna Creti & Duc Khuong Nguyen, 2015. "Energy markets׳ financialization, risk spillovers, and pricing models," Post-Print hal-01517413, HAL.
    10. Faria, Adriano & Almeida, Caio, 2018. "A hybrid spline-based parametric model for the yield curve," Journal of Economic Dynamics and Control, Elsevier, vol. 86(C), pages 72-94.
    11. Sepideh Dolatabadi & Paresh Kumar Narayan & Morten Ørregaard Nielsen & Ke Xu, 2018. "Economic significance of commodity return forecasts from the fractionally cointegrated VAR model," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 38(2), pages 219-242, February.
    12. Yadong Pei & Chiou-Jye Huang & Yamin Shen & Mingyue Wang, 2023. "A Novel Model for Spot Price Forecast of Natural Gas Based on Temporal Convolutional Network," Energies, MDPI, vol. 16(5), pages 1-15, February.
    13. repec:dau:papers:123456789/14774 is not listed on IDEAS
    14. Gary W. Emery & Qingfeng (Wilson) Liu, 2002. "An analysis of the relationship between electricity and natural‐gas futures prices," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 22(2), pages 95-122, February.
    15. Nagy, Krisztina, 2020. "Term structure estimation with missing data: Application for emerging markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 75(C), pages 347-360.
    16. Szoplik, Jolanta, 2015. "Forecasting of natural gas consumption with artificial neural networks," Energy, Elsevier, vol. 85(C), pages 208-220.
    17. Junghwan Jin & Jinsoo Kim, 2015. "Forecasting Natural Gas Prices Using Wavelets, Time Series, and Artificial Neural Networks," PLOS ONE, Public Library of Science, vol. 10(11), pages 1-23, November.
    18. repec:dau:papers:123456789/14413 is not listed on IDEAS
    19. Asger Lunde & Peter R. Hansen, 2005. "A forecast comparison of volatility models: does anything beat a GARCH(1,1)?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(7), pages 873-889.
    20. Diebold, Francis X. & Li, Canlin, 2006. "Forecasting the term structure of government bond yields," Journal of Econometrics, Elsevier, vol. 130(2), pages 337-364, February.
    21. van Goor, Harm & Scholtens, Bert, 2014. "Modeling natural gas price volatility: The case of the UK gas market," Energy, Elsevier, vol. 72(C), pages 126-134.
    22. Nelson, Charles R & Siegel, Andrew F, 1987. "Parsimonious Modeling of Yield Curves," The Journal of Business, University of Chicago Press, vol. 60(4), pages 473-489, October.
    23. Chen, Ying & Chua, Wee Song & Koch, Thorsten, 2018. "Forecasting day-ahead high-resolution natural-gas demand and supply in Germany," Applied Energy, Elsevier, vol. 228(C), pages 1091-1110.
    24. William W. Guo & Heru Xue, 2014. "Crop Yield Forecasting Using Artificial Neural Networks: A Comparison between Spatial and Temporal Models," Mathematical Problems in Engineering, Hindawi, vol. 2014, pages 1-7, January.
    25. Lv, Xiaodong & Shan, Xian, 2013. "Modeling natural gas market volatility using GARCH with different distributions," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 392(22), pages 5685-5699.
    26. David Heath & Robert Jarrow & Andrew Morton, 2008. "Bond Pricing And The Term Structure Of Interest Rates: A New Methodology For Contingent Claims Valuation," World Scientific Book Chapters, in: Financial Derivatives Pricing Selected Works of Robert Jarrow, chapter 13, pages 277-305, World Scientific Publishing Co. Pte. Ltd..
    27. Xiaoli Liao Etienne & Andrés Trujillo-Barrera & Seth Wiggins, 2016. "Price and volatility transmissions between natural gas, fertilizer, and corn markets," Agricultural Finance Review, Emerald Group Publishing Limited, vol. 76(1), pages 151-171, May.
    28. Almansour, Abdullah, 2016. "Convenience yield in commodity price modeling: A regime switching approach," Energy Economics, Elsevier, vol. 53(C), pages 238-247.
    29. Li, Jinchao & Wu, Qianqian & Tian, Yu & Fan, Liguo, 2021. "Monthly Henry Hub natural gas spot prices forecasting using variational mode decomposition and deep belief network," Energy, Elsevier, vol. 227(C).
    30. Furtuna, Oana & Grassi, Alberto & Ianiro, Annalaura & Kallage, Kristina & Koci, Robert & Lenoci, Francesca & Sowiński, Andrzej & Vacirca, Francesco, 2022. "Financial stability risks from energy derivatives markets," Financial Stability Review, European Central Bank, vol. 2.
    31. Hiroaki Suenaga & Aaron Smith & Jeffrey Williams, 2008. "Volatility dynamics of NYMEX natural gas futures prices," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 28(5), pages 438-463, May.
    32. Svetlana Borovkova & Diego Mahakena, 2015. "News, volatility and jumps: the case of natural gas futures," Quantitative Finance, Taylor & Francis Journals, vol. 15(7), pages 1217-1242, July.
    33. Butler, Sunil & Kokoszka, Piotr & Miao, Hong & Shang, Han Lin, 2021. "Neural network prediction of crude oil futures using B-splines," Energy Economics, Elsevier, vol. 94(C).
    34. Ricardo Azevedo Araujo & Guilherme V. Moura & Marcelo S. Portugal, 2010. "Efficient Yield Curve Estimation and Forecasting in Brazil," Economia, ANPEC - Associação Nacional dos Centros de Pós-Graduação em Economia [Brazilian Association of Graduate Programs in Economics], vol. 11(1), pages 27-51.
    35. Eduardo Mineo & Airlane Pereira Alencar & Marcelo Moura & Antonio Elias Fabris, 2020. "Forecasting the Term Structure of Interest Rates with Dynamic Constrained Smoothing B-Splines," JRFM, MDPI, vol. 13(4), pages 1-14, April.
    36. Carl Chiarella & Les Clewlow & Boda Kang, 2009. "Modelling and Estimating the Forward Price Curve in the Energy Market," Research Paper Series 260, Quantitative Finance Research Centre, University of Technology, Sydney.
    37. Horváth, Lajos & Liu, Zhenya & Rice, Gregory & Wang, Shixuan, 2020. "A functional time series analysis of forward curves derived from commodity futures," International Journal of Forecasting, Elsevier, vol. 36(2), pages 646-665.
    38. Brigida, Matthew, 2014. "The switching relationship between natural gas and crude oil prices," Energy Economics, Elsevier, vol. 43(C), pages 48-55.
    39. repec:dau:papers:123456789/13630 is not listed on IDEAS
    40. Shaikh, Faheemullah & Ji, Qiang & Shaikh, Pervez Hameed & Mirjat, Nayyar Hussain & Uqaili, Muhammad Aslam, 2017. "Forecasting China’s natural gas demand based on optimised nonlinear grey models," Energy, Elsevier, vol. 140(P1), pages 941-951.
    41. Gibson, Rajna & Schwartz, Eduardo S, 1990. "Stochastic Convenience Yield and the Pricing of Oil Contingent Claims," Journal of Finance, American Finance Association, vol. 45(3), pages 959-976, July.
    42. Li, Bingxin, 2019. "Pricing dynamics of natural gas futures," Energy Economics, Elsevier, vol. 78(C), pages 91-108.
    43. Su, Huai & Zio, Enrico & Zhang, Jinjun & Xu, Mingjing & Li, Xueyi & Zhang, Zongjie, 2019. "A hybrid hourly natural gas demand forecasting method based on the integration of wavelet transform and enhanced Deep-RNN model," Energy, Elsevier, vol. 178(C), pages 585-597.
    44. Zhang, Yue-Jun & Chevallier, Julien & Guesmi, Khaled, 2017. "“De-financialization” of commodities? Evidence from stock, crude oil and natural gas markets," Energy Economics, Elsevier, vol. 68(C), pages 228-239.
    45. Wang, Jun & Cao, Junxing & Yuan, Shan & Cheng, Ming, 2021. "Short-term forecasting of natural gas prices by using a novel hybrid method based on a combination of the CEEMDAN-SE-and the PSO-ALS-optimized GRU network," Energy, Elsevier, vol. 233(C).
    46. Luis Gonzaga Baca Ruiz & Manuel Pegalajar Cuéllar & Miguel Delgado Calvo-Flores & María Del Carmen Pegalajar Jiménez, 2016. "An Application of Non-Linear Autoregressive Neural Networks to Predict Energy Consumption in Public Buildings," Energies, MDPI, vol. 9(9), pages 1-21, August.
    47. Bing-Huei Lin, 2002. "Fitting term structure of interest rates using B-splines: the case of Taiwanese Government bonds," Applied Financial Economics, Taylor & Francis Journals, vol. 12(1), pages 57-75.
    48. Hribar, Rok & Potočnik, Primož & Šilc, Jurij & Papa, Gregor, 2019. "A comparison of models for forecasting the residential natural gas demand of an urban area," Energy, Elsevier, vol. 167(C), pages 511-522.
    49. Wali ULLAH & Khadija Malik BARI, 2018. "The Term Structure of Government Bond Yields in an Emerging Market," Journal for Economic Forecasting, Institute for Economic Forecasting, vol. 0(3), pages 5-28, September.
    50. Rafael B. Rezende & Mauro S. Ferreira, 2013. "Modeling and Forecasting the Yield Curve by an Extended Nelson‐Siegel Class of Models: A Quantile Autoregression Approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 32(2), pages 111-123, March.
    51. Oleksandr Castello & Marina Resta, 2022. "Modeling the Yield Curve of BRICS Countries: Parametric vs. Machine Learning Techniques," Risks, MDPI, vol. 10(2), pages 1-18, February.
    52. Paul A. Samuelson, 1973. "Proof That Properly Discounted Present Values of Assets Vibrate Randomly," Bell Journal of Economics, The RAND Corporation, vol. 4(2), pages 369-374, Autumn.
    53. 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.
    54. Ghassane Benrhmach & Khalil Namir & Abdelwahed Namir & Jamal Bouyaghroumni, 2020. "Nonlinear Autoregressive Neural Network and Extended Kalman Filters for Prediction of Financial Time Series," Journal of Applied Mathematics, Hindawi, vol. 2020, pages 1-6, April.
    55. Daniel Leonhardt & Antony Ware & Rudi Zagst, 2017. "A Cointegrated Regime-Switching Model Approach with Jumps Applied to Natural Gas Futures Prices," Risks, MDPI, vol. 5(3), pages 1-19, September.
    56. Özmen, Ayşe & Yılmaz, Yavuz & Weber, Gerhard-Wilhelm, 2018. "Natural gas consumption forecast with MARS and CMARS models for residential users," Energy Economics, Elsevier, vol. 70(C), pages 357-381.
    57. Guidolin, Mariangela & Alpcan, Tansu, 2019. "Transition to sustainable energy generation in Australia: Interplay between coal, gas and renewables," Renewable Energy, Elsevier, vol. 139(C), pages 359-367.
    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. Lu, Hongfang & Ma, Xin & Azimi, Mohammadamin, 2020. "US natural gas consumption prediction using an improved kernel-based nonlinear extension of the Arps decline model," Energy, Elsevier, vol. 194(C).
    2. Piero C. Kauffmann & Hellinton H. Takada & Ana T. Terada & Julio M. Stern, 2022. "Learning Forecast-Efficient Yield Curve Factor Decompositions with Neural Networks," Econometrics, MDPI, vol. 10(2), pages 1-15, March.
    3. Luo, Keyu & Guo, Qiang & Li, Xiafei, 2022. "Can the return connectedness indices from grey energy to natural gas help to forecast the natural gas returns?," Energy Economics, Elsevier, vol. 109(C).
    4. Wang, TianTian & Zhang, Dayong & Clive Broadstock, David, 2019. "Financialization, fundamentals, and the time-varying determinants of US natural gas prices," Energy Economics, Elsevier, vol. 80(C), pages 707-719.
    5. Wei, Nan & Yin, Lihua & Li, Chao & Li, Changjun & Chan, Christine & Zeng, Fanhua, 2021. "Forecasting the daily natural gas consumption with an accurate white-box model," Energy, Elsevier, vol. 232(C).
    6. Makushkin, Mikhail & Lapshin, Victor, 2023. "Dynamic Nelson–Siegel model for market risk estimation of bonds: Practical implementation," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 69, pages 5-27.
    7. Qin Lu & Jingwen Liao & Kechi Chen & Yanhui Liang & Yu Lin, 2024. "Predicting Natural Gas Prices Based on a Novel Hybrid Model with Variational Mode Decomposition," Computational Economics, Springer;Society for Computational Economics, vol. 63(2), pages 639-678, February.
    8. Beyca, Omer Faruk & Ervural, Beyzanur Cayir & Tatoglu, Ekrem & Ozuyar, Pinar Gokcin & Zaim, Selim, 2019. "Using machine learning tools for forecasting natural gas consumption in the province of Istanbul," Energy Economics, Elsevier, vol. 80(C), pages 937-949.
    9. Tomasz Cieślik & Piotr Narloch & Adam Szurlej & Krzysztof Kogut, 2022. "Indirect Impact of the COVID-19 Pandemic on Natural Gas Consumption by Commercial Consumers in a Selected City in Poland," Energies, MDPI, vol. 15(4), pages 1-18, February.
    10. Emma Berenguer-Carceles & Ricardo Gimeno & Juan M. Nave, 2012. "Estimation of the Term Structure of Interest Rates: Methodology and Applications," Working Papers 12.06, Universidad Pablo de Olavide, Department of Financial Economics and Accounting (former Department of Business Administration).
    11. Lorenčič Eva, 2016. "Testing the Performance of Cubic Splines and Nelson-Siegel Model for Estimating the Zero-coupon Yield Curve," Naše gospodarstvo/Our economy, Sciendo, vol. 62(2), pages 42-50, June.
    12. Hailemariam, Abebe & Smyth, Russell, 2019. "What drives volatility in natural gas prices?," Energy Economics, Elsevier, vol. 80(C), pages 731-742.
    13. Kearney, Fearghal & Shang, Han Lin & Sheenan, Lisa, 2019. "Implied volatility surface predictability: The case of commodity markets," Journal of Banking & Finance, Elsevier, vol. 108(C).
    14. Matsumura, Marco & Moreira, Ajax & Vicente, José, 2011. "Forecasting the yield curve with linear factor models," International Review of Financial Analysis, Elsevier, vol. 20(5), pages 237-243.
    15. Chiarella, Carl & Kang, Boda & Nikitopoulos, Christina Sklibosios & Tô, Thuy-Duong, 2013. "Humps in the volatility structure of the crude oil futures market: New evidence," Energy Economics, Elsevier, vol. 40(C), pages 989-1000.
    16. Liang, Chao & Xia, Zhenglan & Lai, Xiaodong & Wang, Lu, 2022. "Natural gas volatility prediction: Fresh evidence from extreme weather and extended GARCH-MIDAS-ES model," Energy Economics, Elsevier, vol. 116(C).
    17. 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.
    18. Gourieroux, C. & Monfort, A. & Sufana, R., 2010. "International money and stock market contingent claims," Journal of International Money and Finance, Elsevier, vol. 29(8), pages 1727-1751, December.
    19. Li, Wei & Lu, Can, 2019. "The multiple effectiveness of state natural gas consumption constraint policies for achieving sustainable development targets in China," Applied Energy, Elsevier, vol. 235(C), pages 685-698.
    20. Mr. Udaibir S Das & Miss Yinqiu Lu & Mr. Michael G. Papaioannou & Iva Petrova, 2012. "Sovereign Risk and Asset and Liability Management: Conceptual Issues," IMF Working Papers 2012/241, International Monetary Fund.

    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:jeners:v:16:y:2023:i:12:p:4746-:d:1172227. 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.