What is the right code to produce a sequence of iid NegativeBinomial random variables with Statistics package? It seems the natural choice only works correctly for size parameter equal to one when combined with Sample, though the theoretical moments are always correct. What's wrong with my code? Pls see http://www.mapleprimes.com/files/7371_NBD-problem.mw Thanks heaps.

 


Please Wait...