Constructs a new AnovaModel objects.

Namespace: Extreme.Statistics
Assembly:   Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	observationVariable As NumericalVariable, _
	independentVariables As Variable() _
)
C#
protected AnovaModel (
	NumericalVariable observationVariable,
	Variable[] independentVariables
)
Visual C++
protected:
AnovaModel (
	NumericalVariable^ observationVariable, 
	array<Variable^>^ independentVariables
)

Parameters

observationVariable
Extreme.Statistics.NumericalVariable
A NumericalVariable that specifies the dependent variable.
independentVariables
Extreme.Statistics.Variable[]
An array of Variable objects containing the independent or factor variables.

Remarks

All independent variables must be of type CategoricalVariable.

Exceptions

ExceptionCondition
System.ArgumentNullExceptionobservationVariable is nullNothingnullptr.

-or-

independentVariables is nullNothingnullptr.


System.InvalidCastExceptionOne of the components of independentVariables is not of type CategoricalVariable.