The Effects of Temperature Forecasting Using a Hybrid ARIMA-LSTM Model: A Case Study of Auckland, New Zealand

* Corresponding author: Ifra Shahzad ( ifrachattha31@gmail.com )
Available online November 27, 2026
PDF

Abstract

This research explores weather temperature prediction, focusing on its practical applications and how advanced Machine Learning techniques can improve temperature forecasting. The weather changes in New Zealand have been abrupt which has made temperature forecasting inefficient. It specifically examines the efficiency of Long Short-Term Memory (LSTM) a type of RNN and compare it with Auto-regressive Integrated Moving Average (ARIMA) statistical model to output forecasting capabilities and lastly a LSTM-residuals based hybrid ARIMA model to increase the forecasting capabilities that both the models were not able to achieve individually. The study utilizes the data from Auckland, New Zealand from January 2021 till April 2025 to train and assess the models to achieve robust temperature predictions. This paper finds key analysis in temperature forecasting research and explores their impact on industries and daily life. Accurate weather predictions are important for sectors like agriculture, transportation, and disaster management, where even small improvements can have significant effects. The LSTM model provided a high accuracy of 94.44% while ARIMA and Hybrid ARIMA models provided an accuracy of 92.22% and 96.82% respectively. The paper finds the combination of linear and non-linear data using a hybrid model being the best approach to predict the temperature.

Keywords

Weather forecasting machine learning LSTM ARIMA hybrid techniques

Introduction

Machine learning, a sub-group of artificial intelligence (AI) has played an important role in development on human civilization in terms of learning the data and bringing out recommended outputs based on the historical data[1, 2]. The application of machine learning algorithms has excelled across various industries, delivering precise recommendations and enabling accurate diagnostics[3-5]. Weather prediction, in particular, has a substantial impact on critical sectors such as agriculture, transportation, and disaster management [6]. Traditional forecasting methods often rely on complex mathematical models, which may struggle to account for the inherent unpredictability of weather systems. In contrast, machine learning has emerged as a powerful tool to enhance the accuracy of weather predictions[7].

By processing vast datasets, machine learning models can identify intricate patterns and produce more reliable forecasts. In weather forecasting, researchers have identified the Long Short-Term Memory (LSTM) approach as particularly effective[8]. Additionally, Autoregressive Integrated Moving Average (ARIMA) modeling can contribute to robust statistical frameworks by leveraging temporal dependencies, further supporting predictive accuracy. The current weather forecast provided by MetService in New Zealand has to deal with a lot of changes in weather as the changes are very frequent in New Zealand[9]. Accurate weather prediction remains a challenging task because of the inherent variability and nonlinear nature of atmospheric processes. Continued research into advanced forecasting techniques may contribute to improvements in forecasting accuracy. The challenges in weather prediction have been due to its surroundings of coasts from all sides. The wind changes weather very frequently which makes the prediction inaccurate several times. New advancements in modelling techniques can help us in overcoming the problems of inaccurate temperature forecasting and gaining more confident results. Moreover, this paper covers these key objectives:

  1. To analyse the factors that affect weather changes which will help in capturing the best features for forecasting.

  2. To design and implement a Long Short-Term Memory (LSTM) model and a statistical Autoregressive Integrated Moving Average (ARIMA) model for temperature forecasting.

  3. To develop a hybrid ARIMA-LSTM model that captures both linear and non-linear patterns in weather data to improve forecasting accuracy.

  4. To evaluate and compare the performance of the LSTM, ARIMA and hybrid models using statistical error metrics such as RMSE, MAE, with a focus on forecasting future temperatures.

The purpose of this research is to develop an accurate and reliable weather prediction model using Long Short-Term Memory (LSTM) networks and auto-regressive integrated moving average (ARIMA). Traditional forecasting methods often struggle with the complexity of weather patterns, leading to less precise predictions. By leveraging LSTM and ARIMA’s ability to capture long-term dependencies in time-series data and ARIMA’s linear pattern capturing ability, this research aims to improve forecast accuracy, which is crucial for sectors like agriculture, disaster management, and transportation. The importance lies in the potential to enhance public safety, optimize resource management, and support decision-making processes in weather-dependent industries, ultimately contributing economic well-being of New Zealand.

Complete Article

The complete article, including all figures, tables, equations and algorithms, is available in the official publication PDF.

Conclusion

The study addressed the problem of frequent temperature changes in the weather in New Zealand which is caused due to the surrounding of coastal regions. The research’s key aim was to predict the temperature changes on hourly basis which impacts businesses, transportation and more. The primary objective was to develop a robust hybrid model which could find short term non-linear as well as long term linear patterns in the data that could help in better decision making for businesses around New Zealand. The findings indicate that the previous generated models had very less data which hindered the performance of forecasting as well as the usage of models particularly in New Zealand. This inaccurate performance increased the challenges for businesses to run continuously without any prior preparedness. The analysis revealed key features that had direct correlation with temperature data and as well as indirect correlation.

This paper addressed the problem of capturing short-term temperature changes by incorporating a hybrid LSTM-ARIMA model which was successfully able to capture the reliable performance of 96.82% while having lowest error rates among other LSTM and ARIMA models, resulting in a RMSE of 0.60 Celsius error compared to actual data.

The result of this study carries several implications for the field of temperature forecasting. The effectiveness of the hybrid model confirms that integrating statistical techniques with deep learning techniques can yield more accurate and robust forecasts. Moreover, the model’s ability to achieve high accuracy with modest computational resources highlights the reliability of models to deploy for a real-world scenario, which could include regional weather stations as well as incorporate personally for businesses dependent on hourly or daily weather changes. The study was designed to perform temperature forecasting on local data and improve over it; therefore, the models performed well on local data, however, the study was limited by its geographic scope. The forecasting was based on univariate target temperature data from a single location, which limited the generalizability of the results to other regions and climates. The usage of spatial data could increase the performance of the hybrid model by extending the usage of variables.

Future work could extend this work by integrating agentic AI based LLM models which could provide improved forecasting as well as providing actions related to weather decisions for upcoming days. Integration of agentic AI framework will provide an autonomous, goal driven model that is capable of self-optimizing which could be curated to user defined objectives. This user defined agentic model could bring major impacts on agriculture automations, disaster preparedness. Overall, this paper contributes an efficient and robust forecasting model for short-term temperature forecasting, incorporating a hybrid model to fetch hidden patterns and provide scalable forecasting model for real world deployment. This research paper could improve the real-world day to day challenges faced by businesses to run smoothly and can have positive impact on businesses.

Data Availability

The dataset utilized in this study was sourced from the platform WorldWeatherOnline.com

References

  1. J. Wilson, S. E. Hosseini, and S. Pervez, “Identification of fake news in social media using sentimental analysis, ” in Proc. IEEE Industrial Electronics and Applications Conference (IEACon), 2023, pp. 220-224, doi: 10.1109/IEACon57683.2023.10370300
  2. S. M. S. Mohammadabadi et al., “Advancing electric vehicle ecosystems: A survey of generative artificial intelligence and distributed machine learning applications, ” Global Energy Interconnection, vol. 9, no. 2, pp. 315-336, 2026, doi: 10.1016/j.gloei.2025.10.010
  3. M. Rawat, S. E. Hosseini, and S. Pervez, “Sentiment analysis for assessing customer satisfaction in chatbot service encounters, ” in Proc. 16th International Conference on Developments in eSystems Engineering (DeSE), 2023, pp. 105-109, doi: 10.1109/DeSE60595.2023.10469554
  4. A. Zhou, M. Christensen, N. Kosari, and R. Wang, “Detection of the effects of salinity on different wheat lines using Raman spectroscopy and machine learning, ” SSRN Electron. J., preprint, 2026, doi: 10.2139/ssrn.6879729
  5. N. Kosari, B. Gustafson, and A. Zhou, “Probing cytotoxic and oxidative stress effects of nanoplastics on human intestinal Caco-2 cells: Insights from Raman spectroscopy and machine learning, ” Microsc. Microanal., vol. 31, suppl. 1, Art. no. ozaf048.455, 2025, doi: 10.1093/mam/ozaf048.455
  6. H.-W. Wang, Z.-R. Peng, D. Wang, Y. Meng, T. Wu, W. Sun, and Q.-C. Lu, “Evaluation and prediction of transportation resilience under extreme weather events: A diffusion graph convolutional approach, ” Transp. Res. Part C Emerg. Technol., vol. 115, Art. no. 102619, 2020, doi: 10.1016/j.trc.2020.102619
  7. S. Dadhich, V. Pathak, R. Mittal, and R. Doshi, “Machine learning for weather forecasting, ” in Machine Learning for Sustainable Development, 2021, pp. 161-174, doi: 10.1515/9783110702514-010
  8. Z. Karevan and J. A. K. Suykens, “Transductive LSTM for time-series prediction: An application to weather forecasting, ” Neural Netw., vol. 125, pp. 1-9, 2020, doi: 10.1016/j.neunet.2019.12.030
  9. E. Kropac, T. M"olg, and N. J. Cullen, “A new, high-resolution atmospheric dataset for southern New Zealand, 2005-2020, ” Geosci. Data J., vol. 11, no. 4, pp. 873-895, 2024, doi: 10.1002/gdj3.263
  10. A. Dahmani, Y. Ammi, K. Ikram, S. Kherrour, S. Hanini, R. Al-Sabur, M. Laidi, A. Ma'arif, and A.-N. Sharkawy, “Parametric analysis of climate factors for monthly weather prediction in Gharda"ia district using machine learning-based approach: ANN-MLPs, ” Int. J. Robot. Control Syst., vol. 5, no. 1, pp. 179-196, 2025, doi: 10.31763/ijrcs.v5i1.1651
  11. V. Sharmila, S. Kannadhasan, A. Rajiv Kannan, P. Sivakumar, and V. Vennila, Eds., Challenges in Information, Communication and Computing Technology: Proceedings of the 2nd International Conference on Challenges in Information, Communication, and Computing Technology (ICCICCT 2024). Boca Raton, FL, USA: CRC Press, 2024.
  12. Y. Gong, Y. Zhang, F. Wang, and C.-H. Lee, “Deep learning for weather forecasting: A CNN-LSTM hybrid model for predicting historical temperature data, ” arXiv preprint arXiv:2410.14963, 2024.
  13. X. Cui, Z. Wang, and R. Pei, “A VMD-MSMA-LSTM-ARIMA model for precipitation prediction, ” Hydrol. Sci. J., vol. 68, no. 6, pp. 810-839, 2023, doi: 10.1080/02626667.2023.2190896
  14. J. Shen, W. Wu, and Q. Xu, “Accurate prediction of temperature indicators in eastern China using a multi-scale CNN-LSTM-attention model, ” arXiv preprint arXiv:2412.07997, 2024.
  15. S. K. Nayak, S. Pattnaik, M. Siddique, M. Garanayak, and B. K. Paikaray, “A hybrid CNN-LSTM approach to enhancing temperature forecasting for environmental threats and risk management, ” Int. J. Bus. Contin. Risk Manag., vol. 14, no. 4, pp. 371-391, 2024, doi: 10.1504/IJBCRM.2024.142649
  16. A. Sharaff and S. R. Roy, “Comparative analysis of temperature prediction using regression methods and back propagation neural network, ” in Proc. 2nd International Conference on Trends in Electronics and Informatics (ICOEI), 2018, pp. 739-742, doi: 10.1109/ICOEI.2018.8553803
  17. M. G. Schultz, C. Betancourt, B. Gong, F. Kleinert, M. Langguth, L. H. Leufen, A. Mozaffari, and S. Stadtler, “Can deep learning beat numerical weather prediction?” Philos. Trans. R. Soc. A, vol. 379, no. 2194, Art. no. 20200097, 2021, doi: 10.1098/rsta.2020.0097
  18. V. V. Tidke, S. R. Gohane, A. A. Taile, and A. S. Shrikhande, “Weather forecasting using recurrent neural network, ” Int. Res. J. Mod. Eng. Technol. Sci., vol. 2, no. 5, May 2020.
  19. Y. Lai and D. A. Dzombak, “Use of the autoregressive integrated moving average (ARIMA) model to forecast near-term regional temperature and precipitation, ” Weather Forecast., vol. 35, no. 3, pp. 959-976, 2020, doi: 10.1175/WAF-D-19-0158.1
  20. J. A. Weyn, D. R. Durran, R. Caruana, and N. Cresswell-Clay, “Sub-seasonal forecasting with a large ensemble of deep-learning weather prediction models, ” J. Adv. Model. Earth Syst., vol. 13, no. 7, Art. no. e2021MS002502, 2021, doi: 10.1029/2021MS002502
  21. Y. Liu et al., “Ensemble forecasts of extreme flood events with weather forecasts, land surface modeling and deep learning, ” Water, vol. 16, no. 7, Art. no. 990, 2024, doi: 10.3390/w16070990
  22. R. Meenal, D. Binu, K. C. Ramya, P. A. Michael, K. Vinoth Kumar, E. Rajasekaran, and B. Sangeetha, “Weather forecasting for renewable energy system: A review, ” Arch. Comput. Methods Eng., vol. 29, no. 5, pp. 2875-2891, 2022, doi: 10.1007/s11831-021-09695-3
  23. W. McKinney, “pandas: A foundational Python library for data analysis and statistics, ” in Proc. PyHPC 2011: Python for High Performance and Scientific Computing, Seattle, WA, USA, 2011, pp. 1-9.
  24. A. Pal and P. K. S. Prakash, Practical Time Series Analysis: Master Time Series Data Processing, Visualization, and Modeling Using Python. Birmingham, U. K.: Packt Publishing, 2017.
  25. R. Iranzad and X. Liu, “A review of random forest-based feature selection methods for data science education and applications, ” Int. J. Data Sci. Anal., vol. 20, no. 2, pp. 197-211, 2025, doi: 10.1007/s41060-024-00509-w
  26. A. Allen et al., “End-to-end data-driven weather prediction, ” Nature, vol. 641, no. 8065, pp. 1172-1179, 2025, doi: 10.1038/s41586-025-08897-0
12 4

Similar Articles

11-19 of 19

You may also start an advanced similarity search for this article.