Constructor
new gamma(number) → {number}
Name | Type | Description |
---|---|---|
number | number | Returns a number. |
- Source
the Gamma function value or an error if the arguments are incorrect.
- Type:
- number
Methods
(static) dist(value, alpha, beta, cumulative) → {number}
Returns the gamma distribution.
Name | Type | Description |
---|---|---|
value | number | The value at which you want to evaluate the distribution. |
alpha | number | A parameter to the distribution. |
beta | number | A parameter to the distribution. If beta = 1, GAMMA.DIST returns the standard gamma distribution. |
cumulative | boolean | A logical value that determines the form of the function. If cumulative is TRUE, GAMMA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function. |
- Source
the gamma distribution or an error if the arguments are incorrect.
- Type:
- number
(static) inv(probability, alpha, beta) → {number}
Returns the inverse of the gamma cumulative distribution.
Name | Type | Description |
---|---|---|
probability | number | The probability associated with the gamma distribution. |
alpha | number | A parameter to the distribution. |
beta | number | A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution. |
- Source
the inverse of the gamma cumulative distribution or an error if the arguments are incorrect.
- Type:
- number