|
-
February 11th, 2011, 08:38 AM
#1
code to generate numbers with zipf distribution
Dear all,
I am looking for a function that can generate a serial of random numbers which follows the zipf distribution with a given mean. The only thing that I can find now is with a given parameter of alpha (an exponent characterizing the distribution). Does anyone know if there is a library provide this kind of function or where should I look for it?
Thank you!!!
-
February 14th, 2011, 08:44 PM
#2
Re: code to generate numbers with zipf distribution
Not completely certain that this will help you, but the answer to this question on stackoverflow seems on-point: "Generate random numbers distributed by Zipf" at http://stackoverflow.com/questions/1...ibuted-by-zipf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|