Generate random numbers according to distributions

Viewed 36828

I want to generate random numbers according some distributions. How can I do this?

6 Answers

It's a standard textbook matter. See here for some code, or here at Section 3.2 for some reference mathematical background (actually very quick and simple to read).

Related