Two Way Anova Model Constructor
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Two | Constructs a new TwoWayAnovaModel object for the specified data.. |
Two | Constructs a new TwoWayAnovaModel object for the specified data.. |
Two | Constructs a new TwoWayAnovaModel object for the specified data.. |
TwoWayAnovaModel(IDataFrame, String)
Constructs a new TwoWayAnovaModel object for the specified data..
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
Argument | dataFrame is null. -or- formula is null. |
Format | The formula is not in the correct format. |
TwoWayAnovaModel(Vector<Double>, ICategoricalVector, ICategoricalVector)
Constructs a new TwoWayAnovaModel object for the specified data..
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..
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.