Grnd

Contents

Description

The grnd() function returns a value from a normally (Gaussian) distributed sample, with zero mean and unit standard deviation. The initial value returned, and the sequence of values, are the same for each Origin session.

No argument is needed. To obtain a random number from a normal distribution with mean = m and standard deviation = sd, use

grnd()*sd+m

Syntax

dataset grnd()

Return

Returns a value from a normally (Gaussian) distributed sample, with zero mean and unit standard deviation.

Example

col(a) = grnd();