new beta()
- Source
Methods
(static) dist(x, alpha, beta, cumulative, a, b) → {number}
Returns the beta cumulative distribution function.
Name | Type | Description |
---|---|---|
x | number | The value between A and B at which to evaluate the function |
alpha | number | A parameter of the distribution. |
beta | number | A parameter of the distribution. |
cumulative | boolean | A logical value that determines the form of the function. If cumulative is TRUE, BETA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function. |
a | number | Optional. A lower bound to the interval of x. |
b | number | Optional. An upper bound to the interval of x. |
- Source
the beta cumulative distribution function or an error if the arguments are incorrect.
- Type:
- number
(static) inv(probability, alpha, beta, a, b) → {number}
Returns the inverse of the cumulative distribution function for a specified beta distribution.
Name | Type | Description |
---|---|---|
probability | number | A probability associated with the beta distribution. |
alpha | number | A parameter of the distribution. |
beta | number | A parameter the distribution. |
a | number | Optional. A lower bound to the interval of x. |
b | number | Optional. An upper bound to the interval of x. |
- Source
the inverse of the cumulative distribution function for a specified beta distribution or an error if the arguments are incorrect.
- Type:
- number