CBA_fnc_standardDeviation

Description

Returns the standard deviation, a measure of the spread of a distribution, of the array elements.

Parameters

_numbersThe array from which the standard deviation is computed ARRAY
_ddofThe delta degrees of freedom [optional] <SCALAR> (default: 0)
_ddof = 0Population standard deviation
_ddof = 1Sample standard deviation

Returns

_stdDevThe standard deviation <SCALAR>

Examples

// returns roughly 5.564
[[1,4,16,4,1]] call CBA_fnc_standardDeviation;
// returns roughly 6.221
[[1,4,16,4,1], 1] call CBA_fnc_standardDeviation;

Author

Kex

Array to read from [Array]
Close