betainc
Incomplete beta function (regularized).
Syntax
Section titled “Syntax”v = betainc(x, a, b, tail)Description
Section titled “Description”Returns the regularized incomplete beta function I_x(a, b) — equivalent to the CDF of the Beta(a, b) distribution at x. tail = 'upper' returns 1 - I_x(a, b).
Example
Section titled “Example”betainc(0.5, 2, 5)See also
Section titled “See also”beta— Beta function B(a, b).betaincinv— Inverse of the regularized incomplete beta function.beta_dist— Beta-distribution PDF or CDF.