Constructs a new statistical model.

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

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	variables As VariableCollection, _
	dependentVariable As String, _
	independentVariables As String(), _
	anovaTableRowCount As Integer _
)
C#
protected GeneralLinearModel (
	VariableCollection variables,
	string dependentVariable,
	string[] independentVariables,
	int anovaTableRowCount
)
C++
protected:
GeneralLinearModel (
	VariableCollection^ variables, 
	String^ dependentVariable, 
	array<String^>^ independentVariables, 
	int anovaTableRowCount
)

Parameters

variables (Extreme.Statistics.VariableCollection)
A VariableCollection object containing the variables for the model.
dependentVariable (System.String)
A String containing the name of the dependent variable.
independentVariables ()
A String array containing the names of the independent variables.
anovaTableRowCount (System.Int32)
The number of rows in the Anova table summarizing the results of this model.

Remarks

The variables named as dependent and independent variables in this model must be contained in the variables.

Exceptions

ExceptionCondition
ArgumentNullExceptionvariables is nullNothingnullptr.

-or-

dependentVariable is nullNothingnullptr.

-or-

independentVariables is nullNothingnullptr.