Is there a package that implements sampling for the multivariate hypergeometric distribution?
There doesn’t seem to be a package that implements the multivariate hypergeometric distribution. IYou can use this distribution defined in
scipy.stats, via Pycall.jl :[scipy.stats.multivariate_hypergeom — SciPy v1.10.1 Manual](Numpy and Scipy Documentation — Numpy and Scipy documentation /scipy/reference/generated/scipy.stats.multivariate_hypergeom.html).
Thanks for the reply. Yes, I did some searching but also came up empty. I hacked together something specific for my use case (don’t want to go through pycall). It seems to be a conspicuous oversight in StatsBase.