How do I best simulate an arbitrary univariate random variate using its probability function?

Leave a Comment