There are two random number generators, providing uniformly and standard normally distributed pseudo-random numbers. Note that these operands have special properties in data assignments. In particular, they are evaluated only as necessary.
Usage
This returns a standardised normal pseudo-random
number with seed set by default or by a SEED: command. The
nrand operand can act like an operator in some circumstances,
for example when used in conjunction with the DATAVEC: command.
This returns a uniform pseudo-random number with
seed set by default or by a SEED: command.
The
urand operand can act like an operator in some circumstances,
for example when used in conjunction with the DATAVEC: command.
Usage