Loading TOC...

MarkLogic Server 11.0 Product Documentation
math.varianceP

math.varianceP(
   arg as Number[]
) as Number?

Summary

Returns the population variance of a sequence of values. The function returns the empty sequence if the input is the empty sequence.

Parameters
arg The sequence of values.

Example

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

  => 1801.55555555555

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.