Estimator of extreme quantile Qi(1−p) in the regression case where γ is constant and the regression modelling is thus only solely placed on the scale parameter.
QuantReg(Z, A, p, plot =FALSE, add =FALSE, main ="Estimates of extreme quantile",...)
Arguments
Z: Vector of n observations (from the response variable).
A: Vector of n−1 estimates for A(i/n) obtained from ScaleReg.
p: The exceedance probability of the quantile (we estimate Qi(1−p) for p small).
plot: Logical indicating if the estimates should be plotted as a function of k, default is FALSE.
add: Logical indicating if the estimates should be added to an existing plot, default is FALSE.
main: Title for the plot, default is "Estimates of extreme quantile".
...: Additional arguments for the plot function, see plot for more details.
Details
The estimator is defined as
Q^i(1−p)=Zn−k,n((k+1)/((n+1)×p)A^(i/n))Hk,n,
with Hk,n the Hill estimator. Here, it is assumed that we have equidistant covariates xi=i/n.
See Section 4.4.1 in Albrecher et al. (2017) for more details.
Returns
A list with following components: - k: Vector of the values of the tail parameter k.
Q: Vector of the corresponding quantile estimates.
p: The used exceedance probability.
References
Albrecher, H., Beirlant, J. and Teugels, J. (2017). Reinsurance: Actuarial and Statistical Aspects, Wiley, Chichester.
Author(s)
Tom Reynkens.
See Also
ProbReg, ScaleReg, Quant
Examples
data(norwegianfire)Z <- norwegianfire$size[norwegianfire$year==76]i <-100n <- length(Z)# Scale estimator in i/nA <- ScaleReg(i/n, Z, h=0.5, kernel ="epanechnikov")$A
# Small exceedance probabilityq <-10^6ProbReg(Z, A, q, plot=TRUE)# Large quantilep <-10^(-5)QuantReg(Z, A, p, plot=TRUE)