The OpenD Programming Language

robustScale

Scales input using robust statistics.

This function centers the input using the median and then scales the data according to the quantile range defined by (low_quartile, 1 - low_quartile). By default, it uses the interquartile range, whereby low_quartile equals 0.25.

Members

Functions

robustScale
auto robustScale(Slice!(Iterator, N, kind) slice, T low_quartile)
auto robustScale(SliceLike x, F low_quartile)

Parameters

F

controls type of output

quantileAlgo

algorithm for calculating quantile (default: QuantileAlgo.type7)

allowModifySlice

controls whether the input is modified in place, default is false

Return Value

The robust scaled input

See Also

scale, $(SUB2REF univariate, median), $(SUB2REF univariate, quantile), $(SUB2REF univariate, interquartileRange)

Meta