pmf {HDLSSkST} | R Documentation |
Generalized Hypergeometric Probability
Description
A function that provides the probability of observing an r\times c
contingency table using generalized hypergeometric probability.
Usage
pmf(M)
Arguments
M |
|
Value
a single value between 0
and 1
Author(s)
Biplab Paul, Shyamal K. De and Anil K. Ghosh
Maintainer: Biplab Paul<paul.biplab497@gmail.com>
References
Biplab Paul, Shyamal K De and Anil K Ghosh (2021). Some clustering based exact distribution-free k-sample tests applicable to high dimension, low sample size data, Journal of Multivariate Analysis, doi:10.1016/j.jmva.2021.104897.
Cyrus R Mehta and Nitin R Patel (1983). A network algorithm for performing Fisher's exact test in rxc contingency tables, Journal of the American Statistical Association, 78(382):427-434, doi:10.2307/2288652.
Examples
# Generalized hypergeometric probability of rxc Contingency Table:
mat <- matrix(1:20,5,4, byrow = TRUE)
pmf(mat)
## outputs:
#[1] 4.556478e-09
[Package HDLSSkST version 2.1.0 Index]