Probabilities.StudentStat Method

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

Student's t distribution moments (mean, variance, skewness, kurtosis).

#NameDescription
1AMeanReturns the mean, = 0
2defined only for Nu > 1 (NAN otherwise).
3AVarianceReturns the variance, = Nu/(Nu-2) for Nu >= 3
4+INF for Nu < 3.
5ASkewnessReturns the skewness, = 0
6defined only for Nu > 3 (NAN otherwise).
7AKurtosisReturns the FULL (non-excess) kurtosis, = (3 Nu - 6)/(Nu - 4)
8defined only for Nu > 4 (NAN otherwise). Notethis is the full kurtosis, not the excess kurtosis (subtract 3 to obtain the excess form 6/(Nu-4)).
9NuDegrees of freedom, integer >= 1.

Result: stored in self (calling object)

Remarks:

Returns the moments of the Student's t distribution with nu degrees of freedom. Each moment exists only for sufficiently large nu: mean needs nu > 1, variance is finite for nu >= 3 (and +inf for nu < 3), skewness needs nu > 3 and kurtosis needs nu > 4; a moment whose condition is not met is returned as NAN. Unlike the other distributions in this unit, AKurtosis is the FULL kurtosis, not the excess kurtosis.