Constructs a new OneWayAnovaModel object for the specified data..

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	observationVariable As NumericalVariable, _
	factorVariable As CategoricalVariable _
)
C#
public OneWayAnovaModel (
	NumericalVariable observationVariable,
	CategoricalVariable factorVariable
)
C++
public:
OneWayAnovaModel (
	NumericalVariable^ observationVariable, 
	CategoricalVariable^ factorVariable
)

Parameters

observationVariable (Extreme.Statistics.NumericalVariable)
A NumericalVariable that represents the dependent variable containing the observations.
factorVariable (Extreme.Statistics.CategoricalVariable)
A CategoricalVariable that represents the independent variable or factor.

Remarks

Use this constructor to create a OneWayAnovaModel based on data in two NumericalVariablea VariableCollection. The table must contain variables whose name equals observationVariableName and factorVariableName. Both variables must be of type NumericalVariable.