deviation
The standard deviation of the distribution (also called sigma).
Declaration
var deviation: Float { get }Discussion
One deviation is defined such that 68.27% of values generated by the distribution are within one deviation of the mean value, 95% of generated values are within two deviations, and 100% of generated values are within three deviations. Values within two deviations of the mean have a 95% probabilty, and values within three deviations have a 100% probability.
This property is read-only—GameplayKit automatically calculates its value based on those of the inherited lowestValue and highestValue properties such that those values are each three deviations away from the mean (deviation = (highest - lowest) / 6).