Last chance! 50% off unlimited learning
Sale ends in
This function calls the fit.gev
routine on the sample of block maxima and returns maximum likelihood
estimates for all quantities of interest, including location, scale and shape parameters, quantiles and mean and
quantiles of maxima of N
blocks.
gev.mle(
xdat,
args = c("loc", "scale", "shape", "quant", "Nmean", "Nquant"),
N,
p,
q
)
named vector with maximum likelihood estimated parameter values for arguments args
sample vector of maxima
vector of strings indicating which arguments to return the maximum likelihood values for.
size of block over which to take maxima. Required only for args
Nmean
and Nquant
.
tail probability. Required only for arg
quant
.
level of quantile for maxima of N
exceedances. Required only for args
Nquant
.
dat <- mev::rgev(n = 100, shape = 0.2)
gev.mle(xdat = dat, N = 100, p = 0.01, q = 0.5)
Run the code above in your browser using DataLab