Chapter Contents

Previous

Next
GAMMA

GAMMA



Returns the value of the Gamma function

Category: Mathematical


Syntax
Arguments
Details
Example

Syntax

GAMMA(argument)

Arguments

argument
is numeric.
Restriction: Nonpositive integers are invalid.


Details

The GAMMA function returns the integral, which is given by

[IMAGE]

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


Example

SAS Statements Results
x=gamma(6);
120


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.