I want to draw random numbers from a power law. These numbers should all be positive and have a mean value of 0.002. I saw that I can generate random numbers from a power law by: b*rand^(-D)
and that these numbers are all positive. However how can I get a mean of 0.002?
Thanks in advance,
Leslie
Best Answer