Loading

bucketizer.sd.welford

bucketizer

This bucketizer function returns the standard deviation of each bucket. The location and elevation returned are those associated with the most recent value in the bucket.

This is similar to bucketizer.sd except this version implements Welford's method which is 10% slower but is much less subject to numerical instability.

The standard deviation is the square root of the variance as computed by mapper.var.

The bucketizer.sd.welford function can only be applied to values of type LONG or DOUBLE, when applied to STRING or BOOLEAN it does not return any value.

bucketizer.sd.welford is available since version 2.9.0.

See also

Signatures

Examples