LOGBETA Function

Returns the logarithm of the beta function.

Category: Mathematical

Syntax

LOGBETA(a,b)

Required Arguments

a

is the first shape parameter, where a>0.

b

is the second shape parameter, where b>0.

Details

The LOGBETA function is mathematically given by the equation l o g ( β ( a , b ) ) = l o g ( Γ ( a ) ) + l o g ( Γ ( b ) ) - l o g ( Γ ( a + b ) )
where Γ ( . ) is the gamma function.
If the expression cannot be computed, LOGBETA returns a missing value.

Example

The following SAS statement produces this result.
SAS Statement
Result
LOGBETA(5,3);
-4.653960350

See Also

Functions: