D
Daniel Dyer
I'm looking for an algorithm for generating discrete random numbers with a
binomial distribution using a uniform RNG. Basically something like the
Box-Muller algorithm but for binomials. I know I can use a normal
distribution (and hence Box-Muller) as an approximation, I was just
wondering if there is a better approach.
I guess all this stuff is in Knuth vol. 2, but I don't have a copy here.
Thanks,
Dan.
binomial distribution using a uniform RNG. Basically something like the
Box-Muller algorithm but for binomials. I know I can use a normal
distribution (and hence Box-Muller) as an approximation, I was just
wondering if there is a better approach.
I guess all this stuff is in Knuth vol. 2, but I don't have a copy here.
Thanks,
Dan.