- #1

- 94

- 0

I am making a number generator that generates a number based on a pareto distribution.

The problem is, the distribution essentially goes from 0 to infinity. How would I go about scaling the values so I get a range between 0 and 1 instead?

As of right now, I'm taking a random uniform number and simply turning it into a pareto distribution using a method called Generating generalized Pareto random variables (found in wikipedia).

Thanks again!