new z()
- Source
Methods
(static) test(array, x, sigma) → {number}
Returns the one-tailed probability-value of a z-test.
Parameters:
Name | Type | Description |
---|---|---|
array | Array.<number> | The array or range of data against which to test x. |
x | number | The value to test. |
sigma | number | Optional. The population (known) standard deviation. If omitted, the sample standard deviation is used. |
- Source
Returns:
the one-tailed probability-value of a z-test or an error if the argumnts are incorrect.
- Type:
- number