Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/MultiEstimation.r
Computes point estimates and (1-α)100\% confidence regions estimate of d-dimensional tail indices based on the Hill's estimator.
1 2 |
data |
A matrix of (n x d) observations. |
k |
An integer specifying the value of the intermediate sequence k_n. See Details. |
var |
If |
varType |
A string specifying the asymptotic variance to compute. By default |
bias |
A logical value. By default |
alpha |
A real in (0,1) specifying the confidence level (1-α)100\% of the approximate confidence interval for the tail index. |
plot |
A logical value. By default |
For a dataset data
of (n x d) observations, where d is the number of variables and n is the sample size, the tail index γ of the d marginal distributions is estimated by applying the Hill estimator. Together with a point estimate a (1-α)100\% confidence region is computed. The data are regarded as d
-dimensional temporal independent observations coming from dependent variables.
k
or k_n is the value of the so-called intermediate sequence k_n, n=1,2,.... Its represents a sequence of positive integers such that k_n -> ∞ and k_n/n -> 0 as n -> ∞. Practically, the value k_n specifies the number of k
+1 larger order statistics to be used to estimate each marginal tail index γ_j for j=1,...,d.
If var=TRUE
then an estimate of the asymptotic variance-covariance matrix of the multivariate Hill estimator is computed. With independent observations the asymptotic variance-covariance matrix is estimated by the matrix \hat{Σ}^{LAWS}_{j,\ell}(γ,R)(1,1), see bottom formula in page 14 of Padoan and Stupfler (2020). This is achieved through varType="asym-Dep"
which means d dependent marginal variables. When varType="asym-Ind"
d marginal variables are regarded as independent and the returned variance-covariance matrix \hat{Σ}^{LAWS}_{j,\ell}(γ,R)(1,1) is a diagonal matrix with only variance terms.
If bias=TRUE
then an estimate of the bias term of the Hill estimator is computed implementing using formula (4.2) in de Haan et al. (2016). In this case the asymptotic variance is not estimated using the formula in Haan et al. (2016) Theorem 4.1 but instead for simplicity the formula at the bottom of page 14 in Padoan and Stupfler (2020) is still used.
Given a small value α\in (0,1) then an estimate of an asymptotic confidence region for γ_j, for j=1,...,d, with approximate nominal confidence level (1-α)100\%, is computed. The confidence intervals are computed exploiting the asymptotic normality of multivariate Hill estimator appropriately normalized (the logarithmic scale is not used), see Padoan and Stupfler (2020) for details.
If plot=TRUE
then a graphical representation of the estimates is not provided.
A list with elements:
gammaHat
: an estimate of the d tail indices γ_j, for j=1,...,d;
VarCovGHat
: an estimate of the asymptotic variance-covariance matrix of the multivariate Hill estimator;
biasTerm
: an estimate of bias term of the multivariate Hill estimator;
EstConReg
: an estimate of the (1-α)100\% confidence region.
Simone Padoan, simone.padoan@unibocconi.it, http://mypage.unibocconi.it/simonepadoan/; Gilles Stupfler, gilles.stupfler@ensai.fr, http://ensai.fr/en/equipe/stupfler-gilles/
Padoan A.S. and Stupfler, G. (2020). Joint inference on extreme expectiles for multivariate heavy-tailed distributions. arXiv e-prints arXiv:2007.08944, https://arxiv.org/abs/2007.08944.
de Haan, L., Mercadier, C. and Zhou, C. (2016). Adapting extreme value statistics to financial time series: dealing with bias and serial dependence. Finance and Stochastics, 20, 321-354.
de Haan, L. and Ferreira, A. (2006). Extreme Value Theory: An Introduction. Springer-Verlag, New York.
HTailIndex, rmdata
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # Tail index estimation based on the multivariate Hill estimator obtained with
# n observations simulated from a d-dimensional random vector with a multivariate
# distribution with equal Frechet margins and a Clayton copula.
library(plot3D)
library(copula)
library(evd)
# distributional setting
copula <- "Clayton"
dist <- "Frechet"
# parameter setting
dep <- 3
dim <- 3
scale <- rep(1, dim)
shape <- rep(3, dim)
par <- list(dep=dep, scale=scale, shape=shape, dim=dim)
# Number of larger order statistics
k <- 150
# sample size
ndata <- 1000
# Simulates a sample from a multivariate distribution with equal Frechet
# marginals distributions and a Clayton copula
data <- rmdata(ndata, dist, copula, par)
scatter3D(data[,1], data[,2], data[,3])
# tail indices estimation
est <- MultiHTailIndex(data, k, TRUE)
est$gammaHat
est$VarCovGHat
# run the following command to see the graphical representation
# est <- MultiHTailIndex(data, k, TRUE, plot=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.