var_pop(expression) | smallint, int, bigint, real, double precision, or numeric| double precision for floating-point arguments, otherwise numeric| population variance of the input values (square of the population standard deviation)
var_samp(expression) | smallint, int, bigint, real, double precision, or numeric| double precision for floating-point arguments, otherwise numeric| sample variance of the input values (square of the sample standard deviation)
=== Sample call of an aggregate function ===
SELECT regr_slope(tothullcount, avghullcount) FROM hcllayerwinv;
regr_slope
------------------
2.31850202053387
(1 row)
==Joe Conway's Documentation on pl/r==