Loading TOC...

math.variance

math.variance(
   $arg as Number[]
) as Number?

Summary

Returns the sample variance of a sequence of values. The function returns the empty sequence if the length of the input sequence is less than 2.

Parameters
$arg The sequence of values.

Example

  math.variance([122, 100, 23])

  => 2702.33333333333

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy