Oracle® OLAP DML Reference 11g Release 1 (11.1) B2812603 


PDF · Mobi · ePub 
The NORMAL function returns a random value from a normal distribution with a specified mean and standard deviation. The result returned by NORMAL is dimensioned by all the dimensions of the mean and standard deviation expressions.
DECIMAL
NORMAL(mean standarddeviation)
A numeric expression that represents the mean of a normal distribution. When mean is NA
, NORMAL returns NA
.
A numeric expression that represents the standard deviation of a normal distribution. When standarddeviation is NA
, NORMAL returns the mean.
Example 839 Showing Random Values
Each of the following examples shows a random number that might be returned from a normal distribution with a mean of 0 and a standard deviation of 1.
The first time you execute the following statement,
SHOW NORMAL(0 1)
it might produce the following result.
0.75
However, when you execute the same statement again, it might produce the following result.
0.87