JMI: Jackknife Mutual Information

Description Usage Arguments Value References Examples

Description

This function provides method for dependence test. It uses permutation test to determine the rejection region.

Usage

1
JMI(x, y, BN = 1000)

Arguments

x

n by p sample matrix.

y

n by q sample matrix.

BN

Number of permutations, the default value is 1000.

Value

the output is a list which contains:

References

Zeng, X., Xia, Y., & Tong, H. (2018). Jackknife approach to the estimation of mutual information[J]. Proceedings of the National Academy of Sciences, 201715593.

Examples

1
2
3
4
5
6
 x <- matrix(rnorm(50*3),50,3)
 y <- matrix(rnorm(50*2),50,2)
 #calculate the Jackknife Mutual information between x and y.
 JMI(x,y,0)$mi
 #calculate the p-value of independent test between x and y that based on 500 permutations.
 JMI(x,y,500)$pvalue

JMI documentation built on May 2, 2019, 2:31 p.m.

Related to JMI in JMI...