Do you only need integer values for the one parameter?
If so, there is a half page, 7 step, algorithm in my old copy of Fishman's
simulation text I can photocopy for you. He has two other algorithm that
require more complex computations such as Cauchy and Gamma and Poisson
variates.




-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to