ClickHouse/docs/zh/sql-reference/aggregate-functions/reference/skewpop.md

28 lines
456 B
Markdown
Raw Normal View History

2021-02-02 12:00:41 +00:00
---
toc_priority: 150
---
# skewPop {#skewpop}
2021-03-07 14:18:15 +00:00
计算给定序列的 [偏度] (https://en.wikipedia.org/wiki/Skewness)。
**语法**
2021-02-02 12:00:41 +00:00
``` sql
skewPop(expr)
```
2021-03-07 14:18:15 +00:00
**参数**
2021-02-02 12:00:41 +00:00
2021-03-07 14:18:15 +00:00
`expr` — [表达式](../../../sql-reference/syntax.md#syntax-expressions) 返回一个数字。
2021-02-02 12:00:41 +00:00
2021-03-07 14:18:15 +00:00
**返回值**
2021-02-02 12:00:41 +00:00
2021-03-07 14:18:15 +00:00
给定分布的偏度。类型 — [Float64](../../../sql-reference/data-types/float.md)
2021-02-02 12:00:41 +00:00
2021-03-07 14:18:15 +00:00
**示例**
2021-02-02 12:00:41 +00:00
``` sql
SELECT skewPop(value) FROM series_with_value_column
```