Returns the variable means.

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

Syntax

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

Return Value

An nGroups by nVariablesdouble matrix containing the variable means. The i-th row contains the variable means for group i.

If this method is invoked before classification, the unscaled means will be returned.

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