cdfBeta¶
Purpose¶
Computes the incomplete Beta function (i.e., the cumulative distribution function of the Beta distribution).
Format¶
-
p =
cdfBeta
(x, a, b)¶ - Parameters
x (NxK matrix) – Values at which to evaluate the Beta cdf. \(0 \leq x \leq 1\)
a (LxM matrix) – ExE conformable with x. \(a > 0\)
b (PxQ matrix) – ExE conformable with x and a. \(b > 0\)
- Returns
p (matrix, max(N,L,P) by max(K,M,Q)) – p is the integral from 0 to x of the beta distribution with parameters a and b. A -1 is returned for those elements with invalid inputs.