Processes a set of observations and performs a linear or quadratic discriminant function analysis among the several known groups.
double matrix containing the observations. int containing the column index of x in which the group numbers are stored. The first nVariables columns correspond to the variables, excluding the groupIndex column. The groups must be numbered 1,2, ..., nGroups.
| Exception Type | Condition |
|---|---|
| SumOfWeightsNegException | is thrown if the sum of the weights have become negative. |
| EmptyGroupException | is thrown if there are no observations in a group. Cannot compute statistics. |
| CovarianceSingularException | is thrown if the variance-Covariance matrix is singular. |
| PooledCovarianceSingularException | is thrown if the pooled variance-Covariance matrix is singular. |
DiscriminantAnalysis Class | Imsl.Stat Namespace | DiscriminantAnalysis.Update Overload List