SfunBetaIncomplete Method |
Returns the incomplete Beta function ratio.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double BetaIncomplete(
double x,
double p,
double q
)
Public Shared Function BetaIncomplete (
x As Double,
p As Double,
q As Double
) As Double
public:
static double BetaIncomplete(
double x,
double p,
double q
)
static member BetaIncomplete :
x : float *
p : float *
q : float -> float
Parameters
- x
- Type: SystemDouble
A double value specifying the upper limit of integration It
must be in the interval [0,1] inclusive.
- p
- Type: SystemDouble
A double value specifying the first Beta parameter. It must be
positive.
- q
- Type: SystemDouble
A double value specifying the second Beta parameter. It must
be positive.
Return Value
Type:
Double
A
double value specifying the incomplete Beta function ratio.
Remarks
The incomplete beta function is defined to be
See Beta for the definition of
.
The parameters p and q must both be greater than zero.
The argument x must lie in the range 0 to 1. The incomplete
beta function can underflow for sufficiently small x and large
p; however, this underflow is not reported as an error.
Instead, the value zero is returned as the function value.
The method BetaIncomplete is based on the work of Bosten and
Battiste (1974).
See Also