bundles / scipy latest / docs
Doc
Wallenius' Noncentral Hypergeometric Distribution
docs/tutorial:stats:discrete_nchypergeom_wallenius
A random variable has Wallenius' Noncentral Hypergeometric distribution with parameters
, , , ,
if its probability mass function is given by
for , where , ,
and the binomial coefficients are
References
Agner Fog, "Biased Urn Theory", https://cran.r-project.org/web/packages/BiasedUrn/vignettes/UrnTheory.pdf
"Wallenius' noncentral hypergeometric distribution", Wikipedia, https://en.wikipedia.org/wiki/Wallenius'_noncentral_hypergeometric_distribution
Implementation: scipy.stats.nchypergeom_wallenius