ByteHouse Enterprise Edition
Calculates the [sample skewness] of a given sequence (https://en.wikipedia.org/wiki/Skewness。)).
If the values passed form its sample, it represents an unbiased estimation of the skewness of a random variable.
Syntax
skewSamp(expr)
Parametersexpr — The expression. Returns a number.
Return value
The skewness of the given distribution. Type — Float64. If n <= 1 (the n is the sample size), the function returns NaN.
Example
SELECT skewSamp(value) FROM series_with_value_column;