Description Usage Arguments Details Value Author(s) References Examples
Computes the distance correlation between two random variables.
1 | distcor(X, y)
|
X |
A numeric vector or matrix. |
y |
A numeric vector or matrix. |
Distance correlation measures the statistical dependence between two random
variables or two random vectors. The important property is that the distance correlation
is zero if and only if two random variables are independent. The details of computing
the distance correlation can be seen in Szekely, Rizzo and Bakirov (2007) or
https://en.wikipedia.org/wiki/Distance_correlation. This function is the same as
dcor
in energy
package.
A sample distance correlation.
Debin Qiu, Jeongyoun Ahn
Szekely, G.J., Rizzo, M.L., and Bakirov, N.K. (2007), Measuring and Testing Dependence by Correlation of Distances, Annals of Statistics, Vol. 35 No. 6, pp. 2769-2794.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.