procedure ChiSquareStat(Nu: Integer; out AMean: Double; out AVariance: Double; out ASkewness: Double; out AKurtosis: Double);
Chi-squared distribution moments (mean, variance, skewness, excess kurtosis).
| # | Name | Description |
|---|---|---|
| 1 | AMean | Returns the mean, = Nu. |
| 2 | AVariance | Returns the variance, = 2*Nu. |
| 3 | ASkewness | Returns the skewness, = sqrt(8/Nu). |
| 4 | AKurtosis | Returns the EXCESS kurtosis, = 12/Nu. |
| 5 | Nu | Degrees of freedom, integer > 0. |
Result: stored in self (calling object)
Remarks:
Returns the moments of the chi-squared distribution with nu degrees of freedom. If nu <= 0 all four outputs are NAN.