bet.plot {BET}R Documentation

Plotting Binary Expansion Testing (2-dimensions)


bet.plot shows the cross interaction of the strongest asymmetry, which the BET returns with the rejection of independence null. This function only works for the test on two variables, that is, X can only have two columns. There are 2^{2dep} - 1 nontrivial binary variables in the σ-field and (2^dep - 1)^2 of them are cross interactions, whose positive regions are in plotted in white and whose negative regions are plotted in blue. shows the cross interaction where the difference of number of observations in the positive and negative region is largest.


bet.plot(X, dep, unif.margin = FALSE, cex=0.5, ...)



a matrix with two columns.


depth of BET.


logicals. If TRUE the marginal distribution is known to be Uniform[0,1]. Default is FALSE, and empirical cdf transformation will be applied to each marginal distribution.


number indicating the amount by which plotting text and symbols should be scaled relative to the default.


graphical parameters to plot


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)
bet.plot(cbind(X1, X2), 3)

[Package BET version 0.4.1 Index]