statistical. stDev

Estimates standard deviation based on a sample.

Constructor

new stDev()

Methods

(static) p(args) → {number}

Calculates standard deviation based on the entire population.

Parameters:
NameTypeDescription
argsArray.<number>

number1, number2, ... Number arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.

Returns:

standard deviation based on the entire population or an error.

Type: 
number

(static) s(args) → {number}

Estimates standard deviation based on a sample.

Parameters:
NameTypeDescription
argsArray.<number>

number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.

Returns:

Estimated standard deviation based on a sample or an error

Type: 
number