HTBasic Help
×
Menu
Index
Q_beta
Complementary probability integral for beta distribution.
 
Loading        LOADSUB ALL FROM "IGAMMA.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL X,A,B,Y
Y=FNQ_beta(A,B,X)
 
Description                
FNQ_beta returns the value of the complementary probability integral of the univariate beta probability density function with parameters a and b, Q(x;a,b). Q(x;a,b) is defined only for a 0 and b 0.
 
Q(x;a,b) is defined by the expression
 
 
When 0 x 1, Q(x;a,b) is related to the incomplete beta function returned by FNIbeta, Bx(a,b) by the expression
 
 
Q(x;a,b)
Errors
FNQ_beta causes an HTBasic error if its arguments are not all of type REAL or if a or b is negative.
 
See Also
Beta, Ibeta, F_beta, P_beta