symm | R Documentation |
symm
returns all the symmetry statistics up to depth d
in marginal binary expansions for the tests BET
and BETs
.
symm(
X,
dep,
unif.margin = FALSE,
print.sample.size = TRUE
)
X |
a matrix to be tested. |
dep |
depth of the marginal binary expansions. |
unif.margin |
logicals. If |
print.sample.size |
logicals. If |
The result is a dataframe with (p+2)
columns, where p
is the number of columns of X
. The first column gives the binary index for all variables, the next p
columns displays all the interactions of respective variables, the last column of Statistics
gives the respective symmetry statistic.
v <- runif(128, -pi, pi)
X1 <- cos(v) + 2.5 * rnorm(128, 0, 1/20)
X2 <- sin(v) + 2.5 * rnorm(128, 0, 1/20)
symm(cbind(X1, X2), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.