Moment.gpd.fit {envoutliers}R Documentation

Moment estimates of GP distribution parameters - Only intended for developer use

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

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.


[Package envoutliers version 1.1.0 Index]