mleS {chyper} | R Documentation |
Calculates the MLE of the overlap size in a conditional hypergeometric distribution: the distribution of how many items are in the overlap of all samples when samples of arbitrary size are each taken without replacement from populations of arbitrary size.
mleS(k, n, m, verbose = T)
k |
the observed overlaps |
n |
a vector of integers representing the sizes of each non-intersecting population |
m |
a vector of integers representing the sample sizes |
verbose |
T/F should intermediate messages be printed? |
The maximum likelihood estimator of the intersecting population size
mleS(c(0,0,1,1,0,2,0), c(12,13,14), c(7,8,9))