Returns a random variate from a normal distribution.
Category: | Random Number |
Tip: | If you want to change the seed value during execution, you must use the CALL RANNOR routine instead of the RANNOR function. |
is a numeric constant, variable, or expression with an integer value. If seed ≤ 0, the time of day is used to initialize the seed stream.
Range | seed < 2^{31}−1 |
See | Seed Values for more information about seed values |
x=MU+sqrt(S2)*rannor(seed);
x=exp(MU+sqrt(S2)*rannor(seed));