NNS.copula | R Documentation |
Determines higher dimension dependence coefficients based on co-partial moment matrices ratios.
NNS.copula(
X,
target = NULL,
continuous = TRUE,
plot = FALSE,
independence.overlay = FALSE
)
X |
a numeric matrix or data frame. |
target |
numeric; Typically the mean of Variable X for classical statistics equivalences, but does not have to be. (Vectorized) |
continuous |
logical; |
plot |
logical; |
independence.overlay |
logical; |
Returns a multivariate dependence value [0,1].
Fred Viole, OVVO Financial Systems
Viole, F. (2016) "Beyond Correlation: Using the Elements of Variance for Conditional Means and Probabilities" \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2139/ssrn.2745308")}.
## Not run:
set.seed(123)
x <- rnorm(1000) ; y <- rnorm(1000) ; z <- rnorm(1000)
A <- data.frame(x, y, z)
NNS.copula(A, target = colMeans(A), plot = TRUE, independence.overlay = TRUE)
### Target 0
NNS.copula(A, target = rep(0, ncol(A)), plot = TRUE, independence.overlay = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.