Methods
(static) p(args) → {number}
Calculates variance based on the entire population.
Parameters:
Name | Type | Description |
---|---|---|
args | Array.<number> | number1, number2, ... Number arguments 2 to 254 corresponding to a population. |
- Source
Returns:
Calculates variance based on the entire population or an error if the arguments are incorrect.
- Type:
- number
(static) s(args) → {number}
Estimates variance 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. |
- Source
Returns:
Estimates variance based on a sample.
- Type:
- number