Function Reference: gamcdf

statistics: p = gamcdf (x, a)
statistics: p = gamcdf (x, a, b)
statistics: p = gamcdf (…, "upper")
statistics: [p, plo, pup] = evcdf (x, a, b, pcov)
statistics: [p, plo, pup] = evcdf (x, a, b, pcov, alpha)
statistics: [p, plo, pup] = evcdf (…, "upper")

Gamma cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function (CDF) at x of the Gamma distribution with shape parameter a and scale b. When called with only one parameter, then b defaults to 1. The size of p is the common size of x, a, and b. A scalar input functions as a constant matrix of the same size as the other inputs.

When called with three output arguments, [p, plo, pup] it computes the confidence bounds for p when the input parameters a and b are estimates. In such case, pcov, a 2-by-2 matrix containing the covariance matrix of the estimated parameters, is necessary. Optionally, alpha has a default value of 0.05, and specifies 100 * (1 - alpha)% confidence bounds. plo and pup are arrays of the same size as p containing the lower and upper confidence bounds.

[…] = gamcdf (…, "upper") computes the upper tail probability of the gamma distribution.

See also: gaminv, gampdf, gamrnd, gamfit, gamlike, gamstat

Source Code: gamcdf