Performs a one way ANOVA from data in the given data frame.

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

Syntax

C#
public void SetData(
	DataFrame data,
	int groupColumn,
	int dataColumn
)
Visual Basic (Declaration)
Public Sub SetData ( _
	data As DataFrame, _
	groupColumn As Integer, _
	dataColumn As Integer _
)
Visual C++
public:
void SetData(
	DataFrame^ data, 
	int groupColumn, 
	int dataColumn
)

Parameters

data
Type: CenterSpace.NMath.Stats..::.DataFrame
A DataFrame containing the data.
groupColumn
Type: System..::.Int32
The index of the DataFrame column containing the group values.
dataColumn
Type: System..::.Int32
The index of the DataFrame column containing the numeric data. The specified column must be of type DFNumericColumn.

Remarks

The DataFrame method GetGroupings() is applied to the specified group column, producing a sorted list of unique group values.

See Also