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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
479 B
Markdown
Raw Normal View History

2021-02-02 12:00:41 +00:00
---
2022-08-26 19:07:59 +00:00
slug: /zh/sql-reference/aggregate-functions/reference/stddevsamp
2022-04-10 23:08:18 +00:00
sidebar_position: 31
2021-02-02 12:00:41 +00:00
---
# stddevSamp {#stddevsamp}
2021-02-27 12:20:53 +00:00
结果等于 [varSamp] (../../../sql-reference/aggregate-functions/reference/varsamp.md)的平方根。
2021-02-02 12:00:41 +00:00
2023-03-03 10:35:07 +00:00
:::note
该函数使用数值不稳定的算法。 如果你需要 [数值稳定性](https://en.wikipedia.org/wiki/Numerical_stability) 在计算中,使用 `stddevSampStable` 函数。 它的工作速度较慢,但提供较低的计算错误。
:::