math:stddev-p

math:stddev-p(
   $arg as xs:double*
) as xs:double?

Summary

Returns the standard deviation of a population. The function returns the empty sequence if the input is the empty sequence.

Parameters
arg The sequence of values.

Example

  math:stddev-p((122, 100, 23))

  => 42.4447353102308
Powered by MarkLogic Server | Terms of Use | Privacy Policy