Returns the mean for the specified group.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public double GetGroupMean(
	Object groupName
)
Visual Basic (Declaration)
Public Function GetGroupMean ( _
	groupName As Object _
) As Double
Visual C++
public:
double GetGroupMean(
	Object^ groupName
)

Parameters

groupName
Type: System..::.Object
A group name.

Return Value

The mean for the observations in group groupName.

Remarks

The array of group names can be accessed using the GroupNames property. If this anova object was constructed from a data frame using a grouping column, the group names are the sorted, unique Factor levels created from the column values. If this anova object was constructed from a matrix or an array of vectors, the group names are simply Group_0, Group_1...Group_n.

See Also