« stats_skew
stats_stat_binomial_coef »

stats_standard_deviation

(PECL stats >= 1.0.0)

stats_standard_deviation — Returns the standard deviation

説明

function stats_standard_deviation(array $a, bool $sample = false): float

Returns the standard deviation of the values in a.

パラメータ

a

The array of data to find the standard deviation for. Note that all values of the array will be cast to float.

sample

Indicates if a represents a sample of the population; defaults to false.

戻り値

Returns the standard deviation on success; false on failure.

エラー / 例外

Raises an E_WARNING when there are fewer than 2 values in a.

関連キーワード:
standard deviation   stats   standard   deviation   sample   values   float   skew   stat   binomial   coef   Statistic   find   Note   cast   Indicates   represents   population   defaults   success   failure   Raises   there   fewer
関連する関数・ページ:
function.stats-absolute-deviation   function.stats-rand-gen-normal   function.stats-dens-normal   function.stats-variance   function.stats-skew   function.stats-stat-binomial-coef