↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / Aggregate Functions

Computes the “sum of products” of independent times dependent variables, sum(X*Y) - sum(X) * sum(Y)/N.

Reading PG 18current·documented in 21 of 27 versions, 8.2 to 20

Signatures & examples

regr_sxy ( Y double precision, X double precision ) → double precision
Computes the “sum of products” of independent times dependent variables, sum(X*Y) - sum(X) * sum(Y)/N.
Version history 3
  1. 12 → 13 changed
  2. 9.6 → 10 changed
  3. 8.1 → 8.2 added

Definition snapshot: b7bd9cda · English manual source