TwoWayAnovaModel Constructor

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

TwoWayAnovaModel(IDataFrame, String) Constructs a new TwoWayAnovaModel object for the specified data..
TwoWayAnovaModel(Vector<Double>, ICategoricalVector, ICategoricalVector) Constructs a new TwoWayAnovaModel object for the specified data..
TwoWayAnovaModel(IDataFrame, String, String, String) Constructs a new TwoWayAnovaModel object for the specified data..

TwoWayAnovaModel(IDataFrame, String)

Constructs a new TwoWayAnovaModel object for the specified data..
C#
public TwoWayAnovaModel(
	IDataFrame dataFrame,
	string formula
)

Parameters

dataFrame  IDataFrame
A data frame containing the data for the calculation.
formula  String
A formula that specifies the variables in the model.

Exceptions

ArgumentNullExceptiondataFrame is null.
-or-
formula is null.
FormatExceptionThe formula is not in the correct format.

TwoWayAnovaModel(Vector<Double>, ICategoricalVector, ICategoricalVector)

Constructs a new TwoWayAnovaModel object for the specified data..
C#
public TwoWayAnovaModel(
	Vector<double> observationVariable,
	ICategoricalVector factorVariable1,
	ICategoricalVector factorVariable2
)

Parameters

observationVariable  Vector<Double>
A real vector that represents the dependent variable containing the observations.
factorVariable1  ICategoricalVector
A ICategoricalVector that represents the first independent variable or factor.
factorVariable2  ICategoricalVector
A ICategoricalVector that represents the second independent variable or factor.

TwoWayAnovaModel(IDataFrame, String, String, String)

Constructs a new TwoWayAnovaModel object for the specified data..
C#
public TwoWayAnovaModel(
	IDataFrame dataFrame,
	string observationColumn,
	string factorColumn1,
	string factorColumn2
)

Parameters

dataFrame  IDataFrame
A data frame containing the data for the calculation.
observationColumn  String
A String that specifies the name of the variable in dataFrame that contains the observations.
factorColumn1  String
A String that specifies the name of the variable in dataFrame that contains the levels of the first factor.
factorColumn2  String
A String that specifies the name of the variable in dataFrame that contains the levels of the second factor.

See Also