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

Forecasting Brazilian Ethanol Spot Prices Using LSTM

Author

Listed:
  • Gustavo Carvalho Santos

    (Electrical Engineering School, Federal University of Uberlândia, Uberlândia 38408-100, Brazil
    These authors contributed equally to this work.)

  • Flavio Barboza

    (School of Business and Management, Federal University of Uberlândia, Uberlândia 38408-100, Brazil
    These authors contributed equally to this work.)

  • Antônio Cláudio Paschoarelli Veiga

    (Electrical Engineering School, Federal University of Uberlândia, Uberlândia 38408-100, Brazil
    These authors contributed equally to this work.)

  • Mateus Ferreira Silva

    (School of Accounting, Federal University of Uberlândia, Uberlândia 38408-100, Brazil
    These authors contributed equally to this work.)

Abstract

Ethanol is one of the most used fuels in Brazil, which is the second-largest producer of this biofuel in the world. The uncertainty of price direction in the future increases the risk for agents operating in this market and can affect a dependent price chain, such as food and gasoline. This paper uses the architecture of recurrent neural networks—Long short-term memory (LSTM)—to predict Brazilian ethanol spot prices for three horizon-times (12, 6 and 3 months ahead). The proposed model is compared to three benchmark algorithms: Random Forest, SVM Linear and RBF. We evaluate statistical measures such as MSE (Mean Squared Error), MAPE (Mean Absolute Percentage Error), and accuracy to assess the algorithm robustness. Our findings suggest LSTM outperforms the other techniques in regression, considering both MSE and MAPE but SVM Linear is better to identify price trends. Concerning predictions per se, all errors increase during the pandemic period, reinforcing the challenge to identify patterns in crisis scenarios.

Suggested Citation

  • Gustavo Carvalho Santos & Flavio Barboza & Antônio Cláudio Paschoarelli Veiga & Mateus Ferreira Silva, 2021. "Forecasting Brazilian Ethanol Spot Prices Using LSTM," Energies, MDPI, vol. 14(23), pages 1-15, November.
  • Handle: RePEc:gam:jeners:v:14:y:2021:i:23:p:7987-:d:691284
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/14/23/7987/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/14/23/7987/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Bastianin, Andrea & Galeotti, Marzio & Manera, Matteo, 2016. "Ethanol and field crops: Is there a price connection?," Food Policy, Elsevier, vol. 63(C), pages 53-61.
    2. Wei Sun & Junjian Zhang, 2020. "Carbon Price Prediction Based on Ensemble Empirical Mode Decomposition and Extreme Learning Machine Optimized by Improved Bat Algorithm Considering Energy Price Factors," Energies, MDPI, vol. 13(13), pages 1-22, July.
    3. Thilanka Ariyawansha & Dimuthu Abeyrathna & Buddhika Kulasekara & Devananda Pottawela & Dinesh Kodithuwakku & Sandya Ariyawansha & Natasha Sewwandi & WBMAC Bandara & Tofael Ahamed & Ryozo Noguchi, 2020. "A Novel Approach to Minimize Energy Requirements and Maximize Biomass Utilization of the Sugarcane Harvesting System in Sri Lanka," Energies, MDPI, vol. 13(6), pages 1-22, March.
    4. Franken, Jason R.V. & Parcell, Joseph L., 2003. "Cash Ethanol Cross-Hedging Opportunities," Journal of Agricultural and Applied Economics, Southern Agricultural Economics Association, vol. 35(3), pages 1-8, December.
    5. Wei Bao & Jun Yue & Yulei Rao, 2017. "A deep learning framework for financial time series using stacked autoencoders and long-short term memory," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-24, July.
    6. Ding, Shusheng & Zhang, Yongmin, 2020. "Cross market predictions for commodity prices," Economic Modelling, Elsevier, vol. 91(C), pages 455-462.
    7. Hira, Anil & de Oliveira, Luiz Guilherme, 2009. "No substitute for oil? How Brazil developed its ethanol industry," Energy Policy, Elsevier, vol. 37(6), pages 2450-2456, June.
    8. Siddhivinayak Kulkarni & Imad Haidar, 2009. "Forecasting Model for Crude Oil Price Using Artificial Neural Networks and Commodity Futures Prices," Papers 0906.4838, arXiv.org.
    9. Alameer, Zakaria & Fathalla, Ahmed & Li, Kenli & Ye, Haiwang & Jianhua, Zhang, 2020. "Multistep-ahead forecasting of coal prices using a hybrid deep learning model," Resources Policy, Elsevier, vol. 65(C).
    10. Melike Bildirici & Nilgun Guler Bayazit & Yasemen Ucan, 2020. "Analyzing Crude Oil Prices under the Impact of COVID-19 by Using LSTARGARCHLSTM," Energies, MDPI, vol. 13(11), pages 1-18, June.
    11. Hu, Yan & Ni, Jian & Wen, Liu, 2020. "A hybrid deep learning approach by integrating LSTM-ANN networks with GARCH model for copper price volatility prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 557(C).
    12. 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.
    13. Hongbing Ouyang & Xiaolu Wei & Qiufeng Wu, 2019. "Agricultural commodity futures prices prediction via long- and short-term time series network," Journal of Applied Economics, Taylor & Francis Journals, vol. 22(1), pages 468-483, January.
    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. Du, Pei & Guo, Ju’e & Sun, Shaolong & Wang, Shouyang & Wu, Jing, 2021. "Multi-step metal prices forecasting based on a data preprocessing method and an optimized extreme learning machine by marine predators algorithm," Resources Policy, Elsevier, vol. 74(C).
    2. Kakade, Kshitij & Jain, Ishan & Mishra, Aswini Kumar, 2022. "Value-at-Risk forecasting: A hybrid ensemble learning GARCH-LSTM based approach," Resources Policy, Elsevier, vol. 78(C).
    3. Özgür Ömer Ersin & Melike Bildirici, 2023. "Financial Volatility Modeling with the GARCH-MIDAS-LSTM Approach: The Effects of Economic Expectations, Geopolitical Risks and Industrial Production during COVID-19," Mathematics, MDPI, vol. 11(8), pages 1-26, April.
    4. Khoshalan, Hasel Amini & Shakeri, Jamshid & Najmoddini, Iraj & Asadizadeh, Mostafa, 2021. "Forecasting copper price by application of robust artificial intelligence techniques," Resources Policy, Elsevier, vol. 73(C).
    5. Zhang, Kefei & Cao, Hua & Thé, Jesse & Yu, Hesheng, 2022. "A hybrid model for multi-step coal price forecasting using decomposition technique and deep learning algorithms," Applied Energy, Elsevier, vol. 306(PA).
    6. Wu, Siping & Xia, Guilin & Liu, Lang, 2023. "A novel decomposition integration model for power coal price forecasting," Resources Policy, Elsevier, vol. 80(C).
    7. Feng, Zongbao & Wu, Xianguo & Chen, Hongyu & Qin, Yawei & Zhang, Limao & Skibniewski, Miroslaw J., 2022. "An energy performance contracting parameter optimization method based on the response surface method: A case study of a metro in China," Energy, Elsevier, vol. 248(C).
    8. Mohamed CHIKHI & Claude DIEBOLT, 2022. "Testing the weak form efficiency of the French ETF market with the LSTAR-ANLSTGARCH approach using a semiparametric estimation," Eastern Journal of European Studies, Centre for European Studies, Alexandru Ioan Cuza University, vol. 13, pages 228-253, June.
    9. Andrea Bucci, 2020. "Realized Volatility Forecasting with Neural Networks," Journal of Financial Econometrics, Oxford University Press, vol. 18(3), pages 502-531.
    10. Jammazi, Rania, 2012. "Oil shock transmission to stock market returns: Wavelet-multivariate Markov switching GARCH approach," Energy, Elsevier, vol. 37(1), pages 430-454.
    11. Zhao, Shuchun & Guo, Junheng & Dang, Xiuhu & Ai, Bingyan & Zhang, Minqing & Li, Wei & Zhang, Jinli, 2022. "Energy consumption, flow characteristics and energy-efficient design of cup-shape blade stirred tank reactors: Computational fluid dynamics and artificial neural network investigation," Energy, Elsevier, vol. 240(C).
    12. Zhang, Hong & Nguyen, Hoang & Bui, Xuan-Nam & Pradhan, Biswajeet & Mai, Ngoc-Luan & Vu, Diep-Anh, 2021. "Proposing two novel hybrid intelligence models for forecasting copper price based on extreme learning machine and meta-heuristic algorithms," Resources Policy, Elsevier, vol. 73(C).
    13. Jaydip Sen & Sidra Mehtab & Abhishek Dutta & Saikat Mondal, 2022. "Precise Stock Price Prediction for Optimized Portfolio Design Using an LSTM Model," Papers 2203.01326, arXiv.org.
    14. Dahlgran, Roger A., 2007. "Inventory and Transformation Hedging Effectiveness in Corn Crushing," 2007 Conference, April 16-17, 2007, Chicago, Illinois 37557, NCCC-134 Conference on Applied Commodity Price Analysis, Forecasting, and Market Risk Management.
    15. Bastianin, Andrea & Galeotti, Marzio & Manera, Matteo, 2014. "Causality and predictability in distribution: The ethanol–food price relation revisited," Energy Economics, Elsevier, vol. 42(C), pages 152-160.
    16. Jaydip Sen & Sidra Mehtab, 2021. "Design and Analysis of Robust Deep Learning Models for Stock Price Prediction," Papers 2106.09664, arXiv.org.
    17. Dimitrios Mouchtaris & Emmanouil Sofianos & Periklis Gogas & Theophilos Papadimitriou, 2021. "Forecasting Natural Gas Spot Prices with Machine Learning," Energies, MDPI, vol. 14(18), pages 1-13, September.
    18. Arfaoui, Nadia & Naeem, Muhammad Abubakr & Boubaker, Sabri & Mirza, Nawazish & Karim, Sitara, 2023. "Interdependence of clean energy and green markets with cryptocurrencies," Energy Economics, Elsevier, vol. 120(C).
    19. Umut Ugurlu & Ilkay Oksuz & Oktay Tas, 2018. "Electricity Price Forecasting Using Recurrent Neural Networks," Energies, MDPI, vol. 11(5), pages 1-23, May.
    20. Ferrari, Davide & Ravazzolo, Francesco & Vespignani, Joaquin, 2021. "Forecasting energy commodity prices: A large global dataset sparse approach," Energy Economics, Elsevier, vol. 98(C).

    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:14:y:2021:i:23:p:7987-:d:691284. 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.