IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i9p2060-d1133766.html
   My bibliography  Save this article

Temperature Time Series Prediction Model Based on Time Series Decomposition and Bi-LSTM Network

Author

Listed:
  • Kun Zhang

    (School of Mathematics, Hefei University of Technology, Hefei 230009, China)

  • Xing Huo

    (School of Mathematics, Hefei University of Technology, Hefei 230009, China)

  • Kun Shao

    (School of Software, Hefei University of Technology, Hefei 230009, China)

Abstract

Utilizing a temperature time-series prediction model to achieve good results can help us to accurately sense the changes occurring in temperature levels in advance, which is important for human life. However, the random fluctuations occurring in a temperature time series can reduce the accuracy of the prediction model. Decomposing the time-series data prior to performing a prediction can effectively reduce the influence of random fluctuations in the data and consequently improve the prediction accuracy results. In the present study, we propose a temperature time-series prediction model that combines the seasonal-trend decomposition procedure based on the loess (STL) decomposition method, the jumps upon spectrum and trend (JUST) algorithm, and the bidirectional long short-term memory (Bi-LSTM) network. This model can achieve daily average temperature predictions for cities located in China. Firstly, we decompose the time series into trend, seasonal, and residual components using the JUST and STL algorithms. Then, the components determined by the two methods are combined. Secondly, the three components and original data are fed into the two-layer Bi-LSTM model for training purposes. Finally, the prediction results achieved for both the components and original data are merged by learnable weights and output as the final result. The experimental results show that the average root mean square and average absolute errors of our proposed model on the dataset are 0.2187 and 0.1737, respectively, which are less than the values 4.3997 and 3.3349 attained for the Bi-LSTM model, 2.5343 and 1.9265 for the EMD-LSTM model, and 0.9336 and 0.7066 for the STL-LSTM model.

Suggested Citation

  • Kun Zhang & Xing Huo & Kun Shao, 2023. "Temperature Time Series Prediction Model Based on Time Series Decomposition and Bi-LSTM Network," Mathematics, MDPI, vol. 11(9), pages 1-16, April.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:9:p:2060-:d:1133766
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/9/2060/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/9/2060/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Helin Yin & Dong Jin & Yeong Hyeon Gu & Chang Jin Park & Sang Keun Han & Seong Joon Yoo, 2020. "STL-ATTLSTM: Vegetable Price Forecasting Using STL and Attention Mechanism-Based LSTM," Agriculture, MDPI, vol. 10(12), pages 1-17, December.
    2. Marshall Burke & Solomon M. Hsiang & Edward Miguel, 2015. "Global non-linear effect of temperature on economic production," Nature, Nature, vol. 527(7577), pages 235-239, November.
    3. Hossein Hassani & Saeed Heravi & Anatoly Zhigljavsky, 2013. "Forecasting UK Industrial Production with Multivariate Singular Spectrum Analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 32(5), pages 395-408, August.
    4. Hossein Hassani & Emmanuel Sirimal Silva, 2015. "A Kolmogorov-Smirnov Based Test for Comparing the Predictive Accuracy of Two Sets of Forecasts," Econometrics, MDPI, vol. 3(3), pages 1-20, August.
    5. Shalini Shekhawat & Akash Saxena & Ramadan A. Zeineldin & Ali Wagdy Mohamed, 2023. "Prediction of Infectious Disease to Reduce the Computation Stress on Medical and Health Care Facilitators," Mathematics, MDPI, vol. 11(2), pages 1-18, January.
    6. Umut Ugurlu & Ilkay Oksuz & Oktay Tas, 2018. "Electricity Price Forecasting Using Recurrent Neural Networks," Energies, MDPI, vol. 11(5), pages 1-23, May.
    7. Chimmula, Vinay Kumar Reddy & Zhang, Lei, 2020. "Time series forecasting of COVID-19 transmission in Canada using LSTM networks," Chaos, Solitons & Fractals, Elsevier, vol. 135(C).
    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. Hassani, Hossein & Silva, Emmanuel Sirimal & Gupta, Rangan & Das, Sonali, 2018. "Predicting global temperature anomaly: A definitive investigation using an ensemble of twelve competing forecasting models," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 509(C), pages 121-139.
    2. Hatice Öncel Çekim & Ahmet Koyuncu, 2022. "The Impact of Google Trends on the Tourist Arrivals: A Case of Antalya Tourism," Alphanumeric Journal, Bahadir Fatih Yildirim, vol. 10(1), pages 1-14, June.
    3. Silva, Emmanuel Sirimal & Ghodsi, Zara & Ghodsi, Mansi & Heravi, Saeed & Hassani, Hossein, 2017. "Cross country relations in European tourist arrivals," Annals of Tourism Research, Elsevier, vol. 63(C), pages 151-168.
    4. Hassani, Hossein & Silva, Emmanuel Sirimal & Antonakakis, Nikolaos & Filis, George & Gupta, Rangan, 2017. "Forecasting accuracy evaluation of tourist arrivals," Annals of Tourism Research, Elsevier, vol. 63(C), pages 112-127.
    5. Joaquín Bernal-Ramírez & Jair Ojeda-Joya & Camila Agudelo-Rivera & Felipe Clavijo-Ramírez & Carolina Durana-Ángel & Clark Granger-Castaño & Daniel Osorio-Rodríguez & Daniel Parra-Amado & José Pulido &, 2022. "Impacto macroeconómico del cambio climático en Colombia," Revista ESPE - Ensayos sobre Política Económica, Banco de la Republica de Colombia, issue 102, pages 1-62, July.
    6. Linsenmeier, Manuel & Shrader, Jeffrey G., 2023. "Global inequalities in weather forecasts," SocArXiv 7e2jf, Center for Open Science.
    7. Wang, Peipei & Zheng, Xinqi & Ai, Gang & Liu, Dongya & Zhu, Bangren, 2020. "Time series prediction for the epidemic trends of COVID-19 using the improved LSTM deep learning method: Case studies in Russia, Peru and Iran," Chaos, Solitons & Fractals, Elsevier, vol. 140(C).
    8. Wenju Cai & Yi Liu & Xiaopei Lin & Ziguang Li & Ying Zhang & David Newth, 2024. "Nonlinear country-heterogenous impact of the Indian Ocean Dipole on global economies," Nature Communications, Nature, vol. 15(1), pages 1-10, December.
    9. Lamperti, Francesco & Bosetti, Valentina & Roventini, Andrea & Tavoni, Massimo & Treibich, Tania, 2021. "Three green financial policies to address climate risks," Journal of Financial Stability, Elsevier, vol. 54(C).
    10. Erica Perego & Lionel Fontagné & Gianluca Santoni, 2022. "MaGE 3.1: Long-term macroeconomic projections of the World economy," International Economics, CEPII research center, issue 172, pages 168-189.
    11. Shao, Zhen & Zheng, Qingru & Yang, Shanlin & Gao, Fei & Cheng, Manli & Zhang, Qiang & Liu, Chen, 2020. "Modeling and forecasting the electricity clearing price: A novel BELM based pattern classification framework and a comparative analytic study on multi-layer BELM and LSTM," Energy Economics, Elsevier, vol. 86(C).
    12. Otto Brøns-Petersen & Søren Havn Gjedsted, 2021. "Climate change and institutional change: what is the relative importance for economic performance?," Environmental Economics and Policy Studies, Springer;Society for Environmental Economics and Policy Studies - SEEPS, vol. 23(2), pages 333-360, April.
    13. Martin Henseler & Ingmar Schumacher, 2019. "The impact of weather on economic growth and its production factors," Climatic Change, Springer, vol. 154(3), pages 417-433, June.
    14. Serhan Cevik, 2024. "Climate change and energy security: the dilemma or opportunity of the century?," Environmental Economics and Policy Studies, Springer;Society for Environmental Economics and Policy Studies - SEEPS, vol. 26(3), pages 653-672, July.
    15. Yifeng Xie & Haitao Wu & Ruikuan Yao, 2023. "The Impact of Climate Change on the Urban–Rural Income Gap in China," Agriculture, MDPI, vol. 13(9), pages 1-17, August.
    16. Md. Nazmul Hasan & Rafia Nishat Toma & Abdullah-Al Nahid & M M Manjurul Islam & Jong-Myon Kim, 2019. "Electricity Theft Detection in Smart Grid Systems: A CNN-LSTM Based Approach," Energies, MDPI, vol. 12(17), pages 1-18, August.
    17. Bógalo, Juan & Poncela, Pilar & Senra, Eva, 2017. "Automatic Signal Extraction for Stationary and Non-Stationary Time Series by Circulant SSA," MPRA Paper 76023, University Library of Munich, Germany.
    18. Hongbo Duan & Gupeng Zhang & Shouyang Wang & Ying Fan, 2018. "Balancing China’s climate damage risk against emission control costs," Mitigation and Adaptation Strategies for Global Change, Springer, vol. 23(3), pages 387-403, March.
    19. Luca Gerotto & Paolo Pellizzari, 2021. "A replication of Pindyck’s willingness to pay: on the efforts required to obtain results," SN Business & Economics, Springer, vol. 1(5), pages 1-25, May.
    20. Patrycja Klusak & Matthew Agarwala & Matt Burke & Moritz Kraemer & Kamiar Mohaddes, 2023. "Rising Temperatures, Falling Ratings: The Effect of Climate Change on Sovereign Creditworthiness," Management Science, INFORMS, vol. 69(12), pages 7468-7491, December.

    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:jmathe:v:11:y:2023:i:9:p:2060-:d:1133766. 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.