Population and sample variance can be computed using the functions var pop
and var samp, respectively. Both functions take an attribute as argument and
apply to the remaining non-null values. If the sequence of values of an attribute
A is (x1, . . . , xn), then the population variance is: