new chiSq()
- Source
Methods
(static) dist(x, deg_freedom, cumulative) → {number}
Returns the cumulative beta probability density function.
Name | Type | Description |
---|---|---|
x | number | The value at which you want to evaluate the distribution. |
deg_freedom | number | The number of degrees of freedom. |
cumulative | boolean | A logical value that determines the form of the function. If cumulative is TRUE, CHISQ.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function. |
- Source
The values for a χ2-distribution.
- Type:
- number
(static) inv(probability, deg_freedom) → {number}
Returns the cumulative beta probability density function.
Name | Type | Description |
---|---|---|
probability | number | A probability associated with the chi-squared distribution. |
deg_freedom | number | The number of degrees of freedom. |
- Source
the inverse of the CHISQDIST function.
- Type:
- number
(static) test(actual_range, expected_range) → {number}
Returns the test for independence.
Name | Type | Description |
---|---|---|
actual_range | * | The range of data that contains observations to test against expected values. |
expected_range | * | The range of data that contains the ratio of the product of row totals and column totals to the grand total. |
- Source
the test for independence.
- Type:
- number