betaFeedback

WorksMathematics

Existence and consistency of weighted maximum likelihood estimator for extreme quantile regression

Abstract

Estimating extreme conditional quantiles faces two major challenges: understanding complex nonlinear relationships between variables and accurately extrapolating into the tails of the distribution, where data are sparse. To address both issues, we introduce a novel approach that combines the theoretical framework of block maxima with the predictive power of generalized random forests. The conditional distribution of maxima is modeled by a generalized extreme value (GEV) distribution whose parameters depend on the covariates and are estimated via a weighted maximum likelihood procedure, with weights derived from generalized random forests to capture complex high-dimensional structures. The conditional quantile estimator follows from the inversion of the estimated GEV distribution function. We establish theoretical results ensuring the existence and consistency of the proposed weighted maximum likelihood estimator. The method provides a robust and flexible framework for extreme quantile regression. The performance of the proposed approach is illustrated using simulated data, as well as an application to financial portfolio losses from stocks listed on the NYSE, AMEX, and NASDAQ.

Introduction

Quantile regression is a statistical method based on the estimation of conditional quantiles. More precisely, given a response variable Y∈Y⊂RY \in\mathcal{Y} \subset\mathbb{R} depending on a covariate X∈X⊂RpX \in\mathcal{X} \subset\mathbb{R}^{p}, the objective of quantile regression is to estimate the conditional quantile Qτ(Y∣X=x)Q_{\tau}(Y \mid X = x) of the response variable YY given X=xX = x, for any τ∈(0,1)\tau\in(0,1) (Koenker and Bassett [25]). Although this method provides more comprehensive information on the distribution of YY as a function of the predictor variable XX than the conditional mean alone, it faces two main challenges. The first arises when the relationship between the quantile function Qτ(Y∣X=x)Q_{\tau}(Y \mid X = x) and the covariate xx is complex and highly nonlinear, and when the dimension pp of the predictor space X\mathcal{X} is large. The second difficulty arises when we want to estimate a conditional quantile corresponding to an extreme probability level, that is, a quantile of level τn→1\tau_n \to1 such that n(1−τn)n(1-\tau_n) remains finite when n→∞n \to\infty, where nn denotes the size of the available sample. This situation poses a real challenge, as the estimation requires extrapolation in the tail of the distribution, which is often problematic due to the scarcity of data in this region. In this paper, we propose a method for estimating the conditional quantile that simultaneously addresses these two issues.

It should be noted that the methods proposed in the literature for estimating extreme conditional quantiles can broadly be classified into several groups (Wang and Li [36]). The first consists in directly applying quantile regression to model extreme conditional quantiles, without imposing any assumptions on the conditional distribution Y∣X=xY \mid X = x. However, this approach suffers from a lack of reliability when extrapolating in the tail of the distribution, which corresponds to an area of low data density ([9, 5, 23]). The second extends extreme value theory to the regression framework by adopting a local estimation method, based on neighborhoods of xx, for the conditional quantile of YY given X=xX = x. The performance of this approach therefore depends heavily on the density of the data around the considered point xx ([19, 13, 20]). The third combines quantile regression and extreme value theory, making certain assumptions about the behavior of the tails. These assumptions, which are often restrictive, such as linearity ([7, 37]) or tail equivalence ([36]), may fail in real-world applications, particularly when the shape of the distribution varies according to the covariates. Finally, the fourth class is based on parametric models, under the assumption that the distribution tail follows either a generalized Pareto distribution (GPD) or a generalized extreme value distribution (GEV), with parameters depending on covariates, either parametrically ([36, 38]) or nonparametrically ([21, 29, 33, 15]). However, this approach requires delicate choices, such as the selection of thresholds or block sizes. The conditional quantile of order τ\tau is defined by Qτ(Y∣X=x)=inf⁡{y:FY∣X=x(y)≥τ}Q_\tau(Y \mid X = x) = \inf\{y : F_{Y\mid X=x}(y) \ge\tau\}, and, when the conditional distribution FY∣X=x(⋅)F_{Y\mid X=x}(\cdot) is continuous, this amounts to:

Qτ(Y∣X=x)=FY∣X=x−1(τ),(1)Q_\tau(Y \mid X = x) = F^{-1}_{Y\mid X=x}(\tau), \tag*{(1)}

for all x∈Xx \in\mathcal{X} and τ∈(0,1)\tau\in(0,1). For simplicity of notation, we will denote in the following Qx(τ)Q_x(\tau) to refer to the conditional quantile function Qτ(Y∣X=x)Q_\tau(Y \mid X = x). Extreme value theory facilitates extrapolation into the tail of the distribution and is widely used in the literature to address the second challenge of quantile regression mentioned above. For a detailed review, see for example Beyerlein [3] and Koenker et al. [26]. Regarding the first challenge, several models based on statistical learning methods have been proposed ([28, 1, 10]). More recent works have attempted to address both challenges simultaneously, mainly by combining the Peak Over Threshold (POT) approach from extreme value theory with different statistical learning methods. Among these are models based on gradient boosting ([33]), generalized additive models ([39], neural networks ([29], and models using generalized random forests ([21]). The method proposed in this work is an extension of these approaches within the block maxima (BM) framework, which is preferred in many fields when modeling extremes, particularly in meteorology [2], risk analysis [8], and hydrology. More specifically, in order to facilitate extrapolation into the tail of the distribution and address the second challenge of quantile regression, we use the generalized extreme value (GEV) distribution, with parameters depending on the covariate xx, to model block maxima. These parameters are then estimated via weighted likelihood, with weights obtained from the generalized random forest (grf) method introduced by Athey et al. [1]. Thus, the distribution FY∣X=x(⋅)F_{Y\mid X=x}(\cdot) in equation (1) is approximated by the GEV distribution, explicitly defined by:

G(ξ(x),μ(x),σ(x))(z)={exp⁡(−(1+ξ(x)z−μ(x)σ(x))−1/ξ(x)),if ξ(x)≠0,exp⁡(−exp⁡(−z−μ(x)σ(x))),if ξ(x)=0.G_{(\xi(x),\mu(x),\sigma(x))}(z)= \begin{cases} \exp\left(-\left(1+\xi(x)\frac{z-\mu(x)}{\sigma(x)}\right)^{-1/\xi(x)}\right), & \text{if }\xi(x)\ne0,\\ \exp\left(-\exp\left(-\frac{z-\mu(x)}{\sigma(x)}\right)\right), & \text{if }\xi(x)=0. \end{cases}

defined on {z∈R:1+ξ(x)z−μ(x)σ(x)>0}\left\{z \in\mathbb{R}: 1+\xi(x)\frac{z-\mu(x)}{\sigma(x)}>0\right\} for all x∈Xx \in\mathcal{X} with a+=max⁡{0,a}a_+ = \max\{0,a\}. We estimate θ(x)=(μ(x),σ(x),ξ(x))\theta(x)=(\mu(x),\sigma(x),\xi(x)) by

θ^n(x)∈arg⁡max⁡θ∈ΘLn(θ;x)\hat{\theta}_n(x) \in\arg\max_{\theta\in\Theta} L_n(\theta;x)

where Ln(θ;x)L_n(\theta;x) is given by Ln(θ;x)=∑i=1nwi(x)ℓθ(zi)L_n(\theta;x)=\sum_{i=1}^n w_i(x)\ell_\theta(z_i) with ℓθ(z)=log⁡(dGμ,σ,ξ(z)dz)\ell_\theta(z)=\log\left(\frac{dG_{\mu,\sigma,\xi}(z)}{dz}\right), and wi(x)w_i(x) for all i=1,…,ni=1,\ldots,n, representing weights obtained through the grf method. These weights are used to address the first challenge, namely capturing the complex structure in the data and facilitating estimation when the dimension pp of the covariate space X\mathcal{X} is large. Based on this estimation, the conditional quantile is obtained by plugging the estimated GEV distribution with parameter θ^n(x)\hat{\theta}_n(x) into equation (1), thereby yielding the conditional quantile estimator.

The main contribution of this paper is therefore theoretical. Under a conditional max-domain-of-attraction assumption and suitable regularity conditions on the grf weights, the distribution of the covariates associated with the block maxima, and the block size, we establish the existence of a local weighted maximum likelihood estimator and prove its consistency. More specifically, for a fixed covariate value xx, we show that the estimated shape parameter converges in probability to the conditional extreme value index, while the location and scale parameters converge to the corresponding normalizing sequences. As a consequence, the conditional extreme quantile estimator obtained by inversion of the fitted GEV distribution is also consistent. The proof combines the asymptotic arguments developed for GEV maximum likelihood estimation by Dombry [14] with properties of generalized random forest weights, particularly their localization and boundedness properties. This theoretical result provides a foundation for the use of grf-weighted GEV estimation in conditional extreme quantile regression. It also complements recent work on generalized random forest methods for extreme quantile regression (see Vidagbandji et al. [31] and Vidagbandji et al. [32]), which focused primarily on methodological and applied aspects. In contrast, the present paper focuses on the theoretical properties of the underlying unpenalized estimator.

The remainder of the paper is organized as follows. § 2 introduces the notation and provides the necessary background on generalized random forests and block maxima approach from extreme value theory, which are essential for establishing the consistency result of the proposed estimator, which will be presented in § 3. The § 4 is devoted to the proof of the existence and the consistency theorem. Finally, § 5 and § 6 assess the performance of our approach through simulations and real data, comparing it with several existing methods.

Proposed method

We first introduce the statistical framework underlying the proposed estimator. We briefly recall generalized random forests for conditional quantile estimation and the block maxima approach from extreme value theory. These ingredients are then combined to construct a locally weighted GEV likelihood for conditional extreme quantile estimation.

Quantile regression and Generalized random forest

Let (X1,Y1),…,(Xn,Yn)(X_1,Y_1),\ldots,(X_n,Y_n) be an i.i.d. sample drawn form the joint distribution of (X,Y)(X,Y), where Xi∈X⊂RpX_i \in\mathcal{X} \subset\mathbb{R}^p denotes a vector of covariates, and Yi∈Y⊂RY_i \in\mathcal{Y} \subset\mathbb{R} the response variable. In quantile regression, the objective is to estimate the conditional quantile of probability level τn∈(0,1)\tau_n \in(0,1), defined as

Qx(τn)=inf⁡{y:FY∣X=x(y)≥τn}(2)Q_x(\tau_n) = \inf\{y : F_{Y\mid X=x}(y) \ge\tau_n\} \tag*{(2)}

where FY∣X=x(⋅)F_{Y\mid X=x}(\cdot) denotes the conditional distribution function of YY given X=xX=x. Another characterization of the conditional quantile is based on the following optimization problem:

Qx(τn)=arg⁡min⁡qE[ρτn(Y,q)∣X=x],Q_x(\tau_n) = \mathop{\arg\min}_{q} \mathbb{E}\left[\rho_{\tau_n}(Y,q) \mid X=x\right],

where ρτn(⋅,⋅)\rho_{\tau_n}(\cdot,\cdot) is the asymmetric loss function defined as

ρτn(Y,q)={τn(Y−q),Y−q≥0,(1−τn)(Y−q),Y−q<0.(3)\rho_{\tau_n}(Y,q) = \begin{cases} \tau_n(Y-q), & Y-q \ge0, \\ (1-\tau_n)(Y-q), & Y-q < 0. \end{cases} \tag*{(3)}

A variety of conditional quantile estimators have been proposed based on this formulation, under both parametric and nonparametric assumptions on the quantile function ([9, 26, 6, 37, 36, 16]). Based on this characterization and without parametric assumptions on the conditional distribution, a natural weighted approximation of Qx(τ)Q_x(\tau) is

Q^x(τn)=arg⁡min⁡q∑i=1nwi(x)ρτn(Yi,q),\widehat{Q}_x(\tau_n) = \underset{q}{\arg\min} \sum_{i=1}^{n} w_i(x)\rho_{\tau_n}(Y_i,q),

where wi(x)w_i(x) is a localized weight function reflecting the influence of the observation ii in a neighborhood of xx.

Using the characterization in equation (1), Meinshausen and Ridgeway [28] proposed a method based on the random forests introduced by Breiman [4] to construct an empirical estimator of the conditional distribution function: F^(y∣X=x)=∑i=1nwi(x)1{Yi≤y}\widehat{F}(y \mid X=x)=\sum_{i=1}^{n}w_i(x)\mathbb{1}_{\{Y_i\le y\}}. This estimated distribution function is then plugged into equation (1) to obtain an estimate of the conditional quantile. The weights wi(x)w_i(x) are obtained via the random forest method, which is based on conditional mean estimation; hence wi(x)w_i(x) tends to be large for i∈{1,…,n}i\in\{1,\ldots,n\} whenever E(Y∣X=x)≈E(Y∣X=Xi)\mathbb{E}(Y\mid X=x)\approx\mathbb{E}(Y\mid X=X_i) ([27, 28]).

However, the situation differs when estimating conditional quantiles. As shown by Athey et al. [1] and Gnecco et al. [21], the weight wi(x)w_i(x) may not be large for i∈{1,…,n}i\in\{1,\ldots,n\}, even if Qx(τ)≈QXi(τ)Q_x(\tau)\approx Q_{X_i}(\tau). Consequently, the classical random forest method of Breiman [4] fails to capture the complex structure of the quantile function. The generalized random forest, introduced by Athey et al. [1] for quantile regression problems, overcomes this limitation and provides a more flexible and targeted estimation of heterogeneous effects, particularly for conditional quantiles.

The random forest method relies on aggregating the predictions of BB decision trees to produce an estimator that is more stable, robust, and accurate than any single tree considered in isolation Breiman [4]. For an observation x∈Xx\in\mathcal{X}, the prediction ηb(x)\eta_b(x) from the bthb^{\mathrm{th}} tree in the regression context is defined as the average of the responses YiY_i corresponding to observations XiX_i that fall in the same terminal region Rb(x)R_b(x) as xx:

ηb(x)=∑i=1n1{Xi∈Rb(x)}Yi∣{i:Xi∈Rb(x)}∣,b=1,…,B,\eta_b(x)=\sum_{i=1}^{n}\frac{\mathbb{1}_{\{X_i\in R_b(x)\}}Y_i}{\lvert\{i:X_i\in R_b(x)\}\rvert},\qquad b=1,\ldots,B,

where Rb(x)⊂RpR_b(x)\subset\mathbb{R}^p denotes the leaf or terminal region containing xx in the tree bb, and ∣E∣\lvert E\rvert represents the cardinality of the set EE. The final random forest estimator is obtained by averaging the predictions across all BB trees:

References

  1. [1]Athey, S., Tibshirani, J., Wager, S.: Generalized random forests. The Annals of Statistics 47(2), 1148–1178 (2019) https://doi.org/10.1214/18-AOS17109
  2. [2]Boudrissa, N., Cheraitia, H., Halimi, L.: Modelling maximum daily yearly rainfall in northern Algeria using generalized extreme value distributions from 1936 to 2009. Meteorological Applications 24(1), 114–119 (2017) https://doi.org/10.1002/met.1610
  3. [3]Beyerlein, A.: Quantile Regression–Opportunities and Challenges From a User’s Perspective. American Journal of Epidemiology 180(3), 330–331 (2014) https://doi.org/10.1093/aje/kwu178
  4. [4]Breiman, L.: Random forests. Machine learning 45, 5–32 (2001)
  5. [5]Bremnes, J.B.: Probabilistic Forecasts of Precipitation in Terms of Quantiles Using NWP Model Output. Monthly Weather Review 132(1), 338–347 (2004) https://doi.org/10.1175/1520-0493(2004)132<0338:PFOPIT>2.0.CO;2
  6. [6]Buhai, S.: Quantile regression: overview and selected applications. Ad Astra 4(4), 1–17 (2005)
  7. [7]Chernozhukov, V., Fernandez-Val, I.: Inference for Extremal Conditional Quantile Models, with Application to Market and Birthweight Risks. The Review of Economic Studies 78(2), 559–589 (2011) https://doi.org/10.1093/restud/rdq020
  8. [8]Calabrese, R., Giudici, P.: Estimating bank default with generalised extreme value regression models. The Journal of the Operational Research Society 66(11), 1783–1792 (2015)DOI
  9. [9]Chernozhukov, V.: Extremal quantile regression. Annals of Statistics, 806–839 (2005) https://doi.org/10.1214/009053604000001165
  10. [10]Chaudhuri, P., Loh, W.-Y.: Nonparametric estimation of conditional quantiles using quantile regression trees. Bernoulli, 561–576 (2002)
  11. [11]Coles, S.: An Introduction to Statistical Modeling of Extreme Values. Springer Series in Statistics. Springer, London (2001). https://doi.org/10.1007/978-1-4471-3675-0
  12. [12]Dombry, C., Ferreira, A.: Maximum likelihood estimators based on the block maxima method. Bernoulli 25(3), 1690–1723 (2019) https://doi.org/10.3150/18-BEJ1032
  13. [13]Daouia, A., Gardes, L., Girard, S.: On kernel smoothing for extremal quantile regression. Bernoulli 19(5B), 2557–2589 (2013) https://doi.org/10.3150/12-BEJ466
  14. [14]Dombry, C.: Existence and consistency of the maximum likelihood estimators for the extreme value index within the block maxima framework. Bernoulli 21(1), 420–436 (2015) https://doi.org/10.3150/13-BEJ573
  15. [15]Farkas, S., Heranval, A., Lopez, O., Thomas, M.: Generalized pareto regression trees for extreme event analysis. Extremes (2024) https://doi.org/10.1007/s10687-024-00485-1
  16. [16]Fakoor, R., Kim, T., Mueller, J., Smola, A.J., Tibshirani, R.J.: Flexible model aggregation for quantile regression. Journal of Machine Learning Research 24(162), 1–45 (2023)
  17. [17]Fisher, R.A., Tippett, L.H.C.: Limiting forms of the frequency distribution of the largest or smallest member of a sample. Mathematical Proceedings of the Cambridge Philosophical Society 24(2), 180–190 (1928) https://doi.org/10.1017/S0305004100015681
  18. [18]Gnedenko, B.: Sur La Distribution Limite Du Terme Maximum D’Une Serie Aleatoire. Annals of Mathematics 44(3), 423–453 (1943) https://doi.org/10.2307/1968974
  19. [19]Gardes, L., Stupfler, G.: Estimating extreme quantiles under random truncation. TEST 24(2), 207–227 (2015) https://doi.org/10.1007/s11749-014-0403-5
  20. [20]Gardes, L., Stupfler, G.: An integrated functional Weissman estimator for conditional extreme quantiles. REVSTAT-Statistical Journal 17(1), 109–144 (2019)DOI
  21. [21]Gnecco, N., Terefe, E.M., Engelke, S.: Extremal Random Forests. Journal of the American Statistical Association, 1–24 (2024) https://doi.org/10.1080/01621459.2023.2300522
  22. [22]Haan, L., Ferreira, A.: Extreme Value Theory. Springer Series in Operations Research and Financial Engineering. Springer, New York, NY (2006). https://doi.org/10.1007/0-387-34471-3
  23. [23]Hallock, K.F., Koenker, R.: Quantile regression. The Journal of Economic Perspectives 15(4), 143–169 (2001)DOI
  24. [24]Kallenberg, O.: Foundations of Modern Probability. Probability and Its Applications. Springer, New York, NY (2002). https://doi.org/10.1007/978-1-4757-4015-8
  25. [25]Koenker, R., Bassett, G.: Regression Quantiles. Econometrica 46(1), 33–50 (1978) https://doi.org/10.2307/1913643
  26. [26]Koenker, R., Chernozhukov, V., He, X., Peng, L.: Handbook of Quantile Regression. Chapman and Hall/CRC, New York (2017). https://doi.org/10.1201/9781315120256
  27. [27]Lin, Y., Jeon, Y.: Random forests and adaptive nearest neighbors. Journal of the American Statistical Association 101(474), 578–590 (2006)DOI
  28. [28]Meinshausen, N., Ridgeway, G.: Quantile regression forests. Journal of machine learning research 7(6) (2006)
  29. [29]Pasche, O.C., Engelke, S.: Neural networks for extreme quantile regression with an application to forecasting of flood risk. The Annals of Applied Statistics 18(4), 2818–2839 (2024) https://doi.org/10.1214/24-AOAS1907
  30. [30]Smith, R.L.: Maximum likelihood estimation in a class of nonregular cases. Biometrika 72(1), 67–90 (1985) https://doi.org/10.1093/biomet/72.1.67
  31. [31]Vidagbandji, L.M., Berred, A., Bertelle, C., Amanton, L.: Generalized random forest for extreme quantile regression. Communications in Statistics - Simulation and Computation 0(0), 1–24 (2025) https://doi.org/10.1080/03610918.2025.2543854
  32. [32]Vidagbandji, L.M., Berred, A., Bertelle, C., Amanton, L.: Penalized Estimation of GEV Parameters for Extreme Quantile Regression. Journal of Statistical Theory and Practice 20(2), 55–64 (2026) https://doi.org/10.1007/s42519-026-00568-1
  33. [33]Velthoen, J., Dombry, C., Cai, J.-J., Engelke, S.: Gradient boosting for extreme quantile regression. Extremes 26(4), 639–667 (2023) https://doi.org/10.1007/s10687-023-00473-x
  34. [34]Vaart, A.W.: Asymptotic Statistics. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, Cambridge (1998). https://doi.org/10.1017/CBO9780511802256
  35. [35]Wager, S., Athey, S.: Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American Statistical Association 113(523), 1228–1242 (2018)arxiv.org/abs/1510.04342
  36. [36]Wang, H.J., Li, D.: Estimation of Extreme Conditional Quantiles Through Power Transformation. Journal of the American Statistical Association 108(503), 1062–1074 (2013) https://doi.org/10.1080/01621459.2013.820134
  37. [37]Wang, H.J., Li, D., He, X.: Estimation of High Conditional Quantiles for Heavy-Tailed Distributions. Journal of the American Statistical Association 107(500), 1453–1464 (2012) https://doi.org/10.1080/01621459.2012.716382
  38. [38]Wang, H., Tsai, C.-L.: Tail index regression. Journal of the American Statistical Association 104(487), 1233–1240 (2009)DOI
  39. [39]Youngman, B.D.: Generalized Additive Models for Exceedances of High Thresholds With an Application to Return Level Estimation for U.S. Wind Gusts. Journal of the American Statistical Association 114(528), 1865–1879 (2019) https://doi.org/10.1080/01621459.2018.1529596
  40. [40]Youngman, B.D.: evgam: An R package for generalized additive extreme value models. Journal of Statistical Software 103, 1–26 (2022)arxiv.org/abs/2003.04067
  41. [41]Zhou, C.: Existence and consistency of the maximum likelihood estimator for the extreme value index. Journal of Multivariate Analysis 100(4), 794–815 (2009) https://doi.org/10.1016/j.jmva.2008.08.009

Paper details

vlnc:W_86g93q9h
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents