Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
返回总体方差。与 varPop 不同,此函数使用 数值稳定的算法。它运行较慢,但计算 误差更低。
varPop
varPopStable(x)
x
(U)Int*
Float*
Decimal*
Float64
DROP TABLE IF EXISTS test_data; CREATE TABLE test_data ( x UInt8, ) ENGINE = Memory; INSERT INTO test_data VALUES (3),(3),(3),(4),(4),(5),(5),(7),(11),(15); SELECT varPopStable(x) AS var_pop_stable FROM test_data;
┌─var_pop_stable─┐ │ 14.4 │ └────────────────┘
此页面对您有帮助吗?