mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
29 lines
523 B
Markdown
29 lines
523 B
Markdown
---
|
|
slug: /zh/sql-reference/aggregate-functions/reference/skewpop
|
|
sidebar_position: 150
|
|
---
|
|
|
|
# skewPop {#skewpop}
|
|
|
|
计算给定序列的 [偏度] (https://en.wikipedia.org/wiki/Skewness)。
|
|
|
|
**语法**
|
|
|
|
``` sql
|
|
skewPop(expr)
|
|
```
|
|
|
|
**参数**
|
|
|
|
`expr` — [表达式](../../../sql-reference/syntax.md#syntax-expressions) 返回一个数字。
|
|
|
|
**返回值**
|
|
|
|
给定分布的偏度。类型 — [Float64](../../../sql-reference/data-types/float.md)
|
|
|
|
**示例**
|
|
|
|
``` sql
|
|
SELECT skewPop(value) FROM series_with_value_column;
|
|
```
|