gpdfit: Generalized Pareto distribution

Description Usage Arguments Details Value Note References See Also

Description

Estimate the parameters k and σ of the generalized Pareto distribution, given a sample x.

Usage

1
gpdfit(x)

Arguments

x

A numeric vector. The sample from which to estimate the parameters.

Details

Here the parameter k is the negative of k in Zhang & Stephens (2009).

Value

A named list with components k and sigma.

Note

This function is primarily intended for internal use, but is exported so that users can call it directly if interested in PSIS for purposes other than LOO-CV.

References

Zhang, J., and Stephens, M. A. (2009). A new and efficient estimation method for the generalized Pareto distribution. Technometrics 51, 316-325.

See Also

psislw, pareto-k-diagnostic, loo-package



Search within the loo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.