HTBasic Help
×
Menu
Index
P_beta
Probability integral for beta distribution.
 
Loading        LOADSUB ALL FROM "IGAMMA.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL X,A,B,Y
Y=FNP_beta(A,B,X)
 
Description                
FNP_beta returns the value of the probability integral of the univariate beta probability density function with parameters a and b at x, P(x;a,b). P(x;a,b) is defined only for a 0 and b 0.
 
P(x;a,b) is defined by the expression
 
 
When 0 x 1, P(x;a,b) is related to the incomplete beta function returned by FNIbeta, Bx(a,b), by the expression
 
 
P(x;a,b)
 
The function P(x;a,b) is sometimes written Ix(a,b).
 
Errors                
FNP_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, Q_beta