Generates gamma distribution inverse cumulative density function values at specified locations. |
||
Syntax |
X = GammaInvCDF(Prob, a, b) |
|
Arguments |
Name |
Description |
Prob |
A scalar, vector, or matrix of probabilities in the interval (0,1) at which the inverse cumulative density function is to be evaluated. |
|
a |
Shape parameter. A positive scalar. See Comments. |
|
b |
Scale parameter. A positive scalar. See Comments. |
|
Outputs |
Name |
Description |
X |
A scalar, vector, or matrix of the inverse cumulative density function values for the given probabilities. The same size as Prob. |
|
Example |
Find the gamma inverse cumulative density function for probabilities 0.1, 0.3, and 0.8 with parameters a = 2 and b = 5. |
|
Syntax |
||
x = GammaInvCDF([0.1,0.3,0.8],2,5) |
||
Results |
||
x = 2.6591 5.4867 14.972 |
||
Comments |
The form of distribution function is such that the mean is a*b. |
|
See Also: |