Rainfall frequency and uncertainty analysis in arid regions using machine learning and statistical distribution models based on a 91-year rainfall record.
{"title":"Rainfall frequency and uncertainty analysis in arid regions using machine learning and statistical distribution models based on a 91-year rainfall record.","authors":"Mohammed Hagage","doi":"10.1038/s41598-026-68681-6","DOIUrl":null,"url":null,"abstract":"<p><p>Accurate estimation of rainfall depths associated with standard return periods is fundamental for hydraulic design, flood risk assessment, and water resources management, particularly in arid regions. Statistical extreme value distributions have long been the standard approach for rainfall frequency analysis, whereas machine learning (ML) has recently emerged as a potential alternative. This study presents a comprehensive comparison between twenty-five statistical distribution models and three supervised ML regressors-Support Vector Machine (SVM), Random Forest (RF), and Extreme Gradient Boosting Regressor (XGBR)-for Annual Maximum Daily Rainfall (AMDR) frequency analysis using a 91-year record (1931-2021) from the Suez meteorological station, Egypt. Prior to frequency analysis, the AMDR series was verified to satisfy the assumptions of stationarity and serial independence using the Mann-Kendall test, Sen's slope estimator, and Lag-1 autocorrelation analysis. Statistical distribution models were implemented in HEC-SSP using Weibull plotting positions, whereas the ML models were developed in Python using exceedance probability as the sole predictor to enable a direct and consistent comparison with statistical frequency models. Model performance was evaluated using the coefficient of determination (R<sup>2</sup>), mean squared error (MSE), root mean squared error (RMSE), and mean absolute error (MAE), while predictive uncertainty was quantified using 90% bootstrap confidence intervals. The results demonstrate that statistical distribution models consistently outperformed the ML regressors across all performance metrics. The Generalized Extreme Value distribution fitted using Maximum Likelihood Estimation (GEVMLE) achieved the highest predictive performance (R<sup>2</sup> = 0.968; RMSE = 1.512 mm), followed by GEVLM and GLLM. In contrast, the ML models exhibited substantially lower predictive accuracy (R<sup>2</sup> = 0.280 for RF, 0.258 for XGBR, and 0.087 for SVM) and showed limited capability for extrapolating rainfall extremes beyond the observed data range at longer return periods (T ≥ 25 years). The ML models also produced comparatively narrow confidence intervals, reflecting the limited variability represented within the training domain, whereas the GEV-based statistical models provided more realistic uncertainty estimates for extreme rainfall quantiles. Overall, the findings indicate that extreme value distributions, particularly the GEV models, remain more robust than ML regressors for rainfall frequency analysis when only long-term single-variable rainfall records are available. GEVMLE is therefore recommended for rainfall frequency analysis at the Suez station and similar arid coastal environments. Future research should investigate hybrid frameworks that integrate extreme value theory with machine learning using multi-variable climatic predictors to improve extrapolation capability and uncertainty representation.</p>","PeriodicalId":21811,"journal":{"name":"Scientific Reports","volume":"16 1","pages":""},"PeriodicalIF":4.9000,"publicationDate":"2026-09-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13578317/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Reports","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.1038/s41598-026-68681-6","RegionNum":2,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate estimation of rainfall depths associated with standard return periods is fundamental for hydraulic design, flood risk assessment, and water resources management, particularly in arid regions. Statistical extreme value distributions have long been the standard approach for rainfall frequency analysis, whereas machine learning (ML) has recently emerged as a potential alternative. This study presents a comprehensive comparison between twenty-five statistical distribution models and three supervised ML regressors-Support Vector Machine (SVM), Random Forest (RF), and Extreme Gradient Boosting Regressor (XGBR)-for Annual Maximum Daily Rainfall (AMDR) frequency analysis using a 91-year record (1931-2021) from the Suez meteorological station, Egypt. Prior to frequency analysis, the AMDR series was verified to satisfy the assumptions of stationarity and serial independence using the Mann-Kendall test, Sen's slope estimator, and Lag-1 autocorrelation analysis. Statistical distribution models were implemented in HEC-SSP using Weibull plotting positions, whereas the ML models were developed in Python using exceedance probability as the sole predictor to enable a direct and consistent comparison with statistical frequency models. Model performance was evaluated using the coefficient of determination (R2), mean squared error (MSE), root mean squared error (RMSE), and mean absolute error (MAE), while predictive uncertainty was quantified using 90% bootstrap confidence intervals. The results demonstrate that statistical distribution models consistently outperformed the ML regressors across all performance metrics. The Generalized Extreme Value distribution fitted using Maximum Likelihood Estimation (GEVMLE) achieved the highest predictive performance (R2 = 0.968; RMSE = 1.512 mm), followed by GEVLM and GLLM. In contrast, the ML models exhibited substantially lower predictive accuracy (R2 = 0.280 for RF, 0.258 for XGBR, and 0.087 for SVM) and showed limited capability for extrapolating rainfall extremes beyond the observed data range at longer return periods (T ≥ 25 years). The ML models also produced comparatively narrow confidence intervals, reflecting the limited variability represented within the training domain, whereas the GEV-based statistical models provided more realistic uncertainty estimates for extreme rainfall quantiles. Overall, the findings indicate that extreme value distributions, particularly the GEV models, remain more robust than ML regressors for rainfall frequency analysis when only long-term single-variable rainfall records are available. GEVMLE is therefore recommended for rainfall frequency analysis at the Suez station and similar arid coastal environments. Future research should investigate hybrid frameworks that integrate extreme value theory with machine learning using multi-variable climatic predictors to improve extrapolation capability and uncertainty representation.
期刊介绍:
We publish original research from all areas of the natural sciences, psychology, medicine and engineering. You can learn more about what we publish by browsing our specific scientific subject areas below or explore Scientific Reports by browsing all articles and collections.
Scientific Reports has a 2-year impact factor: 4.380 (2021), and is the 6th most-cited journal in the world, with more than 540,000 citations in 2020 (Clarivate Analytics, 2021).
•Engineering
Engineering covers all aspects of engineering, technology, and applied science. It plays a crucial role in the development of technologies to address some of the world''s biggest challenges, helping to save lives and improve the way we live.
•Physical sciences
Physical sciences are those academic disciplines that aim to uncover the underlying laws of nature — often written in the language of mathematics. It is a collective term for areas of study including astronomy, chemistry, materials science and physics.
•Earth and environmental sciences
Earth and environmental sciences cover all aspects of Earth and planetary science and broadly encompass solid Earth processes, surface and atmospheric dynamics, Earth system history, climate and climate change, marine and freshwater systems, and ecology. It also considers the interactions between humans and these systems.
•Biological sciences
Biological sciences encompass all the divisions of natural sciences examining various aspects of vital processes. The concept includes anatomy, physiology, cell biology, biochemistry and biophysics, and covers all organisms from microorganisms, animals to plants.
•Health sciences
The health sciences study health, disease and healthcare. This field of study aims to develop knowledge, interventions and technology for use in healthcare to improve the treatment of patients.