Package: alexandria

Function standard-deviation

Lambda List

standard-deviation (sample &key biased)

Arguments

sample -- a sequence
biased -- a boolean

Return Value

a floating point number

Details

Standard deviation of a sample.

Returns the biased standard deviation if biased is true (the default), and the square root of the unbiased estimator for variance if biased is false (which is not the same as the unbiased estimator for standard deviation). sample must be a sequence of numbers.