Stdev - script function
Stdev() returns the standard deviation of the values given by the expression over a number of records as defined by a group by clause.
Syntax:
Return data type: numeric
Arguments:
Argument | Description |
---|---|
expr | The expression or field containing the data to be measured. |
distinct | If the word distinct occurs before the expression, all duplicates will be disregarded. |
Examples and results:
Add the example script to your appand run it. Then build a straight table with Type and MyStdev as dimensions.
Example | Result |
---|---|
Stdev1: LOAD Type, Stdev(Value) as MyStdev Resident Table1 Group By Type; |
The results of the Stdev() calculation are:
|