GAMMA Function


Returns the value of the Gamma function

Category: Mathematical

Syntax

GAMMA ( argument )

Arguments

argument

  • is numeric.

  • Restriction: Nonpositive integers are invalid.

Details

The GAMMA function returns the integral, which is given by

click to expand

For positive integers, GAMMA(x) is (x - 1)!. This function is commonly denoted by ( x ).

Example

SAS Statements

Results

x=gamma(6);

120




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net