Generate random normal draws.

The nrnd command fills series, vector, and matrix objects with (pseudo) random values drawn from a standard normal distribution. When used with a series, the nrnd command ignores the current sample and fills the entire object.

Syntax

nrnd(object_name)

Fill object_name with normal random numbers.

Examples

matrix(10, 3) m1

nrnd(m1)

Cross-references

For random generator functions, see
“Statistical Distributions” and in particular,
@mrnd,
@mnrnd, and
@rmvnorm.