LFACT Function

Computes the logarithm of the FACT (factorial) function.

Category: Combinatorial

Syntax

LFACT(n)

Required Argument

n

is an integer that represents the total number of elements from which the sample is chosen.

Details

The LFACT function computes the logarithm of the FACT function.

Example

The following SAS statements produce these results.
SAS Statements
Results
x=lfact(5000);
put x;
37591.143509
y=lfact(100);
put y;
363.73937556

See Also

Functions: