Forecasting of Rainfall in Malaysia Using Time Series Analysis

Read the full article See related articles

Discuss this preprint

Start a discussion What are Sciety discussions?

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

Abstract

Rainfall forecasting is a persistent challenge in hydrology, particularly in Malaysia, where intense and highly variable rainfall often leads to floods with severe social, economic, and environmental consequences. Rapid urbanisation and land-use changes have further increased the vulnerability of flood-prone areas, underscoring the urgent need for accurate and reliable rainfall predictions. An improved rainfall forecasting enhances disaster risk reduction and early warning systems, while strengthening sustainable water resource planning, climate adaptation, and resilient infrastructure development. This study aims to forecast monthly rainfall in three regions in Malaysia, Alor Setar, Subang, and Kuantan, representing distinct climatic and flood-prone areas, using the Seasonal-Trend decomposition using Loess (STL) combined with the Autoregressive Integrated Moving Average (STL-ARIMA) and Seasonal ARIMA (SARIMA) models. Monthly rainfall data from 2014 to 2023 were obtained from the Malaysian Meteorological Department and analysed using Python, with forecast accuracy assessed using standard error metrics. The results show that the SARIMA model is most accurate in forecasting monthly rainfall at Subang and Alor Setar, with mean absolute percentage errors (MAPEs) of 29.71% and 30.46%, respectively, while the STL-ARIMA model performs best in Kuantan, with a MAPE of 57.63%. Forecasts indicate that rainfall in Subang and Alor Setar will continue to exhibit strong seasonal fluctuations. In contrast, Kuantan is likely to experience continued variability in the coming months, suggesting an increased risk of flooding. These findings underscore the importance of accurate, region-specific rainfall forecasting to strengthen disaster preparedness, improve water resource management, and enhance resilience to climate change. Thus, the study directly contributes to achieving Sustainable Development Goals (SDG) 6 (Clean Water and Sanitation) and SDG 11 (Sustainable Cities and Communities).

Article activity feed