BETA Function

Returns the value of the beta function.

Category: Mathematical

Syntax

BETA(a,b)

Required Arguments

a

is the first shape parameter, where a>0.

b

is the second shape parameter, where b>0.

Details

The BETA function is mathematically given by the equation
β ( a , b ) = 0 1 x a - 1 ( 1 - x ) b - 1 d x
with a>0, b>0. It should be noted that
β ( a , b ) = Γ ( a ) Γ ( b ) Γ ( a + b )
where Γ ( . ) is the gamma function.
If the expression cannot be computed, BETA returns a missing value.

Example

The following SAS statement produces this result.
SAS Statement
Result
x=beta(5,3);
0.9523809524e-2

See Also

Functions: