Exact Functional Test {FunChisq} | R Documentation |
Perform the exact functional test on a contingency table
EFTDP(nm) EFTDQP(nm)
nm |
A matrix of nonnegative integers representing a contingency table. |
The functional exact test is performed using branch-and-bound with two algorithms (DP and DQP) to avoid re-calculation of bounds.
The exact P-value of the test.
The functions provide a direct entry into the C++ implementations of the exact functional test.
Hien Nguyen, Hua Zhong, Joe Song
Nguyen, H. H. (2018) Inference of Functional Dependency via Asymmetric, Optimal, and Model-free Statistics. Unpublished doctoral dissertation, Department of Computer Science, New Mexico State University, Las Cruces, USA.
x = matrix(c(0, 6, 3, 0, 10, 5, 4, 4, 1), nrow=3) EFTDQP(x) EFTDQP(t(x)) EFTDP(x) EFTDP(t(x))