Algorithm 668: H2PEC: sampling from the hypergeometric distribution
Algorithm 668: H2PEC: sampling from the hypergeometric distribution
复制标题
算法 668:H2PEC:从超几何分布中采样
DOI:
10.1145/50063.214387
复制
发表时间:
1988
期刊:
影响因子:
--
通讯作者:
B. Schmeiser
中科院分区:
文献类型:
--
作者:
V. Kachitvichyanukul;B. Schmeiser
Let M be the mode of the hypergeometric distribution, which is defined as the integer portion of {(k + l)(nI + l)/(nl + n2 + 2)). The inverse transformation method is used for M max(O, k n2) < 10, and algorithm HBPE is used for M max(O, K n2) I 10. The overall algorithm framework for HBPE is acceptance/rejection and is implemented via composition. Three subdensities are used: uniform for the body of the distribution and an exponential for each tail.