This function estimates the asymmetric dependence between
rdm(
X,
method = c("spearman", "kendall", "dss", "zeta1", "bkr", "all"),
bandwidth_method = c("fixed", "cv", "cvsym"),
bandwidth_parameter = 0.5,
permutation = FALSE,
npermutation = 1000,
checkInput = FALSE
)
The estimated value of the rearranged dependence measure
A bivariate data.frame containing the observations. Each row contains one bivariate observation.
Options include "spearman", "kendall", "bkr", "dss", "chatterjee" and "zeta1".The option "all" returns the value for all aforementioned methods.
A character string indicating the use of either a cross-validation principle (square or non-square) or a fixed bandwidth (oftentimes called resolution).
A numerical vector which contains the necessary optional parameters for the exponent of the chosen bandwidth method.
In case of N observations, the bandwidth_parameter
Whether or not to perform a permutation test
Number of repetitions of the permutation test
Whether or not to perform validity checks of the input
This function estimates
Currently, the following underlying measures are implemented:
"spearman" Implements the concordance measure Spearman's
"kendall" Implements the concordance measure Kendall's
"bkr" Implements the Blum–Kiefer–Rosenblatt
"dss" Implements the Dette-Siburg-Stoimenov measure of complete dependence <doi:10.1111/j.1467-9469.2011.00767.x>, also known as Chatterjee's
"zeta1" Implements the
The estimation of the checkerboard mass density computeBandwidth
.
n <- 50
X <- cbind(runif(n), runif(n))
rdm(X, method="spearman", bandwidth_method="fixed", bandwidth_parameter=.3)
n <- 20
U <- runif(n)
rdm(cbind(U, U), method="spearman", bandwidth_method="cv", bandwidth_parameter=c(0.25, 0.5))
Run the code above in your browser using DataLab