Returns statistics.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double[] GetStatistics()
Visual Basic (Declaration)
Public Function GetStatistics As Double()
Visual C++
public:
array<double>^ GetStatistics()

Return Value

A double array containing output statistics. The following table describes the statistics available:
indexDescription
0 Sum of the degrees of freedom for the within-covariance matrices.
1 Chi-squared statistic.
2 The degrees of freedom in the chi-squared statistic.
3 Probability of a greater chi-squared, respectively, of a test of the homogeneity of the within-covariance matrices. (Not computed when the pooled only covariance matrix is computed).
4 thru (4+nGroups) Log of the determinant of each group's covariance matrix (not computed when the pooled only covariance matrix is computed) and of the pooled covariance matrix.
Last (nGroups + 1) elements Sum of the weights within each group.
Last element Sum of the weights in all groups.

Exceptions

ExceptionCondition
Imsl.Stat..::.EmptyGroupException is thrown when there are no observations in a group.
Imsl.Stat..::.CovarianceSingularException is thrown when the variance-covariance matrix is singular.

See Also