Given a sample
gpdfit(x, wip = TRUE, min_grid_pts = 30, sort_x = TRUE)
A named list with components k
and sigma
.
A numeric vector. The sample from which to estimate the parameters.
Logical indicating whether to adjust TRUE
.
The minimum number of grid points used in the fitting
algorithm. The actual number used is min_grid_pts + floor(sqrt(length(x)))
.
If TRUE
(the default), the first step in the fitting
algorithm is to sort the elements of x
. If x
is already
sorted in ascending order then sort_x
can be set to FALSE
to
skip the initial sorting step.
Here the parameter
Zhang, J., and Stephens, M. A. (2009). A new and efficient estimation method for the generalized Pareto distribution. Technometrics 51, 316-325.
psis()
, pareto-k-diagnostic