Estimates the \(d\)-dimensional extremal correlation coefficient \(\chi\) empirically.
emp_chi(data, p)
Numeric. The empirical \(d\)-dimensional extremal correlation coefficient \(\chi\)
for the data.
data
Numeric matrix of size \(n\times d\), where \(n\) is the number of observations and \(d\) is the dimension.
Numeric between 0 and 1. Probability used for the quantile to compute the \(\chi\) coefficient.
n <- 100 d <- 2 p <- .8 G <- cbind(c(0, 1.5), c(1.5, 0)) set.seed(123) my_data = rmstable(n, "HR", d = d, par = G) emp_chi(my_data, p)
Run the code above in your browser using DataCamp Workspace