symm {BET} | R Documentation |
Symmetry Statistics for all Interactions
Description
symm
returns all the symmetry statistics up to depth d
in marginal binary expansions for the tests BET
and BETs
.
Usage
symm(
X,
dep,
unif.margin = FALSE,
print.sample.size = TRUE
)
Arguments
X |
a matrix to be tested. |
dep |
depth of the marginal binary expansions. |
unif.margin |
logicals. If |
print.sample.size |
logicals. If |
Value
The result is a dataframe with columns, where
is the number of columns of
X
. The first column gives the binary index for all variables, the next columns displays all the interactions of respective variables, the last column of
Statistics
gives the respective symmetry statistic.
Examples
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)
[Package BET version 0.5.3 Index]