Learn R Programming

gremes (version 0.1.1)

stdf: Stable tail dependence function (stdf)

Description

Computes the stable tail dependence function for given coordinates. If object of class Network or its subclasses is passed non-parametric estimates of the stdf are computed. If an object of class HRMtree or HRMBG is passed parametric estimates are computed with parameters that constitute the slot $depParams in the object.

Usage

stdf(obj, ...)

# S3 method for Network stdf(obj, Y, k_ratio, ...)

# S3 method for HRMtree stdf(obj, x, Ubar = NULL, ...)

# S3 method for HRMBG stdf(obj, x, Ubar = NULL, ...)

Value

A scalar representing the value of the stdf.

Arguments

obj

Object of class Network, or HRMtree or HRMBG

...

additional arguments

Y

A matrix of evaluation points with columns named according to the names of the nodes with observed variables, and of dimensions qx|U| where U is the set of observed variables, and q is the number of vectors at which the stdf is evaluated.

k_ratio

the ration of the upper order statistics as a share of the size of the sample

x

Vector of evaluation points with named elements according to the nodes of the graph.

Ubar

The set of nodes for which data are missing. It should stay at its default value NULL.

Examples

Run this code
#See Vignette "Additional functionalities".

Run the code above in your browser using DataLab