Description Usage Arguments Details Value Author(s) References See Also Examples
Computes conditional distance covariance and conditional distance correlation statistics, which are multivariate measures of conditional dependence.
1 2 3 |
x |
a numeric vector, matrix, or |
y |
a numeric vector, matrix, or |
z |
|
width |
a user-specified positive value (univariate conditional variable) or vector (multivariate conditional variable) for
gaussian kernel bandwidth. Its default value is relies on |
index |
exponent on Euclidean distance, in (0,2] |
distance |
if |
cdcov
and cdcor
compute conditional distance covariance and conditional distance correlation statistics.
The sample sizes (number of rows or length of the vector) of the two variables must agree,
and samples must not contain missing values.
If we set distance = TRUE
, arguments x
, y
can be a dist
object recording distance between samples;
otherwise, these arguments are treated as multivariate data.
|
conditional distance covariance test statistic. |
|
conditional distance correlation statistic. |
|
conditional distance covariance/correlation vector. |
Canhong Wen, Wenliang Pan, and Xueqin Wang
Wang, X., Pan, W., Hu, W., Tian, Y. and Zhang, H., 2015. Conditional distance correlation. Journal of the American Statistical Association, 110(512), pp.1726-1734.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.