Hill.kopt | R Documentation |
Select optimal threshold for the Hill estimator by minimising the Asymptotic Mean Squared Error (AMSE).
Hill.kopt(data, start = c(1, 1, 1), warnings = FALSE, logk = FALSE,
plot = FALSE, add = FALSE, main = "AMSE plot", ...)
data |
Vector of |
start |
A vector of length 3 containing starting values for the first numerical optimisation (see |
warnings |
Logical indicating if possible warnings from the optimisation function are shown, default is |
logk |
Logical indicating if the AMSE values are plotted as a function of |
plot |
Logical indicating if the AMSE values should be plotted as a function of |
add |
Logical indicating if the optimal value for |
main |
Title for the plot, default is |
... |
Additional arguments for the |
See Section 4.2.1 of Albrecher et al. (2017) for more details.
A list with following components:
k |
Vector of the values of the tail parameter |
AMSE |
Vector of the AMSE values for each value of |
kopt |
Optimal value of |
gammaopt |
Optimal value of the Hill estimator corresponding to minimal |
Tom Reynkens based on S-Plus
code from Yuri Goegebeur.
Albrecher, H., Beirlant, J. and Teugels, J. (2017). Reinsurance: Actuarial and Statistical Aspects, Wiley, Chichester.
Beirlant J., Goegebeur Y., Segers, J. and Teugels, J. (2004). Statistics of Extremes: Theory and Applications, Wiley Series in Probability, Wiley, Chichester.
Beirlant J., Vynckier, P. and Teugels, J. (1996). "Tail Index Estimation, Pareto Quantile Plots, and Regression Diagnostics." Journal of the American Statistical Association, 91, 1659–1667.
Hill
, Hill.2oQV
data(norwegianfire)
# Plot Hill estimator as a function of k
Hill(norwegianfire$size[norwegianfire$year==76],plot=TRUE)
# Add optimal value of k
Hill.kopt(norwegianfire$size[norwegianfire$year==76],add=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.