Extreme Rainfall Modelling Using Time-Varying Threshold Generalised Pareto Regression Trees
Abstract
1. Introduction
1.1. Rationale
1.2. Review of the Literature
1.3. Research Highlights and Contribution of the Study
- (a)
- Extends the GP regression tree framework by integrating a dynamic, covariate-dependent threshold, enhancing its ability to model non-stationary extreme rainfall processes.
- (b)
- Presents the first known application of a time-varying threshold GP regression tree in meteorological modelling, specifically applied to extreme rainfall in Durban, South Africa.
- (c)
- Effectively captures covariate-driven heterogeneity in extreme rainfall events by allowing both the threshold and GP parameters to vary with meteorological conditions, thereby identifying non-stationary behaviours often overlooked by static approaches.
- (d)
- Identifies four distinct climatic regimes, each characterised by unique GP parameters and return levels, enabling more localised and temporally adaptive estimation of rare rainfall extremes.
- (e)
- Benchmarks the proposed model against a fixed-threshold GP regression tree and a time-varying threshold GP distribution, consistently achieving superior performance as measured by the BIC and log-likelihood.
- (f)
- Improves return-level estimation by fitting GP models within homogeneous data segments, resulting in more precise quantification of rare rainfall magnitudes and frequencies for early-warning systems.
- (g)
- Provides practical implications for flood risk mitigation, infrastructure planning, and climate resilience, demonstrating the model’s value as a decision-support tool in climate-vulnerable regions.
2. Materials and Methods
2.1. Data Source and Area of Study
2.2. Regression Trees
2.2.1. Growing Phase
- Initialisation: The algorithm starts with all the data in one big group, with a single representing the initial group rule that applies to all data points at the very first step of the algorithm. Let , represent one group at the initial step.
- Recursive rule splitting: At each step , the existing rules are considered. For each rule :
- (a)
- If all observations satisfying share identical characteristics, the rule remains unchanged.
- (b)
- Otherwise, is split into two new rules and based on an optimal threshold . The threshold minimises the splitting criterionwhereThe best splitting variable a and the threshold selected as:The new rules are defined as follows:
- Stopping criteria: The growth continues until equals , indicating that no further splitting is possible, where denote the new number of current groups and representing the number of groups in the previous step.
2.2.2. Pruning Phase
2.3. Time-Varying Threshold Generalised Pareto Distribution
2.4. Time-Varying Threshold Generalised Pareto Regression Trees
2.5. Parameter Estimation
2.6. Threshold Selection
2.7. Benchmark Models
- Time-varying threshold GP regression tree (proposed model): The threshold varies dynamically with meteorological covariates via quantile regression; the covariate space is recursively partitioned using GPD log-likelihood splits; and local GPD parameters are estimated within each terminal node. Both regime discovery and threshold definition are covariate-dependent.
- Static threshold GP regression tree (Benchmark 1): Uses a single fixed threshold (8.3 mm, selected via the mean residual life plot) and employs the same recursive GPD partitioning as the proposed model. This benchmark isolates the contribution of the time-varying threshold.
- Time-varying threshold GPD (Benchmark 2): Applies a covariate-dependent threshold (as in the proposed model) but fits a single global GPD to all exceedances, without regime partitioning. This benchmark isolates the contribution of the regression tree structure.
2.8. Model Evaluation
2.9. Return Levels
3. Results
3.1. Time-Varying Threshold Selection Results
3.2. Time-Varying Threshold GP Regression Tree Model Fitting Results
3.3. Tree Pruning and Model Simplification
3.4. Model Evaluation Results
3.5. Return Levels Estimation
- (a)
- Identify the observations that belong to each terminal node in the pruned tree model.
- (b)
- Compute the 98th percentile rainfall value for each node to serve as the local threshold.
- (c)
- Count the number of exceedances above this local threshold that provide the data to fit the GPD within the node.
4. Discussion
5. Conclusions
- (a)
- Future work could extend the current framework into a spatio-temporal Generalised Pareto regression tree that simultaneously captures spatial dependence, temporal dynamics, and time-varying threshold behaviour of rainfall extremes across multiple locations. Such an extension would enhance the model’s ability to represent evolving regional patterns of extreme rainfall and improve both the spatial generalisability and temporal adaptability of predictions.
- (b)
- The integration of Generalised Pareto regression tree model with ensemble or boosting methods such as Gradient Boosting Extreme Value models, Extremal Random Forests, or Bayesian Additive Regression Trees could strengthen predictive stability, reduce model uncertainty, and improve performance in out-of-sample forecasting.
- (c)
- Coupling the GP regression tree framework with bias-corrected climate model projections, such as CMIP6 datasets, would enable probabilistic projections of future extreme rainfall risk under various climate scenarios. This approach could provide critical insights for long-term adaptation planning and infrastructure design.
- (d)
- Future research should undertake a systematic comparison between the proposed time-varying GP regression tree and other hybrid or ensemble-based extreme value models, such as Gradient Boosting Extreme Value models, Extremal Random Forests, and Bayesian Additive Regression Trees. Such a comparative evaluation would help determine the relative strengths and limitations of each approach in terms of predictive accuracy, interpretability, and uncertainty quantification, thereby providing deeper insights into model robustness and suitability for operational extreme-event forecasting.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Nhamo, G.; Chapungu, L.; Mutanda, G.W. Trends and impacts of climate-induced extreme weather events in South Africa (1920–2023). Environ. Dev. 2025, 55, 101183. [Google Scholar] [CrossRef]
- Ebi, K.L.; Vanos, J.; Baldwin, J.W.; Bell, J.E.; Hondula, D.M.; Errett, N.A.; Hayes, K.; Reid, C.E.; Saha, S.; Spector, J.; et al. Extreme weather and climate change: Population health and health system implications. Annu. Rev. Public Health 2021, 42, 293–315. [Google Scholar] [CrossRef] [PubMed]
- Myhre, G.; Alterskjær, K.; Stjern, C.W.; Hodnebrog, Ø.; Marelle, L.; Samset, B.H.; Sillmann, J.; Schaller, N.; Fischer, E.; Schulz, M.; et al. Frequency of extreme precipitation increases extensively with event rareness under global warming. Sci. Rep. 2019, 9, 16063. [Google Scholar] [CrossRef] [PubMed]
- Bopape, M.M.; Keebine, G.; Ndarana, T.; Mbokodo, I.L.; Hlahane, K.; Motshegwa, T.; Amha, Y.; Ogega, O.M.; Mfopa, C.; Mahlobo, D.D.; et al. Weather related disasters in South Africa from 1980 to 2023. Environ. Dev. 2025, 56, 101254. [Google Scholar] [CrossRef]
- South African History Online. At Least 100 People Drown in a Flood at Laingsburg. South African History Online. 16 March 2011. Available online: https://sahistory.org.za/dated-event/least-100-people-drown-flood-laingsburg (accessed on 21 October 2025).
- Grab, S.W.; Nash, D.J. A new flood chronology for KwaZulu-Natal (1836–2022): The April 2022 Durban floods in historical context. S. Afr. Geogr. J. 2024, 106, 476–497. Available online: https://hdl.handle.net/10520/ejc-sageo_v106_n4_a476 (accessed on 25 May 2026). [CrossRef]
- Pinto, I.; Zachariah, M.; Wolski, P.; Landman, S.; Phakula, V.; Maluleke, W.; Bopape, M.-J.; Engelbrecht, C.; Jack, C.; McClure, A.; et al. Climate Change Exacerbated Rainfall Causing Devastating Flooding in Eastern South Africa. World Weather Attribution. 2022. Available online: https://www.worldweatherattribution.org/climate-change-exacerbated-rainfall-causing-devastating-flooding-in-eastern-south-africa/ (accessed on 25 May 2026).
- Jury, M.R.; Lindesay, J.A.; Wittmeyer, I. Flood episodes in central South Africa from satellite and ECMWF data. S. Afr. J. Sci. 1993, 89, 263–269. [Google Scholar]
- Presidential Climate Commission. A Critical Analysis of the Impacts of and Responses to the April–May 2022 Floods in KwaZulu-Natal; Republic of South Africa: Rosebank, South Africa, 2023; Available online: https://pccommissionflo.imgix.net/uploads/images/PCC-Brief-KZN-Floods.pdf (accessed on 23 October 2025).
- Martel, J.-L.; Brissette, F.P.; Lucas-Picher, P.; Troin, M.; Arsenault, R. Climate change and rainfall intensity–duration–frequency curves: Overview of science and guidelines for adaptation. J. Hydrol. Eng. 2021, 26, 03121001. [Google Scholar] [CrossRef]
- Merz, B.; Kuhlicke, C.; Kunz, M.; Pittore, M.; Babeyko, A.; Bresch, D.N.; Domeisen, D.I.V.; Feser, F.; Koszalka, I.; Kreibich, H.; et al. Impact forecasting to support emergency management of natural hazards. Rev. Geophys. 2020, 58, e2020RG000704. [Google Scholar] [CrossRef]
- Wani, O.A.; Mahdi, S.S.; Yeasin, M.; Kumar, S.S.; Gagnon, A.S.; Danish, F.; Al-Ansari, N.; El-Hendawy, S.; Mattar, M.A. Predicting rainfall using machine learning, deep learning, and time series models across an altitudinal gradient in the North-Western Himalayas. Sci. Rep. 2024, 14, 27876. [Google Scholar] [CrossRef]
- Xuan, Z.-y.; Zheng, F.; Zhu, J. The effectiveness of machine learning methods in the nonlinear coupled data assimilation. Geosci. Lett. 2024, 11, 43. [Google Scholar] [CrossRef]
- Coles, S.; Bawa, J.; Trenner, L.; Dorazio, P. An Introduction to Statistical Modeling of Extreme Values; Springer: London, UK, 2001. [Google Scholar]
- Barakat, H.M.; Khaled, O.M.; Nigm, E.S.M. Statistical Techniques for Modelling Extreme Value Data and Related Applications; Cambridge Scholars Publishing: London, UK, 2019. [Google Scholar]
- Phoophiwfa, T.; Chomphuwiset, P.; Prahadchai, T.; Park, J.-S.; Apichottanakul, A.; Theppang, W.; Busababodhin, P. Employing the generalized Pareto distribution to analyze extreme rainfall events on consecutive rainy days in Thailand’s Chi watershed: Implications for flood management. Hydrol. Earth Syst. Sci. 2024, 28, 801–816. [Google Scholar] [CrossRef]
- Singirankabo, E.; Iyamuremye, E. Modelling extreme rainfall events in Kigali city using generalized Pareto distribution. Meteorol. Appl. 2022, 29, e2076. [Google Scholar] [CrossRef]
- Sunday, S.B.; Agog, N.S.; Magdalene, P.; Mubarak, A.; Anyam, G.K. Modeling extreme rainfall in Kaduna using the generalised extreme value distribution. Sci. World J. 2020, 15, 73–77. [Google Scholar]
- McBride, C.M.; Kruger, A.C.; Dyson, L. Changes in extreme daily rainfall characteristics in South Africa: 1921–2020. Weather Clim. Extrem. 2022, 38, 100517. [Google Scholar] [CrossRef]
- Sikhwari, T.; Nethengwe, N.; Sigauke, C.; Chikoore, H. Modelling of extremely high rainfall in Limpopo Province of South Africa. Climate 2022, 10, 33. [Google Scholar] [CrossRef]
- Musayidizi, J.D. Peak-over-threshold analysis of extreme Rainfall in the North Western Region of Rwanda. Ph.D. Thesis, University of Rwanda, Kigali, Rwanda, 2022. [Google Scholar]
- Tugrul, T.; Oruc, S.; Gunes, B. Quantifying future rainfall extremes in Türkiye: A CMIP6 ensemble approach with statistical downscaling. Acta Geophys. 2025, 73, 3477–3494. [Google Scholar] [CrossRef]
- Garba, I.; Abdourahamane, Z.S. Extreme rainfall characterisation under climate change and rapid population growth in the city of Niamey, Niger. Heliyon 2023, 9, e13326. [Google Scholar] [CrossRef] [PubMed]
- Patil, K.R.; Doi, T.; Behera, S.K. Predicting extreme floods and droughts in East Africa using a deep learning approach. npj Clim. Atmos. Sci. 2023, 6, 108. [Google Scholar] [CrossRef]
- Kagabo, J.; Kattel, G.R.; Kazora, J.; Shangwe, C.N.; Habiyakare, F. Application of machine learning algorithms in predicting extreme rainfall events in Rwanda. Atmosphere 2024, 15, 691. [Google Scholar] [CrossRef]
- Ebtehaj, I.; Bonakdari, H. CNN vs. LSTM: A comparative study of hourly precipitation intensity prediction as a key factor in flood forecasting frameworks. Atmosphere 2024, 15, 1082. [Google Scholar] [CrossRef]
- Saubhagya, S.; Tilakaratne, C.; Lakraj, P.; Mammadov, M. Granger Causality-Based Forecasting Model for Rainfall at Ratnapura Area, Sri Lanka: A Deep Learning Approach. Forecasting 2024, 6, 1124–1151. [Google Scholar] [CrossRef]
- Mdegela, L.; Municio, E.; De Bock, Y.; Luhanga, E.; Leo, J.; Mannens, E. Extreme rainfall event classification using machine learning for Kikuletwa River floods. Water 2023, 15, 1021. [Google Scholar] [CrossRef]
- Ogunniyi, J.A.; Abd Elbasit, M.A.M.; Obagbuwa, I.C. Monthly rainfall prediction for different climatic zones in South Africa for 2024 using a random forest model. Edelweiss Appl. Sci. Technol. 2024, 8, 1805–1827. Available online: https://learning-gate.com/index.php/2576-8484/article/view/2347/910 (accessed on 25 May 2026). [CrossRef]
- Anco-Valdivia, J.; Valencia-Félix, S.; Vigil, A.J.E.; Anco, G.; Booker, J.; Juarez-Quispe, J.; Rojas-Chura, E. Precipitation Return Period Estimation Using Random Forest: A Comparative Analysis with Probability Density Functions Using Outdated Weather Station Data. Preprints 2024, 2024110492. Available online: https://www.preprints.org/manuscript/202411.0492/v1 (accessed on 25 May 2026).
- Velthoen, J.; Dombry, C.; Cai, J.-J.; Engelke, S. Gradient boosting for extreme quantile regression. Extremes 2023, 26, 639–667. [Google Scholar] [CrossRef]
- Gnecco, N.; Terefe, E.M.; Engelke, S. Extremal random forests. J. Am. Stat. Assoc. 2024, 119, 3059–3072. [Google Scholar] [CrossRef]
- Grazzini, F.; Dorrington, J.; Grams, C.M.; Craig, G.C.; Magnusson, L.; Vitart, F. Improving forecasts of precipitation extremes over northern and central Italy using machine learning. Q. J. R. Meteorol. Soc. 2024, 150, 3167–3181. [Google Scholar] [CrossRef]
- Farkas, S.; Lopez, O.; Thomas, M. Cyber Claim Analysis Through Generalized Pareto Regression Trees with Applications to Insurance. 2020. Available online: https://hal.science/hal-02118080 (accessed on 15 October 2025).
- Farkas, S.; Lopez, O.; Thomas, M. Cyber claim analysis using Generalized Pareto regression trees with applications to insurance. Insur. Math. Econ. 2021, 98, 92–105. [Google Scholar] [CrossRef]
- Farkas, S.; Heranval, A.; Lopez, O.; Thomas, M. Generalized Pareto regression trees for extreme event analysis. Extremes 2024, 27, 437–477. [Google Scholar] [CrossRef]
- IOL. Durban Floods ‘Most Catastrophic Natural Disaster’ to Ever Hit KZN–Study. 2024. Available online: https://www.iol.co.za/news/environment/durban-floods-most-catastrophic-natural-disaster-to-ever-hit-kzn-study-5d164bd0-9110-4379-9a3e-c9004fb34875 (accessed on 14 October 2025).
- Davison, A.C.; Smith, R.L. Models for exceedances over high thresholds. J. R. Stat. Soc. Ser. B Stat. Methodol. 1990, 52, 393–425. [Google Scholar] [CrossRef]





| Min | Max | Mean | Standard Deviation | Skewness | Kurtosis |
|---|---|---|---|---|---|
| 0.01 | 130.9 | 3.2 | 7.3 | 6.3 | 60.7 |
| Variable | Description |
|---|---|
| T2M | Temperature at 2 m (°C) |
| T2M_MAX | Maximum temperature at 2 m (°C) |
| T2M_MIN | Minimum temperature at 2 m (°C) |
| PS | Surface pressure (kPa) |
| WS10M | Wind speed at 10 m (m/s) |
| WS2M | Wind speed at 2 m (m/s) |
| WS10M_MAX | Maximum wind speed at 10 m (m/s) |
| WS10M_MIN | Minimum wind speed at 10 m (m/s) |
| WS2M_MAX | Maximum wind speed at 2 m (m/s) |
| WS2M_MIN | Minimum wind speed at 2 m (m/s) |
| WD10M | Wind direction at 10 m (degrees) |
| WD2M | Wind direction at 2 m (degrees) |
| RH2M | Relative humidity at 2 m (%) |
| YEAR | Calendar year |
| DOY | Day of year (1–365/366) |
| Benchmark Model | BIC | Log-Likelihood |
|---|---|---|
| Training data | ||
| Time-varying threshold GP regression tree | 5484.592 | −2705.245 |
| Static threshold GP regression tree | 6822.345 | −3179.606 |
| Time-varying threshold GPD | 7936.860 | −3961.474 |
| Testing data | ||
| Time-varying threshold GP regression tree | 5473.503 | −2736.418 |
| Static threshold GP regression tree | 6753.044 | −3215.872 |
| Time-varying threshold GPD | – | – |
| Terminal Node | Sample Size | Local Threshold (mm) | Exceedances |
|---|---|---|---|
| 1 | 1356 | 5.756 | 28 |
| 2 | 3210 | 32.882 | 65 |
| 3 | 2852 | 11.049 | 58 |
| 4 | 3119 | 26.210 | 63 |
| Terminal Node | (95% CI) | Return Period (Years) | Return Level (95% CI) | |
|---|---|---|---|---|
| 1 | 0.492 (; 1.109) | 2.558 | 10 | 14.84 (10.47; 19.56) |
| 20 | 19.52 (12.43; 28.36) | |||
| 50 | 27.45 (15.15; 45.71) | |||
| 100 | 35.11 (17.13; 65.09) | |||
| 150 | 40.41 (18.11; 79.88) | |||
| 200 | 44.59 (18.90; 93.97) | |||
| 2 | 0.036 (; 0.339) | 4.411 | 10 | 31.60 (15.60; 47.61) |
| 20 | 35.22 (14.05; 56.39) | |||
| 50 | 40.14 (10.76; 69.51) | |||
| 100 | 43.97 (7.28; 80.66) | |||
| 150 | 46.26 (4.82; 87.69) | |||
| 200 | 47.90 (2.89; 92.91) | |||
| 3 | (; 0.061) | 30.742 | 10 | 122.09 (69.26; 174.92) |
| 20 | 130.63 (67.70; 193.56) | |||
| 50 | 140.26 (64.03; 216.49) | |||
| 100 | 146.47 (60.41; 232.54) | |||
| 150 | 149.74 (58.06; 241.41) | |||
| 200 | 151.90 (56.32; 247.48) | |||
| 4 | (; 0.197) | 11.271 | 10 | 67.29 (39.67; 94.90) |
| 20 | 72.69 (38.11; 107.27) | |||
| 50 | 79.40 (34.73; 124.06) | |||
| 100 | 84.16 (31.29; 137.02) | |||
| 150 | 86.82 (28.96; 144.68) | |||
| 200 | 88.66 (27.17; 150.15) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Sebola, M.L.; Maposa, D. Extreme Rainfall Modelling Using Time-Varying Threshold Generalised Pareto Regression Trees. Stats 2026, 9, 53. https://doi.org/10.3390/stats9030053
Sebola ML, Maposa D. Extreme Rainfall Modelling Using Time-Varying Threshold Generalised Pareto Regression Trees. Stats. 2026; 9(3):53. https://doi.org/10.3390/stats9030053
Chicago/Turabian StyleSebola, Matome Lesley, and Daniel Maposa. 2026. "Extreme Rainfall Modelling Using Time-Varying Threshold Generalised Pareto Regression Trees" Stats 9, no. 3: 53. https://doi.org/10.3390/stats9030053
APA StyleSebola, M. L., & Maposa, D. (2026). Extreme Rainfall Modelling Using Time-Varying Threshold Generalised Pareto Regression Trees. Stats, 9(3), 53. https://doi.org/10.3390/stats9030053

