loss_GPD | R Documentation |
Generalized Pareto likelihood loss
loss_GPD(
sigma,
xi,
y,
rescaled = TRUE,
interm_lvl = NULL,
return_vector = FALSE
)
sigma |
Value(s) for the GPD scale parameter. |
xi |
Value(s) for the GPD shape parameter. |
y |
Vector of observations |
rescaled |
Whether y already is a vector of excesses (TRUE) or needs rescaling (FALSE). |
interm_lvl |
Probability level at which the empirical quantile should be used as the intermediate threshold
to compute the excesses, if |
return_vector |
Whether to return the the vector of GPD losses for each observation instead of the negative log-likelihood (average loss). |
GPD negative log-likelihood of the GPD parameters over the sample of observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.