Click or drag to resize
DiscriminantAnalysisGetCoefficients Method
Returns the linear discriminant function coefficients.

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

Return Value

Type: Double
An nGroups by nVariablesdouble matrix containing the linear discriminant function coefficients. The first column of the matrix contains the constant term, and the remaining columns contain the variable coefficients. The i-th row of the returned matrix corresponds to group i. The coefficients are always computed as linear discriminant function coefficients even when quadratic discrimination is specified.
Exceptions
ExceptionCondition
EmptyGroupExceptionis thrown when there are no observations in a group.
CovarianceSingularExceptionis thrown when the variance-covariance matrix is singular.
See Also