betainc(A;B;X)
Returns the regularized incomplete beta function of the given values.
Syntax
betainc(A;B;X)
Input
Argument | Type | Description |
---|---|---|
A |
integer or decimal | A must be greater than 0. |
B |
integer or decimal | B must be greater than 0. |
X |
integer or decimal | X must be between 0 and 1 inclusive. |
Return Value
Returns a decimal value corresponding to the regularized incomplete beta function of
A
, B
, and X
:
IX(A,
B)
The regularized incomplete beta function can be used to evaluate the cumulative distribution function of a random variable from a binomial distribution.
If any argument is N/A, the result is N/A.
Sample Usage
a |
b |
x |
betainc(a;b;x) |
---|---|---|---|
1 | 3 | 0.4 | 0.2613333 |
2 | 3 | 0.8 | 0.0810667 |
9 | 1 | 0.4 | 2.9127111e-005 |
9 | 1 | 0.85 | 0.0257352 |
NA | 3 | 0.8 | NA |