Generates gamma distribution cumulative density function values at specified locations. |
||
Syntax |
CDF = GammaCDF(Points, a, b) |
|
Arguments |
Name |
Description |
Points |
A scalar, vector, or matrix of positive data points at which the cumulative density function is to be evaluated. The output is 0 for negative values. |
|
a |
Shape parameter. A positive scalar. See Comments. |
|
b |
Scale parameter. A positive scalar. See Comments. |
|
Outputs |
Name |
Description |
CDF |
A scalar, vector, or matrix of the cumulative density function values at the given points. The same size as Points. |
|
Example 1 |
Find the gamma cumulative density function at points 1, 3, and 8 with parameters a = 2 and b = 5. |
|
Syntax |
||
cdf = GammaCDF([1,3,8],2,5) |
||
Results |
||
cdf = 0.017523 0.1219 0.47507 |
||
Comments |
The form of distribution function is such that the mean is a*b. |
|
See Also: |