Probabilities.ChiSquareStat Method

void ChiSquareStat(Int32 Nu, ref Double AMean, ref Double AVariance, ref Double ASkewness, ref Double AKurtosis)

Chi-squared distribution moments (mean, variance, skewness, excess kurtosis).

#NameDescription
1AMeanReturns the mean, = Nu.
2AVarianceReturns the variance, = 2*Nu.
3ASkewnessReturns the skewness, = sqrt(8/Nu).
4AKurtosisReturns the EXCESS kurtosis, = 12/Nu.
5NuDegrees 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.