One Way Anova Model Constructor
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
One | Constructs a new OneWayAnovaModel object for the specified data.. |
One | Constructs a new OneWayAnovaModel object for the specified data.. |
One | Constructs a new OneWayAnovaModel object for the specified data.. |
OneWayAnovaModel(IDataFrame, String)
Constructs a new OneWayAnovaModel object for the specified data..
public OneWayAnovaModel(
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. |
OneWayAnovaModel(Vector<Double>, ICategoricalVector)
Constructs a new OneWayAnovaModel object for the specified data..
public OneWayAnovaModel(
Vector<double> observationVariable,
ICategoricalVector factorVariable
)
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.
Remarks
Use this constructor to create a OneWayAnovaModel based on data in two statistical variables.
OneWayAnovaModel(IDataFrame, String, String)
Constructs a new OneWayAnovaModel object for the specified data..
public OneWayAnovaModel(
IDataFrame dataFrame,
string observationVariableName,
string factorVariableName
)
Parameters
- dataFrame IDataFrame
- A IDataFrame containing the data for the calculation.
- observationVariableName String
- A String that specifies the name of the variable in dataFrame that contains the observations.
- factorVariableName String
- A String that specifies the name of the variable in dataFrame that contains the factor levels.
Remarks
Use this constructor to create a OneWayAnovaModel based on data in a IDataFrame. The table must contain variables whose name equals observationVariableName and factorVariableName.
The variable named by observationVariableName must be a numerical vector. If the variable named by factorVariableName is not categorical, it is converted to a categorical vector.