array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.stats-absolute-deviation.php', 1 => 'stats_absolute_deviation', 2 => 'Returns the absolute deviation of an array of values', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic 函数', ), 'prev' => array ( 0 => 'ref.stats.php', 1 => 'Statistic 函数', ), 'next' => array ( 0 => 'function.stats-cdf-beta.php', 1 => 'stats_cdf_beta', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-absolute-deviation.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

stats_absolute_deviation

(PECL stats >= 1.0.0)

stats_absolute_deviationReturns the absolute deviation of an array of values

说明

stats_absolute_deviation(array $a): float

Returns the absolute deviation of the values in a.

参数

a

The input array

返回值

Returns the absolute deviation of the values in a, or false if a is empty or is not an array.