The function fit.gpd
is a wrapper around gp.fit
gp.fit(
xdat,
threshold,
method = c("Grimshaw", "auglag", "nlm", "optim", "ismev", "zs", "zhang"),
show = FALSE,
MCMC = NULL,
fpar = NULL,
warnSE = TRUE
)
a numeric vector of data to be fitted.
the chosen threshold.
the method to be used. See Details. Can be abbreviated.
logical; if TRUE
(the default), print details of the fit.
NULL
for frequentist estimates, otherwise a boolean or a list with parameters passed. If TRUE
, runs a Metropolis-Hastings sampler to get posterior mean estimates. Can be used to pass arguments niter
, burnin
and thin
to the sampler as a list.
a named list with fixed parameters, either scale
or shape
logical; if TRUE
, a warning is printed if the standard errors cannot be returned from the observed information matrix when the shape is less than -0.5.