greatpy.tl.hypergeom_pmf
- greatpy.tl.hypergeom_pmf(N, K, n, k)
Calculate the probability mass function for hypergeometric distribution
- Parameters:
- Returns:
proability mass function
- Return type:
Examples
>>> hypergeom_pmf(100,10,30,1) ... 0.11270773995748315