MDDM | R Documentation |
MDDM
computes the Martingale Difference Divergence Matrix between multivariate U and
possibly multivariate Z of Lee & Shao 2018.
MDDM(U, Z)
U |
the multivariate variable |
Z |
the possibly multivariate conditioning variable. One can also directly supply an n x n distance matrix |
the MDDM matrix
set.seed(12); U = rnorm(50); U=cbind(U,abs(U)); MDDM(U,2*pnorm(U[,1]))
MDDM(U,as.matrix(dist(2*pnorm(U[,1]))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.