GAMINV Function


GAMINV Function

Returns a quantile from the gamma distribution

Category: Quantile

Syntax

GAMINV ( p,a )

Arguments

p

  • is a numeric probability.

  • Range: p <1

a

  • is a numeric shape parameter.

  • Range: a > 0

Details

The GAMINV function returns the p th quantile from the gamma distribution, with shape parameter a . The probability that an observation from a gamma distribution is less than or equal to the returned quantile is p .

Note: GAMINV is the inverse of the PROBGAM function.

Examples

SAS Statements

Results

q1=gaminv(0.5,9);

8.6689511844

q2=gaminv(0.1,2.1);

0.5841932369




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