UEFT {UniExactFunTest} | R Documentation |
Uniform Exact Functional Test on Two Discrete Random Variables
Description
Perform the uniform exact functional test on a contingency table to determine if the column variable is a function of the row variable.
Usage
UEFT(input, correct, log.p)
Arguments
input |
A matrix of nonnegative integers representing a contingency table. Column is the casual and row is the effect. |
correct |
Logical; if implement the continuity correction. The description is at details. The default is TRUE. |
log.p |
Logical; if TRUE, the p-value is given as log(p). The default is FALSE. The default is FALSE. |
Details
The uniform idea was implementated using uniform marginal distribution of a square table as null hypothesis. The continuity correction algorithm
Value
The exact p-value of the test.
Author(s)
Yiyi Li, Joe Song
[Package UniExactFunTest version 1.0.0 Index]