Click or drag to resize
DiscriminantAnalysisGetStatistics Method
Returns statistics.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public double[] GetStatistics()

Return Value

Type: Double
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
EmptyGroupException is thrown when there are no observations in a group.
CovarianceSingularException is thrown when the variance-covariance matrix is singular.
See Also