gof: goodness-of-fit statistic for the chosen threshold.
Arguments
xdat
[vector] sample exceedances
kmax
[int] maximum number of exceedances considered
kernel
[string] kernel choice, one of Jackson or Lewis
rho
string for the estimator of the second order regular variation. Can also be a negative scalar
...
additional arguments, for backward compatibility purposes
References
Goegebeur , Y., Beirlant , J., and de Wet , T. (2008). Linking Pareto-Tail Kernel Goodness-of-fit Statistics with Tail Index at Optimal Threshold and Second Order Estimation. REVSTAT-Statistical Journal, 6(1), 51–69. <doi:10.57805/revstat.v6i1.57>