Constructs a new AnovaModel objects.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Protected Sub New ( _ observationVariable As NumericalVariable, _ independentVariables As Variable() _ ) |
| C# |
|---|
protected AnovaModel ( NumericalVariable observationVariable, Variable[] independentVariables ) |
| C++ |
|---|
protected: AnovaModel ( NumericalVariable^ observationVariable, array<Variable^>^ independentVariables ) |
Parameters
- observationVariable (Extreme.Statistics.NumericalVariable)
- A NumericalVariable that specifies the dependent variable.
- independentVariables ()
- An array of Variable objects containing the independent or factor variables.
Remarks
All independent variables must be of type
CategoricalVariable.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | observationVariable is nullNothingnullptr.
-or- independentVariables is nullNothingnullptr. |
| InvalidCastException | One of the components of independentVariables is not of type CategoricalVariable. |