Hill | R Documentation |
Compute the Hill estimator and Hill plot.
Hill_estimator(x, k = c(10, length(x)), conf.level = 0.95) Hill_plot(x, k = c(10, length(x)), conf.level = 0.95, Hill.estimator = NULL, log = "x", xlim = NULL, ylim = NULL, xlab = "Order statistics", ylab = "Tail index", CI.col = adjustcolor(1, alpha.f = 0.2), lines.args = list(), xaxis2 = TRUE, xlab2 = "Empirical probability", ...)
x |
|
k |
|
conf.level |
confidence level of the confidence intervals. |
Hill.estimator |
object as returned by |
log, xlim, ylim, xlab, ylab |
see |
CI.col |
color of the pointwise asymptotic confidence intervals
(CIs); if |
lines.args |
|
xaxis2 |
|
xlab2 |
label of the secondary x-axis. |
... |
additional arguments passed to the underlying
|
See McNeil et al. (2015, Section 5.2.4, (5.23))
Hill_estimator()
:A five-column matrix containing the
indices k
, their corresponding empirical probabilities
k.prob
, the estimated tail indices tail.index
,
and the lower and upper CI endpoints CI.low
and CI.up
.
Hill_plot()
:Hill plot by side-effect.
Marius Hofert
McNeil, A. J., Frey, R. and Embrechts, P. (2015). Quantitative Risk Management: Concepts, Techniques, Tools. Princeton University Press.
set.seed(271) X <- rt(1000, df = 3.5) Y <- X[X > 0] Hill_plot(Y) Hill_plot(Y, log = "", CI.col = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.