Learn R Programming

mev (version 2.1)

tstab.hill: Threshold stability plot for Hill estimator

Description

Threshold stability plot for Hill estimator

Usage

tstab.hill(xdat, kmax, method = "hill", ..., log = TRUE)

Value

a plot of shape estimates as a function of the number of exceedances

Arguments

xdat

[vector] sample exceedances

kmax

[int] maximum number of order statistics

method

[string] name of estimator for shape parameter. Default to hill.

...

additional arguments passed to fit.shape for certain methods.

log

[logical] should the x-axis for the number of order statistics used for estimation be displayed on the log scale? Default to TRUE

Examples

Run this code
xdat <- rgp(n = 250, loc = 1, scale = 2, shape = 0.5)
tstab.hill(xdat)

Run the code above in your browser using DataLab