return Gamma |
a normal distribution. |
double shape |
The shape of the Gamma distribution. |
double invScale |
The inverse scale of the Gamma distribution. |
The Gamma distribution is parametrized by a shape and inverse scale parameter. When we want to specify a Gamma distribution which is a point distribution we set the shape parameter to be the location of the point distribution and the inverse scale as positive infinity. The distribution with shape and inverse scale both zero is undefined.
Random number generation for the Gamma distribution is based on the algorithm in: "A Simple Method for Generating Gamma Variables" - Marsaglia & Tsang ACM Transactions on Mathematical Software, Vol. 26, No. 3, September 2000, Pages 363–372.
The distribution will use the Random by default. Users can get/set the random number generator by using the RandomSource property.
The statistics classes will check all the incoming parameters whether they are in the allowed range. This might involve heavy computation. Optionally, by setting Control.CheckDistributionParameters to false, all parameter checks can be turned off.
return Gamma |
a normal distribution. |
double shape |
The shape of the Gamma distribution. |
double invScale |
The inverse scale of the Gamma distribution. |
return Gamma |
a normal distribution. |
double shape |
The shape of the Gamma distribution. |
double scale |
The scale of the Gamma distribution. |
return double
|
return double
|
return double
|
return double
|
return double
|
return double
|
return double
|
return Random
|
return double
|
return double
|
return double
|
return double
|
return double
|