Skip to contents

Returns the population covariance of input values.

Usage

covar_pop(y, x)

Arguments

y, x

DOUBLE

Value

DOUBLE

SQL examples

(SUM(x*y) - SUM(x) * SUM(y) / COUNT(*)) / COUNT(*)