Description Usage Arguments Details Value Author(s) See Also Examples
Computes the Joint Bertin Classification Criterion which uses joint independence as a reference for normalization.
1 | JBCI(x, r = 1)
|
x |
The 3D table with non-negative entries. |
r |
The index of the variable which is tested for joint independence of the other two. |
The BCI of a 3D table but instead of the total independence case the joint independence case is used for normalization. With an optimal reordering we have JBCI(x) >= BCI(x)
.
Numeric value in [0,1].
Alexander Pilhoefer
BCI, CBCI, WBCI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
A <- optile( arsim(144*5*20,c(12,12),6,0.1) , iter = 1000)
p1 <- 0.1 + runif(5)
p1 <- p1/sum(p1)
A2 <- apply(A,1:2,function(z) rmultinom(1,z,p1))
A2 <- optile(A2, iter = 1000,return.type="table")
BCI(A)
BCI(A2)
DA2 <- subtable(A2,1:3)
names(DA2) <- c("X","Y","Z","Freq")
rmb(~Y+Z+X,data=DA2)
JBCI(A2,3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.