LOGBETA Function

Returns the logarithm of the beta function.

Category: Mathematical
Returned data type: DOUBLE

Syntax

LOGBETA(a, b)

Arguments

a

is the first shape parameter, where a>0.

Data type DOUBLE

b

is the second shape parameter, where b>0.

Data type DOUBLE

Details

The LOGBETA function is mathematically given by the equation
table with 1 row and 1 column , row1 column 1 , l o g . open beta . open eh comma b close . close . equals l o g . open cap gamma , open eh close , close . plus l o g . open cap gamma , open b close , close . minus l o g . open cap gamma . open eh plus b close . close , end table
In the equation, cap gamma , open . close  is the gamma function.
If the expression cannot be computed, LOGBETA returns a missing value.

Example

The following statement illustrates the LOGBETA function:
Statement
Result
select logbeta(5,3);
-4.6539603501575

See Also

Functions: