Previous Page | Next Page

Functions and CALL Routines

LGAMMA Function



Returns the natural logarithm of the Gamma function.
Category: Mathematical

Syntax
Arguments
Examples

Syntax

LGAMMA(argument)


Arguments

argument

specifies a numeric constant, variable, or expression.

Range: must be positive.

Examples

SAS Statements Results
x=lgamma(2);
0
x=lgamma(1.5);
-0.120782238

Previous Page | Next Page | Top of Page