Command Reference : Command Reference
  
 
rnd
Generate uniform random draws.
The rnd command fills series, vector, and matrix objects with (pseudo) random values drawn uniformly from zero to ones. When used with a series, rnd command ignores the current sample and fills the entire object.
Syntax
rnd(object_name)
Fill object_name with uniform random numbers.
Examples
matrix(30, 4) m1
rnd(m1)
Cross-references
For random generator functions, see “Statistical Distributions” and in particular, @mrnd, @mnrnd, and @rmvnorm.
For related commands, see nrnd, rndint, and rmvnorm. See also rndseed.