Constructs a new AnovaModel objects.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	anovaTableRowCount As Integer, _
	table As DataTable, _
	dependentVariable As String, _
	factors As String() _
)
C#
protected AnovaModel (
	int anovaTableRowCount,
	DataTable table,
	string dependentVariable,
	string[] factors
)
C++
protected:
AnovaModel (
	int anovaTableRowCount, 
	DataTable^ table, 
	String^ dependentVariable, 
	array<String^>^ factors
)

Parameters

anovaTableRowCount (System.Int32)
Gets the number of rows in the AnovaTable of the model.
table (System.Data.DataTable)
A DataTable that contains the data for the model.
dependentVariable (System.String)
A String that specifies the name of the column in table that contains the data for the dependent variable.
factors ()
A String array whose elements specify the names of the columns in table that contains the data for the independent variables or factors.

Remarks

This constructor creates an AnovaModel object using data stored in a DataTable or DataView.

Exceptions

ExceptionCondition
ArgumentNullExceptiontable is nullNothingnullptr. -or-factors is nullNothingnullptr.
ArgumentOutOfRangeExceptiontable does not contain a column named dependentVariable.

-or-

table does not contain a column named by one of the elements of independentVariables.