Contents Previous Next Subchapters

The Incomplete Beta Function
Syntax betai(abx)
See Also beta , gammln , erf

Description
Returns the element-by-element incomplete beta function
                             x
                      1     /   (a - 1)       (b - 1)
betai(abx) = ---------- |  t       (1 - t)       dt
                 beta(ab) /
                             0
where a, b, and x are real or double-precision matrices and < x(i,j< 1.

Example
     x = {0. : .05 : 1.}
     a = 8.
     b = 10.
     gplot(x, betai(a, b, x))
     
returns the following plot: