powered by
Performs conditional distance correlation with given bandwidth.
cdcor(x, y, z, width, index = 1)
a numeric vector or matrix
a numeric vector or matrix with compatible dimensions to x
x
the variable being conditioned. z is a numeric vector or matrix with compatible dimensions to x
z
a positive value, user-specified
exponent on Euclidean distance, in (0,2]
the conditional distance covariance with given variable z
mean of the conditional distance covariance with given variable z
the bandwidth
It performs conditional distance correlation with given bandwidth.
Canhong Wen, Wenliang Pan, Mian Huang and Xueqin Wang(2014). Conditional distance correlation sure independence screening for ultrahigh dimensional data. Submitted to Biostatistics.
cdcor.ada, cdcov
cdcor.ada
cdcov
# NOT RUN { x <- rnorm(100) y <- rnorm(100) z <- rnorm(100) cdcor(x,y,z,0.25) # }
Run the code above in your browser using DataLab