Incomplete beta function
R = betainc(X, Z, W, tail)
X - a real single or real double matrix. It must be in the closed interval [0, 1].
Z - a real single or real double matrix. It must be nonnegative.
W - a real single or real double matrix. It must be nonnegative.
tail - a string 'upper' or 'lower' (default).
📤 Output argument
R - result of betainc function.
betainc computes the incomplete beta function (regularized).
The incomplete beta function is defined as: Ix(a,b)=B(a,b)B(x;a,b)=B(a,b)1∫0xta−1(1−t)b−1dt
where B(a,b)=∫01ta−1(1−t)b−1dt
is the complete beta function, and: B(a,b)=Γ(a+b)Γ(a)Γ(b)
The function is normalized so that I1(a,b)=1 .
All arrays must be the same size or any of them can be scalar.
gamma.
Last updated