new confidence()
- Source
Methods
(static) norm(alpha, standard_dev, size) → {number|Error}
Returns the confidence interval for a population mean.
Name | Type | Description |
---|---|---|
alpha | number | The significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%, or in other words, an alpha of 0.05 indicates a 95 percent confidence level. |
standard_dev | number | The population standard deviation for the data range and is assumed to be known. |
size | number | The sample size. |
- Source
Returns a 1-alpha confidence interval for value given a normal distribution with a standard deviation and a sample size
- Type:
- number |
Error
(static) t(alpha, standard_dev, size) → {number|Error}
Returns the confidence interval for a population mean, using a Student's t distribution.
Name | Type | Description |
---|---|---|
alpha | number | The significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%, or in other words, an alpha of 0.05 indicates a 95 percent confidence level. |
standard_dev | number | The population standard deviation for the data range and is assumed to be known. |
size | number | The sample size. |
- Source
- See
- For further information, see docs.oasis-open.org
Returns a 1-alpha confidence interval for value given the standard deviation and the sample size.
- Type:
- number |
Error