Construct a OneWayAnova instance from data in the given data frame.

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

Syntax

C#
public OneWayAnova(
	DataFrame data,
	int groupColumn,
	int dataColumn
)
Visual Basic (Declaration)
Public Sub New ( _
	data As DataFrame, _
	groupColumn As Integer, _
	dataColumn As Integer _
)
Visual C++
public:
OneWayAnova(
	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 numeric.

Remarks

A Factor is constructed from the group column using the DataFrame method GetFactor(), which creates a sorted array of the unique values.

See Also