Description Usage Arguments Details Value Author(s) References See Also Examples
This function fits a generalized Pareto distribution (gPd) to a data set using either the asymptotic maximum likelihood method (amle) or the combined method proposed by Villasenor-Alva and Gonzalez-Estrada (2009).
1 | gpd.fit(x,method)
|
x |
numeric data vector containing a random sample from a distribution function with support on the positive real numbers. |
method |
a character string giving the name of the parameter estimation method to be used. There are two available methods: |
The distribution function of the gPd is given in the details section of the function gpd.test
.
The parameter estimates.
Elizabeth Gonzalez Estrada, Jose A. Villasenor Alva
Villasenor-Alva, J.A. and Gonzalez-Estrada, E. (2009). A bootstrap goodness of fit test for the generalized Pareto distribution. Computational Statistics and Data Analysis,53,11,3835-3841.
gpd.test
for testing the gPd hypothesis, rgp
for generating gPd random numbers.
1 2 |
Parameter estimate
shape 0.6795842
scale 1.0064917
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.