Date: Mar 19, 2013 6:02 PM
Author: Peter Perkins
Subject: Re: how can generate random integer numbers?
On 3/19/2013 5:22 PM, Steven_Lord wrote:
> If the numbers need to be generated with replacement from the discrete
> uniform distribution on integer values, use RANDI. If they need to be
> generated without replacement from the discrete uniform distribution,
> use RANDPERM. If they need to be generated with a nonuniform
> distribution, things get more tricky.
For non-uniform generation (or uniform, for that matter) with or without
replacement, you can use datasample if you have access to the Statistics