Investment Studio > Expressions > Functions > Statistical > BETA

float beta(float a, float b)

Returns the Beta function: beta(a, b) = gamma(a) * gamma(b) / gamma(a + b).

a and b must be > 0.

Mathematically,

  1  
B(a, b) =  ó tp - 1 (1 - t)q - 1 dt
ô
õ
  0  

Example

The expression

=beta(4, 5)

equals 0.00357142857142857.

See also betadist, betainv, gamma, gammadist, gammainv, gammaln.