Predict unconditional extreme quantiles using peaks over threshold
Source:R/EVT_utils.R
predict_unconditional_quantiles.Rd
Predict unconditional extreme quantiles using peaks over threshold
Usage
predict_unconditional_quantiles(interm_lvl, quantiles = c(0.99), Y, ntest = 1)
Arguments
- interm_lvl
Probability level at which the empirical quantile should be used as the intermediate threshold.
- quantiles
Probability levels at which to predict the extreme quantiles.
- Y
Vector of ("training") observations.
- ntest
Number of "test" observations.
Value
Named list containing:
predictionsmatrix of dimension
ntest
timeslength(quantiles)
containing the estimated extreme quantile at levelsquantile
, repeatedntest
times,parsmatrix of dimension
ntest
times2
containing the two GPD parameter MLEs, repeatedntest
times.thresholdThe threshold for the peaks-over-threshold GPD model. It is the empirical quantile of
Y
at levelinterm_lvl
, i.e.stats::quantile(Y, interm_lvl)
.