Compute the Z-value variable from a bivariate dataset.
zvalueRTDE(obs, omega, nbpoint, output=c("orig", "relexcess"),
marg=c("upareto", "ufrechet", "uunif"))# S3 method for zvalueRTDE
print(x, …)
# S3 method for zvalueRTDE
summary(object, …)
relexcess(x, nbpoint, ...)
# S3 method for default
relexcess(x, nbpoint, …)
# S3 method for zvalueRTDE
relexcess(x, nbpoint, …)
bivariate numeric dataset.
a numeric for omega, see Details.
a numeric for the number of largest points to be selected.
a character string for the output:
either "orig"
for original value
or "relexcess"
for relative excess.
a character string for the empirical margin transformation:
either "upareto"
for unit Pareto,
"ufrechet"
for unit Frechet or
"uunif"
for unit uniform margin.
an R object inheriting from "zvalueRTDE"
.
arguments to be passed to subsequent methods.
zvalueRTDE
computes the Z-variable and
returns an object of class "zvalueRTDE"
having the following components type
(either
"orig"
or "relexcess"
), omega
,
Ztilde
or Z
, n
, possibly m
.
relexcess
computes the relative excesses
from a Z-variable and returns an object of class "zvalueRTDE"
of type "relexcess"
.
Given a bivariate dataset output="orig"
, the output="relexcess"
, the nbpoint
, marg="upareto"
),
unit Frechet (marg="ufrechet"
) and unit uniform margin
(marg="uunif"
).
C. Dutang, Y. Goegebeur, A. Guillou (2014), Robust and bias-corrected estimation of the coefficient of tail dependence, Volume 57, Insurance: Mathematics and Economics
This work was supported by a research grant (VKR023480) from VILLUM FONDEN and an international project for scientific cooperation (PICS-6416).
See fitRTDE
for the fitting process and
dataRTDE
for the data-handling process.
# NOT RUN {
#####
# (1) example
omega <- 1/2
m <- 10
n <- 100
obs <- cbind(rupareto(n), rupareto(n)) + rupareto(n)
#unit Pareto transform
zvalueRTDE(obs, omega, output="orig")
relexcess(zvalueRTDE(obs, omega, output="orig"), m)
zvalueRTDE(obs, omega, nbpoint=m, output="relexcess")
# }
Run the code above in your browser using DataLab