mleN {chyper}R Documentation

Maximum likelihood estimator for a unique population size in conditional hypergeometric distributions

Description

Calculates the MLE of a unique population 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.

Usage

mleN(population, k, s, n, m, verbose = T)

Arguments

population

the index of the unique population to estimate

k

the observed overlaps

s

an integer representing the size of the intersecting population

n

a vector of integers representing the sizes of each non-intersecting population where the value of the unknown population size should be any integer as a placeholder

m

a vector of integers representing the sample sizes

verbose

T/F should intermediate messages be printed?

Value

The maximum likelihood estimator of the unknown unique population size

Examples

mleN(1, c(0,0,1,1,0,2,0), 8, c(0,13,14), c(7,8,9))


[Package chyper version 0.3.1 Index]