OneWayRAnovaModel Constructor

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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

ArgumentNullException

dataFrame is null.

-or-

formula is null.

FormatException

The 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