generates pseudo-random uniform deviates
where seed is a numeric matrix or literal. The seed can be any integer value up to .
The UNIFORM function returns one or more pseudo-random numbers with a uniform distribution over the interval 0 to 1. The UNIFORM function returns a matrix with the same dimensions as the argument. The first argument on the first call is used for the seed, or if that argument is 0, the system clock is used for the seed. The function is equivalent to the DATA step function RANUNI. An example of a valid statement follows:
seed = 123456; c = j(5,1,seed); b = uniform(c); print b; B 0.73902 0.2724794 0.7095326 0.3191636 0.367853