|
  
variance
Format: variance( list )
variance( x1, x2, ... )
Arguments: [num] list Input list (must contain
at least two elements)
(num) x1, x2, ... Input values
Returns: (num) The variance of all elements in list
if only one argument is supplied or the variance of all arguments
if more than one argument is supplied
Description: The N-1 (unbiased) method is used to
calculate the variance with the following formula:
Examples: variance([1,2,3,4,5])
= 2.5
variance(1,2,3,4,5) = 2.5
See Also: std, count, sum, prod,
avg, max, min,
med, correlation
|