Gamma |
The gamma distribution is a two-parameter family of continuous probability distributions. It has a scale parameter θ and a shape parameter k.
This topic contains the following sections:
Constructor | Description | Performance |
---|---|---|
set parameters | Creates new instance of Gamma with user specified parameters. | |
set random generator | Creates new instance of Gamma with user specified generator and parameters. |
Method | Description | Performance |
---|---|---|
sample | Generate random variable sample. Fill in array with random variable series in place: Static method which generates new sample of Gamma distribution variate with specified parameters: | |
Probability density function. where Γ denotes the Gamma function. Static probability density function. | ||
cdf | Cumulative distribution function. where γ is the lower incomplete gamma function. Static cumulative distribution function. | |
inverse cdf | Inverse cumulative distribution function. Is useful for quantile calculation. Function will return value of random variable such that likelihood for this random variable to occur less than or equal to returned value equal to specified pvalue parameter. |
Property | Description | Performance |
---|---|---|
shape | Shape of the distribution. | |
scale | Scale of the distribution. | |
mean | Mean of the distribution. | |
mode | Mode of distribution. | |
kurtosis | Excess Kurtosis of distribution. | |
skewness | Skewness of distribution. | |
variance | Variance of the distribution. | |
standard deviation | Standard deviation of the distribution. |