Random number generators discussion

Random number generators | www.agner.org

 
thread Variates distributed negative hypergeometrically - Ulrich - 2018-12-23
last reply Variates distributed negative hypergeometrically - Agner - 2018-12-23
 
Variates distributed negative hypergeometrically
Author: Ulrich Date: 2018-12-23 12:31
I need to produce random variates for a negative hypergeometric distribution in C++. Can stocc be used to achieve that?
   
Variates distributed negative hypergeometrically
Author: Agner Date: 2018-12-23 16:14
Ulrich wrote:
I need to produce random variates for a negative hypergeometric distribution in C++. Can stocc be used to achieve that?
No. It supports the standard hypergeometric distribution and the noncentral hypergeometric distributions, but not the negative hypergeometric distribution.