stdevp — aggregate function to return the population standard deviation of a range of values.
This function computes a value for each record returned by the query predicate, or from the specified column of a base table, and returns the population standard deviation of those values.
expr must be the name of a column in a LiveView table, where that column's data type is int, long, double, or timestamp. If the
field's type is an int, double, or long, it returns a double. If the field's type is a timestamp, it returns an interval timestamp.
For timestamp values, the input field should contain all interval timestamps or all absolute timestamps, but not both.
This function calculates its return value based on the biased or n method, and is usually used when the incoming data represents the entire population of data. Use stdev, which calculates its return value using the unbiased or n-1 method, when the incoming data represents a random sample of data.
This LiveView aggregate function is based on the stdevp aggregate function in the StreamBase expression language.