The Gaussian random double policy generates a random double-precision floating-point number. The generated number is based on a Gaussian, bell-shaped curve.
In a Gaussian distribution, numbers near the mean are more likely to be selected than numbers outside the mean, as opposed to a uniform distribution of random numbers. In a uniform distribution of random numbers from 1 to 10, the number of ones generated is roughly equal to the number of fives or tens generated. In a Gaussian distribution with a mean of 6 and a standard deviation of 2, more fives and sevens are generated than threes and nines.
This policy is available with the function ScrambleMask.gaussianRandomDouble().
ScrambleMask.gaussianRandomDouble(<arg:mean>, <arg:standardDeviation>)
For example, to generate values based on a mean of 50.5 and a standard deviation of 10.00, enter the following syntax:
ScrambleMask.gaussianRandomDouble('50.5', '10.00')
Argument | Description |
---|---|
mean | The mean value for the Gaussian distribution. |
standardDeviation | The standard deviation for the Gaussian distribution. |