ClickHouse/docs/en/sql-reference/aggregate-functions/reference/covarpop.md
Ivan Blinkov 7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00

399 B

toc_priority
36

covarPop

Syntax: covarPop(x, y)

Calculates the value of Σ((x - x̅)(y - y̅)) / n.

!!! note "Note" This function uses a numerically unstable algorithm. If you need numerical stability in calculations, use the covarPopStable function. It works slower but provides a lower computational error.