Shape parameter, specified as a positive scalar value or an array of positive scalar
values. If both a and b are arrays, they must
be the same size. If either a or b is a
scalar, then gamstat expands the scalar argument into a
constant array of the same size as the other argument.
Data Types: single | double
Scale parameter, specified as a positive scalar value or an array of positive scalar
values. If both a and b are arrays, they must
be the same size. If either a or b is a
scalar, then gamstat expands the scalar argument into a
constant array of the same size as the other argument.
Mean for the gamma distribution, returned as a numeric scalar or an array of numeric
scalars. m is the same size as a and
b. Each element in m is the mean of the
gamma distribution specified by the corresponding elements in a and
b. If a(i) or b(i) is
less than or equal to zero, then m(i) is
NaN.
The mean of the gamma distribution with parameters a and
b is ab.
Variance for the gamma distribution, returned as a numeric scalar or an array of
numeric scalars. v is the same size as a and
b. Each element in v is the variance of the
gamma distribution specified by the corresponding elements in a and
b. If a(i) or b(i) is
less than or equal to zero, then v(i) is
NaN.
The variance of the gamma distribution with parameters a and
b is
ab2.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.