<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/math.stddev.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>math.stddev</api:function-name><api:suggest>math.stddev</api:suggest><api:suggest>math</api:suggest><api:suggest>stddev</api:suggest><api:function-link mode="xquery" fullname="math:stddev">/apidoc/8.0/math:stddev.xml</api:function-link><api:function mode="javascript" name="stddev" type="builtin" lib="math" category="MathBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="math" namespace="http://marklogic.com/xdmp/math" fullname="math.stddev"><api:summary>
  Returns the sample standard deviation of a sequence of values. The function
  returns the empty sequence if the length of the input sequence is less
  than 2.
</api:summary><api:params><api:param name="arg" type="xs:double*"><api:param-description>
  The sequence of values.
  </api:param-description><api:param-name>arg</api:param-name><api:param-type>Number[]</api:param-type></api:param></api:params><api:return>Number?</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
  math.stddev([122, 100, 23])

  =&gt; 51.9839718887787
</pre></api:example></api:function></api:function-page>