I want to generate numbers in some distribution patterns such as Exponential,Normal,Triangular etc. Please help me to this? are there any 开发者_运维百科software to generate numbers?
regards, nilani.
The book Non-Uniform Random Variate Generation (out of print) is available freely online:
http://luc.devroye.org/rnbookindex.html
It contains algorithms for specific distributions as well as general theorems that you might find useful.
Also, there are probably libraries that will do this for you. If you specify what language you're using, someone may be able to point you in the right direction.
Excel can do that
http://office.microsoft.com/en-us/excel-help/statistical-functions-HP005203066.aspx
Alternatively, you can look up the expression for the distributions and implement them in your favourite programming language with a range of random variables. Should be simple
精彩评论