Research Article | Open Access
Martin M. Kithinji, Peter N. Mwita, Ananda O. Kube, "Adjusted Extreme Conditional Quantile Autoregression with Application to Risk Measurement", Journal of Probability and Statistics, vol. 2021, Article ID 6697120, 10 pages, 2021. https://doi.org/10.1155/2021/6697120
Adjusted Extreme Conditional Quantile Autoregression with Application to Risk Measurement
In this paper, we propose an extreme conditional quantile estimator. Derivation of the estimator is based on extreme quantile autoregression. A noncrossing restriction is added during estimation to avert possible quantile crossing. Consistency of the estimator is derived, and simulation results to support its validity are also presented. Using Average Root Mean Squared Error (ARMSE), we compare the performance of our estimator with the performances of two existing extreme conditional quantile estimators. Backtest results of the one-day-ahead conditional Value at Risk forecasts are also given.
Correct specification of a loss/returns distribution is key to the accuracy of a risk measure such as Value at Risk. As noted in , the major difference among many estimators of Value at Risk lies in estimation of the distribution of returns. Complexity in modeling financial data is due to its failure to exhibit standard statistical properties such as normality, independence, and identical distribution . Statistical tests have revealed that returns exhibit fat-tails, time-varying volatility, and volatility clustering. Moreover,  showed that returns exhibit serial correlation over long time horizons. Models based on mean autoregression coupled with results from extreme value theory such as the AR(1)-GARCH(1,1) model in  incorporated most of the aforementioned characteristics of financial data but suffer from lack of robustness due to the effect of extreme observations on the mean. Extreme quantile autoregression in [2, 24, 25] among others leads to a more robust model. This is because they combine regression quantiles introduced by  in an autoregressive fashion while using extreme value techniques on the resulting residuals to capture the tail behaviour. A major challenge of this approach is possible quantile crossing.
The challenge of quantile crossing has been addressed by smoothing suggestions in [5, 6, 16] among others in a nonparametric setting. Equally, the conditional location-scale model used in obtaining Restricted Regression Quantiles (RRQ) in  averts possible crossing in extreme quantiles but can suffer from the same when estimating the median. To avert quantile crossing even at the middle,  added a forced ordering constraint in the estimation of multiple quantiles. Simulation results revealed that, based on standard error of the estimates, noncrossing quantile regression in  produces better estimates in the middle. However, the RRQ estimator produced better estimates at the tails, especially when the sample size was large.
The lack of monotonicity in estimation of conditional quantiles is addressed in  through sorting of originally estimated nonmonotone quantile curves using a functional delta method. The monotonic quantile functions obtained were found to be closer to the true quantile than the nonmonotonic quantiles. Function limit theory for the rearranged estimators was also derived. The resulting monotonic quantile functions were then used in estimating economic functions using Vietnam data. However, the model was not extended to extreme cases to cover heavy tails beyond the sample.
Parametric quantile regression is used in  to estimate percentiles in positive valued datasets. Specifically, a linear quantile regression model was used with the error term assumed to follow a generalized gamma distribution. The idea of quantile regression was achieved by allowing parameters for the error distribution to depend on the univariate covariate leading to a location-scale model. The four-, five-, and six-parameter generalized conditional gamma distributions were considered and likelihood ratio test was used in selecting the best-fit model for each dataset. Asymptotics for the three resulting models were also derived. However, the use of generalized gamma distribution limits the model to applications where the covariate is greater than zero. This together with the fact that some financial datasets have heavier tails than the Gamma distribution limits the application of the model in finance.
We seek to improve the extreme conditional quantile estimator in  using an interquantile dispersion from the central conditional quantile.
2. Methods and Estimation
Let be a real valued financial time series on a complete probability space . We assume that and it is -measurable where is an increasing sequence of -algebras representing information available up to time t. In particular, let be the value of a portfolio at trading time t. The return on the portfolio at time t, used to quantify the gain in value of the portfolio from trading time to trading time t, is given byso thatis the corresponding loss return of .
Definition 1. (Risk Measure). A risk measure is a function from a set of risks in a financial position (in this case, the loss distribution) to ; that is, .
We assume that can be expressed using a linear heteroscedastic model of the following form:where is the conditional mean function of given and it is defined as . are errors and is a d-dimensional process which is -measurable. In particular, has 1 as the first element and a collection of the last observed returns up to time ; that is, . To ensure that the model is smooth and obeys some of the financial norms such as clustering of shocks, we further assume that can be decomposed intowhere are independent and identically distributed random variables and is the conditional volatility. In this case, is said to assume a location-scale model of the formThe corresponding quantile of under this formulation is given bywhere is the -quantile of . Let us now define a conditional quantile autoregressive model on of the formwhere is the central conditional -quantile of and are errors with zero -quantile. Let , where is the central conditional scale of and are i.i.d. residuals. Using an approach similar to Points Over Threshold (POT), we propose an extreme conditional quantile of the form given in equation (8) and refer to it as the adjusted extreme conditional quantile. That is, suppose that we are interested in an extreme quantile, , for some ; the idea is to estimate the central quantile, , and scale , for some level in the middle and approximate the extreme quantile aswhere are the -quantile of , respectively, for . If the parametric distribution of is known, then and are easily determined as the inverse of the cumulative distribution of at probability levels and , respectively; otherwise, appropriate estimates are determined. Note that is in conditional quantile autoregressive form. Observe that when , equation (8) reduces towhich is the central conditional quantile of given . This confirms that indeed has a zero -quantile. From equation (8), we obtain the following estimator for the extreme conditional quantile:where and are appropriate estimates of the -quantiles of the i.i.d. residuals, respectively. We compare this estimator withproposed in , andwhere is the resulting coefficient from quantile regression of against at . Note that is the estimator proposed in .
2.1. Estimation of Central Quantiles
Let be an unknown smooth function and define the loss function :where and represent absolute positive and negative values, respectively, and is the indicator function. Assuming that the conditional quantile process is well defined, we expectSo the -conditional quantile of is given by
Note that equation (14) can be used to check whether the conditional quantile process is correctly specified or not. We impose the following regularity assumptions to ensure consistency of the conditional quantiles.
Assumption 1. are identically distributed with the joint probability density and a continuous conditional probability density of given .
Assumption 2. There exists such that .
Assumption 3. , where is a compact subset of .
Assumption 4. , where is the conditional probability density of given .
From the sample analog of equation (15), we obtainwhich is the -conditional quantile estimator for a sample of size n. To overcome the limitation of quantile crossing, we used the approach in  where required quantiles were estimated simultaneously with a noncrossing constraint using the optimization problem:for some weight function . A conveniently used practical choice of the weight function which was also adopted for this study is .
2.1.1. The Scale Function
To still maintain dependence and ensure positivity of the scale function, this study incorporated a scale function in the form of a quantile autoregressive (QAR) function on the absolute of the nonstandardized residuals. This was achieved by replacing with its corresponding estimate in equation (7) so that andwhere is the central conditional -quantile of , is the conditional scale of , are i.i.d. residuals, and are errors with zero -quantile. Similarly, as is the case in Section 2.1, we let be an unknown smooth function and define the loss function . We assume that the QAR process in equation (18) obeys the four regularity assumptions given earlier so that, using noncrossing quantile regression approach, we obtain the following estimate of the scale:where is a loss function of the form given in equation (13).
2.2. Extreme Value Theory (EVT)
Most of the financial datasets are heavy-tailed . Therefore, it is fundamentally important to incorporate extreme value theory in the estimation of extreme quantiles. A basic requirement for the application of EVT is independence in the particular distribution. The study in  observed that it is appropriate to assume that, at high (low) levels of , the standardized residuals in equation (7) given bywhere is the estimate of the scale, are approximately independent, which allows us to apply EVT. Let , follow a common distribution function . Consider a sample from which and is such that (a.s) where . Pursuant to Fisher–Tippett’s theorem in , the random variable (or alternatively the distribution of ) is said to belong to the Maximum Domain of Attraction (MDA) of the extreme value distribution if there exist norming constants and such that
Consequently, is referred to as the Generalized Extreme Value (GEV) distribution.
This study applied Points Over Threshold (POT) method because it uses more data leading to better estimates compared to the Block Maxima method. POT models the distributionof all excesses above a particular threshold , where .
Theorem 1 (Pickands–Balkema–de Haan) (see ). We can find (positive-measurable function) such thatif and only if , and is the Generalized Pareto Distribution (GPD) given bywith when and when . and are the shape and scale parameters, respectively.
A major challenge in POT is accuracy in choosing a threshold to separate extreme observations from the center of the distribution . Among the methods discussed in , most authors such as those of [21, 28, 30] prefer the conventional method in which a threshold that ensures that between 5% and 10% of the sample data is classified as extreme observations is chosen. Although conventional method is subjective, the choice of the threshold can be checked for appropriateness using a mean excess plot. The mean excess function for the GPD is given bywhere . This implies that an optimal threshold corresponds to start of approximate linearity of the mean excess plot with the sign of the slope, , indicating the specific family of the GPD. A positive sign corresponds to the Frechet family, while a negative sign implies the Weibull family .
For convenience in making inferences on variability of the estimated quantiles, a recommendation in  on the use of Probability Weighted Moments (PWM) method in estimating parameters of the GPD was adopted. Using the first and second PWMs, we obtain the corresponding parameters estimates aswhere and are obtained by replacing for and inwhich is the PWM of GPD with . See [10, 23] for details on PWM method. For a sample of size n, the corresponding PWM estimates are given bywhere is the ordered sample and for suitable constants and . As recommended in , and .
The overall distribution of the standardized residuals was obtained by splicing the GPD with the empirical bulk distribution at the threshold using the approach in [21, 29, 30] among others to obtainfor and the Generalized Pareto Distribution. When is approximated empirically, we obtain the following estimate of :where is the sample of size, is the number of exceedances above the threshold , and together with are the estimated GPD parameters.
Lemma 3 (consistency of Probability Density Function (PDF) estimator). Let be i.i.d. random variables from a Cumulative Distribution Function (CDF) belonging to the MDA of . Suppose that has a right endpoint at ; then as .
From equation (30), we get the following estimate for the quantile of the standardized residuals at level :
Lemma 4 (consistency of error quantiles). Let be i.i.d. random variables from a CDF F belonging to the MDA of satisfying for any . Then, for every and
Using equation (10), we obtained the one-step VaR predictions aswhere and are the corresponding one-step -quantile and scale estimates, respectively, from the linear conditional quantile process.
To evaluate the accuracy of our estimators, a sample of size T = 4250 was generated using the model , where follows Student’s t-distribution with 4 degrees of freedom. The sample was partitioned into design data of size n and test data of size . Figure 1 represents a sample path of the model superimposed with the median. Note that, for simulation purposes, was used in estimating the central quantile.
Clearly, from the sample path, there is some level of volatility clustering, which is common in most financial data. An ACF plot of the resulting standardized residuals in Figure 2 confirms that indeed they are independent.
was chosen as the threshold to ensure that 10% of the resulting ordered standardized errors were classified as extremes. This was confirmed by approximate linearity of the mean excess plot after the threshold as shown in Figure 3.
The corresponding shape and scale parameter estimates from the GPD fit were 0.1156182 and 1.272937, respectively. Table 1 outlines the sample statistics of the estimates of the various quantiles together with the data.
, lower quartile; , upper quartile; SD, standard deviation.
Figure 4 shows the corresponding quantile estimates at different levels of .
The accuracy of our extreme quantile estimator was evaluated using the Average Root Mean Squared Error (ARMSE). The RMSE seeks to return the Mean Squared Error (MSE) to the original scale of the sample. For k sample paths of simulations of size n of the extreme quantiles, the average RMSE is given bywhere is replaced by or when considering extreme conditional quantiles or restricted regression quantiles, respectively. To check how our model behaves under different choices of central quantile, we computed ARMSE for the extreme conditional quantile at , where were considered. 1000 sample paths, each of sizes 250, 500, 1000, 2000, and 4000, were used in the computation of ARMSE. Table 2 reports the obtained ARMSE values.
We note that, for a large enough sample (2000 observations and above), ARMSE is lowest when and thus this choice of theta is maintained in investigating the accuracy of our estimator and forecasting the one-day-ahead VaR. Table 3 outlines the obtained ARMSE for the extreme conditional quantile at under three different models. The sample sizes and number or replications are still maintained.
Based on ARMSE, both RRQ and ECQ perform better than AECQ for small samples. However, as the sample size increases, AECQ outperforms both RRQ and ECQ. The decreasing ARMSE with increase in the sample size for AECQ and ECQ confirms that both are consistent estimators of the extreme conditional quantile. Also, for sample size above 2000, the rate of convergence of the AECQ estimator is higher than that of the ECQ estimator. It was not possible to comment on the consistency of the RRQ estimator, since its ARMSE fluctuated with increase in sample size. The consistent reduction in ARMSE when noncrossing constraint is added during estimation, confirming that indeed this constraint increases accuracy of resulting estimators.
4. Evaluating VaR Forecasts
In Section 3, we evaluated accuracy of our in-sample quantile estimates. In this section, we extend this by evaluating the out-of-sample VaR forecasts from our quantile estimator. To achieve this, we carry out backtests on 250 one-day-ahead VaR forecasts (as recommended in the Basel Accord) using coverage tests in [4, 31]. Coverage tests were adopted due to their popularity in literature and practice . Consider the failure process , where I is the indicator function such thatand . By Lemma 1 in , which is tested using the conditional coverage test that combines both the unconditional coverage test in  and the test for independence in  to under the null hypothesis . The likelihood under the null hypothesis iswhere is the number of VaR exceedances and . Now consider the first-order Markov chain generated by the transition probabilities of :where . This has an approximate likelihood function:where is the number of times observation i is followed by j in the failure process . From equation (38), we obtain the maximum likelihood estimate of as
Therefore, the conditional coverage hypothesis can be assessed using the likelihood ratio:
denotes likelihood ratio for the unconditional coverage test. denotes likelihood ratio for the independence test. denotes likelihood ratio for the conditional coverage test. Models accepted at 5% level of significance are highlighted in bold. Note that is size of the sample used in estimation, while testing was done using a sample of size 250 for all n.
Observe that, as a consequence of consistency, the accuracy of ECQ and AECQ forecasts improves with increase in sample size. It can also be seen that all the three models perform poorly under and due to dependence in autoregression. Based on , the RRQ model performed poorly when it comes to forecasting. This can be attributed to the failure to incorporate extreme value theory in estimating residual quantiles in the RRQ model.
5. Conclusions and Recommendations
We have derived the extreme conditional quantile estimator and used it to obtain the one-step-ahead conditional Value at Risk forecast for a simulated financial distribution. Consistency of our estimators has been proved and illustrated through Monte Carlo simulations. We noticed that adding the noncrossing restriction during estimation improves accuracy of the resulting extreme conditional quantile estimator. Backtesting results from the one-step-ahead conditional Value at Risk forecasts indicate that independence and conditional coverage tests in  are not appropriate for our estimators due to dependence in autoregressive models.
Proof of Lemma 1. Let , , and . Note that, by Assumption 1, does not depend on . Since does not depend on , then . We need to show that the objective function satisfies the following conditions for application of Theorem 12.2 in :(1) is measurable for each (2) is continuous on almost surely(3) a measurable function such that(i)(ii)(4) has a unique minimum at The functional form of and Assumption 3 guarantees measurability of . To prove condition (2), we first show that is Lipschitz continuous. By definition,Considering the possible range , we have the following:(i)For , it follows that and ; hence, equation (41) reduces to Since and , we have and so is bounded above by either or .(ii)Similarly, when , ; hence,(iii); then ; hence,Combining equations (43)–(45), we haveThus, is Lipschitz continuous for and hence is differentiable almost everywhere by Rademacher’s theorem in  which implies that is continuous everywhere.
To prove Condition 3(i), let , where . Existence of is guaranteed by Assumption 3. Clearly, is measurable and . Assumption 2 ensures that Condition 3(ii) is satisfied.
To verify Condition 4, let ; we need to show that for any . By Knight’s identity in , we haveThus, for all by monotonicity of the CDF. Therefore, by Theorem 12.2 in .
Proof of Lemma 2. The proof proceeds in a similar way to the proof of Lemma 1.
Proof of Lemma 3. Observe thatNote that as by Glivenko-Cantelli theorem in  and as heuristically from consistency of GPD parameters, Lemma 4.1 in , and asymptotic normality of PWM estimators in . Therefore, since and , we have the result.
Proof of Lemma 4. Let and and note that, for any CDF F defined on , if , thenwhich tends to 0 as by Lemma 3.
The data used in the article were simulated, and the data generating process (DGP) is included within the article.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
The authors acknowledge the Pan-African University of Basic Sciences, Technology and Innovation (PAUSTI) for funding this research.
- H. D. Bondell, B. J. Reich, and H. Wang, “Noncrossing quantile regression curve estimation,” Biometrika, vol. 97, no. 4, pp. 825–838, 2010.
- V. Chernozhukov, “Extremal quantile regression,” The Annals of Statistics, vol. 33, no. 2, pp. 806–839, 2005.
- V. Chernozhukov, I. Fernández-Val, and A. Galichon, “Quantile and probability curves without crossing,” Econometrica, vol. 78, no. 3, pp. 1093–1125, 2010.
- P. F. Christoffersen, “Evaluating interval forecasts,” International Economic Review, vol. 39, no. 4, pp. 841–862, 1998.
- T. J. Cole, “Fitting smoothed centile curves to reference data,” Journal of the Royal Statistical Society. Series A (Statistics in Society), vol. 151, no. 3, pp. 385–406, 1988.
- T. J. Cole and P. J. Green, “Smoothing reference centile curves: the lms method and penalized likelihood,” Statistics in Medicine, vol. 11, no. 10, pp. 1305–1319, 1992.
- W. F. M. De Bondt and R. Thaler, “Does the stock market overreact?” The Journal of Finance, vol. 40, no. 3, pp. 793–805, 1985.
- P. Embrechts, C. Klüppelberg, and T. Mikosch, Modelling Extremal Events: For Insurance and Finance, Springer Science & Business Media, Berlin, Germany, 2013.
- R. F. Engle and S. Manganelli, “CAViaR,” Journal of Business & Economic Statistics, vol. 22, no. 4, pp. 367–381, 2004.
- J. A. Greenwood, J. M. Landwehr, N. C. Matalas, and J. R. Wallis, “Probability weighted moments: definition and relation to parameters of several distributions expressable in inverse form,” Water Resources Research, vol. 15, no. 5, pp. 1049–1054, 1979.
- X. He, “Quantile curves without crossing,” The American Statistician, vol. 51, no. 2, pp. 186–192, 1997.
- J. B. Hill, “Robust estimation and inference for heavy tailed garch,” Bernoulli, vol. 21, no. 3, pp. 1629–1669, 2015.
- J. R. M. Hosking and J. R. Wallis, “Parameter and quantile estimation for the generalized pareto distribution,” Technometrics, vol. 29, no. 3, pp. 339–349, 1987.
- R. Howard, 1998, Alexandrov’s theorem on the second derivatives of convex functions via rademacher’s theorem on the first derivatives of lipschitz functions. http://people.math.sc.edu/howard/Notes/alex.pdf.
- K. Knight, “Limiting distributions for l1 regression estimators under general conditions,” Annals of Statistics, pp. 755–770, 1998.
- R. Koenker, Quantile Regression, Cambridge University Press, Cambridge, UK, 2005.
- R. Koenker and G. Bassett, “Regression quantiles,” Econometrica, vol. 46, no. 1, pp. 33–50, 1978.
- K. Kuester, S. Mittnik, and M. S. Paolella, “Value-at-risk prediction: a comparison of alternative strategies,” Journal of Financial Econometrics, vol. 4, no. 1, pp. 53–89, 2006.
- P. Kupiec, “Techniques for verifying the accuracy of risk measurement models,” Journal of Financial Econometrics, vol. 4, no. 1, pp. 53–89, 1995.
- J. M. Landwehr, N. C. Matalas, and J. R. Wallis, “Estimation of parameters and quantiles of wakeby distributions: 1. known lower bounds,” Water Resources Research, vol. 15, no. 6, pp. 1361–1372, 1979.
- A. J. McNeil and R. Frey, “Estimation of tail-related risk measures for heteroscedastic financial time series: an extreme value approach,” Journal of Empirical Finance, vol. 7, no. 3-4, pp. 271–300, 2000.
- A. J. McNeil, R. Frey, and P. Embrechts, Quantitative Risk Management: Concepts, Techniques and Tools-Revised Edition, Princeton University Press, Princeton, NJ, USA, 2015.
- S. H. Moharram, A. K. Gosain, and P. N. Kapoor, “A comparative study for the estimators of the generalized pareto distribution,” Journal of Hydrology, vol. 150, no. 1, pp. 169–185, 1993.
- D. N. Mutunga, “Estimation of market risk volatility using interquantile autoregressive range,” JOMO Kenyatta University of Agriculture and Technology, Juja, Kenya, 2018, Ph.D. thesis.
- N. P. Mwita, “Semiparametric estimation of conditional quantiles for time series, with applications in finance,” University of Kaiserslautern (Technische Universität Kaiserslautern), Kaiserslautern, Germany, 2003, Ph. D thesis.
- M. R. Nieto and E. Ruiz, “Frontiers in var forecasting and backtesting,” International Journal of Forecasting, vol. 32, no. 2, pp. 475–501, 2016.
- A. Noufaily and M. Jones, “Parametric quantile regression based on the gener-alized gamma distribution,” Journal of the Royal Statistical Society: Series C (Applied Statistics), vol. 62, no. 5, pp. 723–740, 2013.
- K. Nystrom and J. Skoglund, Univariate Extreme Value Theory, Garch and Measures of Risk, 2002.
- C. O. Omari, P. N. Mwita, and A. G. Waititu, “Using conditional extreme value theory to estimate value-at-risk for daily currency exchange rates,” Journal of Mathematical Finance, vol. 7, no. 4, pp. 846–870, 2017.
- S. Rydell, The Use of Extreme Value Theory and Time Series Analysis to Estimate Risk Measures for Extreme Events, UMEA University, Umeå, Sweden, 2013.
- P. A. Santos, “Interval forecasts evaluation: R programs for a new independence test,” Notas e Comunicações CEAUL, vol. 17, no. 10, 2010.
- C. Scarrott and A. MacDonald, “A review of extreme value thresholdes-timation and uncertainty quantification,” REVSTAT–Statistical Journal, vol. 10, no. 1, pp. 33–60, 2012.
- H. Tucker, A Graduate Course in Probability, Academic Press, New York, NY, USA, 1967.
- J. M. Wooldridge, Econometric Analysis of Cross Section and Panel Data Mit Press, Cambridge, MA, USA, 2002.
Copyright © 2021 Martin M. Kithinji et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.