Moment.gpd.fit: Moment estimates of GP distribution parameters - Only...

Description Usage Arguments Details Value References

View source: R/extremevalue.R

Description

Moment estimates of shape and scale parameters of GP distribution using the approach presented in (de Haan and Ferreira, 2006). The function is called by KRDetect.outliers.EV and is not intended for use by regular users of the package.

Usage

1
Moment.gpd.fit(x, k = round(length(x) * 0.1))

Arguments

x

a numeric vector of observations.

k

a positive integer giving the number of top rank statistics (de Haan and Ferreira, 2006). Default is k = round(length(x) * 0.1).

Details

This function computes the moment estimates of shape and scale parameters of GP distribution (de Haan and Ferreira, 2006). The function is exported for developer use only. It does not perform any checks on inputs since it is only convenience function used within KRDetect.outliers.EV.

Value

a numeric vector giving the moment estimates for the scale and shape parameters, resp. a numeric vector giving the standard deviations for the scale and shape parameter estimates, resp.

References

de Haan, L, Ferreira, A (2006). Extreme Value Theory: An Introduction. Springer.


envoutliers documentation built on July 2, 2020, 3:25 a.m.