mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-17 14:00:51 +00:00
7170f3c534
* prefer relative links from root * wip * split aggregate function reference * split system tables
28 lines
666 B
Markdown
28 lines
666 B
Markdown
---
|
|
toc_priority: 154
|
|
---
|
|
|
|
# kurtSamp {#kurtsamp}
|
|
|
|
Computes the [sample kurtosis](https://en.wikipedia.org/wiki/Kurtosis) of a sequence.
|
|
|
|
It represents an unbiased estimate of the kurtosis of a random variable if passed values form its sample.
|
|
|
|
``` sql
|
|
kurtSamp(expr)
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
`expr` — [Expression](../../../sql-reference/syntax.md#syntax-expressions) returning a number.
|
|
|
|
**Returned value**
|
|
|
|
The kurtosis of the given distribution. Type — [Float64](../../../sql-reference/data-types/float.md). If `n <= 1` (`n` is a size of the sample), then the function returns `nan`.
|
|
|
|
**Example**
|
|
|
|
``` sql
|
|
SELECT kurtSamp(value) FROM series_with_value_column
|
|
```
|