Argument | Category | Description |
---|---|---|
Method | Required | Specifies one or more statistical methods to use to scale the data set. For method values and descriptions, refer to the following table. If you specify multiple methods, the output table includes the column scalemethod (which contains the method name) and a row for each input-row/method combination. |
Global | Optional | Specifies whether all input columns are scaled to the same location and scale. The default value is 'false' (each input column is scaled separately). |
InputColumns | Optional | Specifies the input table columns that contain the attribute values of the samples. The attribute values must be numeric values between -1e308 and 1e308. If a value is outside this range, the function treats it as infinity. The default input columns are all columns of the statistic table except stattype. |
Accumulate | Optional | Specifies the input table columns to copy to the output table. By default, the function copies no input table columns to the output table. |
Multiplier | Optional | Specifies one or more multiplying factors to apply to the input variables—multiplier in the following formula: X' = intercept + multiplier * (X - location)/scale If you specify only one multiplier, it applies to all columns specified by the InputColumns argument. If you specify multiple multiplying factors, each multiplier applies to the corresponding input column. For example, the first multiplier applies to the first column specified by the InputColumns argument, the second multiplier applies to the second input column, and so on. The default multiplier is 1. |
Intercept | Optional | Specifies one or more addition factors incrementing the scaled results—intercept in the following formula: X' = intercept + multiplier * (X - location)/scale If you specify only one intercept, it applies to all columns specified by the InputColumns argument. If you specify multiple addition factors, each intercept applies to the corresponding input column. The syntax of intercept is: [-]{number | min | mean | max }
where min, mean, and max are the global minimum, maximum, mean values in the corresponding columns. The function scales the values of min, mean, and max. For example, if intercept is '- min' and multiplier is 1, the scaled result is transformed to a nonnegative sequence according to this formula, where scaledmin is the scaled value: X' = - scaledmin + 1 * (X - location)/scale The default intercept is 0. |
The following table lists the location and scale values for each statistical method. X is an input value in a category, and minX and maxX are the minimum and maximum values in that category, respectively.
Method | Location | Scale |
---|---|---|
mean | X mean | 1 |
sum | 0 | Σ X |
ustd | 0 | stdXaboutorigin, which is calculated according to the biased estimator of the variance. |
std | X mean | stdX, which is calculated according to the unbiased estimator of the variance. |
range | minX | maxX - minX |
midrange | (maxX+minX)/2 | (maxX - minX)/2 |
maxabs | 0 | maxabs X |