Methods
(static) p(args) → {number}
Calculates standard deviation based on the entire population.
Parameters:
Name | Type | Description |
---|---|---|
args | Array.<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. |
- Source
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:
Name | Type | Description |
---|---|---|
args | Array.<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. |
- Source
Returns:
Estimated standard deviation based on a sample or an error
- Type:
- number