Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class TwoWayAnovaModel _ Inherits AnovaModel |
| C# |
|---|
public class TwoWayAnovaModel : AnovaModel |
| C++ |
|---|
public ref class TwoWayAnovaModel : public AnovaModel |
Methods
| Icon | Type | Description |
|---|---|---|
| Compute() |
Computes the model.
| |
| ComputeModel() |
Computes the model.
| |
| Contains(GeneralLinearModel) |
Returns a value that indicates whether another GeneralLinearModel is nested
within this instance.
| |
| Equals(Object) | ||
| Finalize() | ||
| GetFactor(Int32) |
Gets the factor corresponding to the variable with the specified index.
| |
| GetFactor(String) |
Gets the factor corresponding to the variable with the specified name.
| |
| GetHashCode() | Serves as a hash function for a particular type. | |
| GetHomogeneityOfVariancesTest() |
Returns a test to verify that the cells have the same variance.
| |
| GetHomogeneityOfVariancesTest(TestOfHomogeneityOfVariances) |
Returns a test to verify that the cells have the same variance.
| |
| GetType() | Gets the Type of the current instance. | |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| ResetComputation() |
Clears all computed model parameters.
| |
| SetAnovaModelRow(Int32, String, Double, Double) |
Sets the data of a row in the model's AnovaTable.
| |
| SetAnovaRow(AnovaRowType, String, Double, Double) |
Sets the data of a row in the model's AnovaTable.
| |
| ToString() |
Returns a string representation of this instance.
|
Constructors
| Icon | Type | Description |
|---|---|---|
| TwoWayAnovaModelNew(DataTable, String, String, String) |
Constructs a new TwoWayAnovaModel object.
| |
| TwoWayAnovaModelNew(NumericalVariable, CategoricalVariable, CategoricalVariable) |
Constructs a new OneWayAnovaModel object for the specified data..
| |
| TwoWayAnovaModelNew(VariableCollection, String, String) |
Constructs a new OneWayAnovaModel object for the specified data..
|
Properties
| Icon | Type | Description |
|---|---|---|
| AdjustedRSquared |
Gets the adjusted R Squared value for the regression.
| |
| AnovaTable |
Gets the AnovaTable that summarizes the results of this model.
| |
| Cells |
Gets the collection of data cells for this model.
| |
| Computed |
Gets a value that indicates whether the regression model has been computed.
| |
| DegreesOfFreedom |
Gets the total degrees of freedom of the data.
| |
| DependentVariables |
Gets the collection of dependent variables associated with this model.
| |
| FirstFactorRow |
Gets the row in the ANOVA table corresponding to the first factor.
| |
| FStatistic |
Gets the F statistic for the regression.
| |
| IndependentVariables |
Gets the collection of independent variables associated with this model.
| |
| InteractionRow |
Gets the row in the ANOVA table corresponding to the interaction between the two factors.
| |
| IsBalanced |
Gets a value that indicates whether this ANOVA design is balanced.
| |
| Parameters |
Gets the collection of parameters associated with this model.
| |
| PValue |
Gets the probability corresponding to the F statistic for the regression.
| |
| ResidualSumOfSquares |
Gets the sum of squares of the residuals of the model.
| |
| RSquared |
Gets the R Squared value for the regression.
| |
| SecondFactorRow |
Gets the row in the ANOVA table corresponding to the second factor.
| |
| StandardError |
Gets the standard error of the regression.
|
Remarks
OneWayAnovaModel inherits from AnovaModel, which in turn inherits from GeneralLinearModel. All methods and properties of these classes are available.
Before you can access the results of the analysis, you must call the Compute() method.
The results of the analysis are available through properties of the model object, including FStatistic and PValue. They are summarized in the AnovaTable.
The Cells property returns a CellArray object that represents the data organized into cells. There is one cell for every combination of factor levels. Cell means and other properties of the model can be accessed through the properties of individual cells.
One of the assumptions in analysis of variance is that the variances of the data in each cell are the same. The GetHomogeneityOfVariancesTest() returns a hypothesis test object that allows you to verify this assumption.
Inheritance Hierarchy
Extreme.Statistics.GeneralLinearModel
Extreme.Statistics.AnovaModel
Extreme.Statistics.TwoWayAnovaModel