gpd.mle | R Documentation |
This function calls the fit.gpd
routine on the sample of excesses and returns maximum likelihood
estimates for all quantities of interest, including scale and shape parameters, quantiles and value-at-risk,
expected shortfall and mean and quantiles of maxima of N
threshold exceedances
gpd.mle(
xdat,
args = c("scale", "shape", "quant", "VaR", "ES", "Nmean", "Nquant"),
m,
N,
p,
q
)
xdat |
sample vector of excesses |
args |
vector of strings indicating which arguments to return the maximum likelihood values for |
m |
number of observations of interest for return levels. Required only for |
N |
size of block over which to take maxima. Required only for |
p |
tail probability, equivalent to |
q |
level of quantile for N-block maxima. Required only for |
named vector with maximum likelihood values for arguments args
xdat <- mev::rgp(n = 30, shape = 0.2)
gpd.mle(xdat = xdat, N = 100, p = 0.01, q = 0.5, m = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.