« stats_stat_powersum
Trader »

stats_variance

(PECL stats >= 1.0.0)

stats_variance — Returns the variance

説明

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

Returns the variance 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 variance on success; false on failure.

関連キーワード:
variance   stats   sample   float   values   stat   powersum   Trader   Statistic   find   standard deviation   Note   cast   Indicates   represents   population   defaults   success   failure
関連する関数・ページ:
function.stats-standard-deviation   function.stats-stat-independent-t   function.stats-stat-powersum   function.stats-rand-gen-f   function.stats-skew   function.stats-cdf-t