You need to enable JavaScript to run this app.
ByteHouse Enterprise Edition

ByteHouse Enterprise Edition

Copy page
Download PDF
Aggregate function
skewsamp
Copy page
Download PDF
skewsamp

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)

Parameters
expr — 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;
Last updated: 2026.03.31 11:49:59