Package: alexandria

Function variance

Lambda List

variance (sample &key biased)

Details

Variance of sample. Returns the biased variance if biased is true (the default), and the unbiased estimator of variance if biased is false. sample must be a sequence of numbers.