void GammaStat(Double A, Double B, ref Double AMean, ref Double AVariance, ref Double ASkewness, ref Double AKurtosis)
Gamma distribution moments (mean, variance, skewness, excess kurtosis).
| # | Name | Description |
|---|---|---|
| 1 | AMean | Returns the mean, = A*B (shape A times scale B). |
| 2 | AVariance | Returns the variance, = A*B^2. |
| 3 | ASkewness | Returns the skewness, = 2/sqrt(A). |
| 4 | AKurtosis | Returns the EXCESS kurtosis, = 6/A. |
| 5 | A | Shape parameter, real value > 0. |
| 6 | B | Scale parameter, real value > 0. |
Result: stored in self (calling object)
Remarks:
Returns the moments of the Gamma distribution with shape A and scale B. If A <= 0 or B <= 0 all four outputs are NAN.