OneWayRAnovaModel Constructor

Definition

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

Overload List

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

OneWayRAnovaModel(IDataFrame, String)

Constructs a new OneWayRAnovaModel object for the specified data..
C#
public OneWayRAnovaModel(
	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.

OneWayRAnovaModel(Vector<Double>, ICategoricalVector, ICategoricalVector)

Constructs a new OneWayAnovaModel object for the specified data..
C#
public OneWayRAnovaModel(
	Vector<double> observationVariable,
	ICategoricalVector factorVariable,
	ICategoricalVector subjectVariable
)

Parameters

observationVariable  Vector<Double>
A real vector that represents the dependent variable containing the observations.
factorVariable  ICategoricalVector
A ICategoricalVector that represents the independent variable or factor.
subjectVariable  ICategoricalVector
A ICategoricalVector that represents the subject variable.

OneWayRAnovaModel(IDataFrame, String, String, String)

Constructs a new OneWayAnovaModel object for the specified data..
C#
public OneWayRAnovaModel(
	IDataFrame dataFrame,
	string observationVariableName,
	string factorVariableName,
	string subjectVariableName
)

Parameters

dataFrame  IDataFrame
A data frame containing the data for the calculation.
observationVariableName  String
A String that specifies the name of the column in dataFrame that contains the observations.
factorVariableName  String
A String that specifies the name of the column in dataFrame that contains the factor levels.
subjectVariableName  String
A String that specifies the name of the column in dataFrame that identifies the subjects.

See Also