![]() Chapter Contents |
![]() Previous |
![]() Next |
| GAMINV |
| Category: | Quantile |
| Syntax | |
| Arguments | |
| Details | |
| Examples |
Syntax |
| GAMINV(p,a) |
| Range: | 0 p
< 1 |
| Range: | a > 0 |
| Details |
The GAMINV function returns the pth 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. ![[cautionend]](../common/images/cautend.gif)
| Examples |
| SAS Statements | Results |
|---|---|
q1=gaminv(0.5,9); |
8.6689511844 |
q2=gaminv(0.1,2.1); |
0.5841932369 |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.