distcorr: Distance Correlation

Description Usage Arguments References Examples

View source: R/distcorr.R

Description

Provides pairwise correlation via distance covariance normalized by distance standard deviation. Allows for non-linear dependencies.

Usage

1
distcorr(x, y)

Arguments

x, y

numeric vectors of data values

References

Sz<c3><a9>kely GJ, Rizzo ML, Bakirov NK. Measuring and testing dependence by correlation of distances. Ann Stat. 2007. 35(6):2769-2794.

Examples

1
2
3
4
5
# Sample data
a <- rnorm(25, 80, 35)
b <- rnorm(25, 100, 50)

mlf::distcorr(a, b)

mlf documentation built on May 1, 2019, 10:34 p.m.

Related to distcorr in mlf...