php8.5
Home/ Manual/ stats / functions/ stats_absolute_deviation

stats_absolute_deviation

PHP function Edit on GitHub ✎

(PECL stats >= 1.0.0)

Returns the absolute deviation of an array of values

Description

stats_absolute_deviation(array $a): float

Returns the absolute deviation of the values in a.

Parameters

a

The input array

Return Values

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

Source: reference/stats/functions/stats-absolute-deviation.xml · from the official PHP manual (php/doc-en)