Exact Functional Test {FunChisq}R Documentation

Exact Functional Test

Description

Perform the exact functional test on a contingency table

Usage

EFTDP(nm)
EFTDQP(nm)

Arguments

nm

A matrix of nonnegative integers representing a contingency table.

Details

The functional exact test is performed using branch-and-bound with two algorithms (DP and DQP) to avoid re-calculation of bounds.

Value

The exact P-value of the test.

Note

The functions provide a direct entry into the C++ implementations of the exact functional test.

Author(s)

Hien Nguyen, Hua Zhong, Joe Song

References

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.

See Also

fun.chisq.test

Examples

x = matrix(c(0, 6, 3, 0, 10, 5, 4, 4, 1), nrow=3)
EFTDQP(x)
EFTDQP(t(x))

EFTDP(x)
EFTDP(t(x))

[Package FunChisq version 2.4.8-1 Index]