Represents the results of a one-way analysis of variance (ANOVA).

Namespace: Extreme.Statistics
Assembly:   Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0

Syntax

Visual Basic (Declaration)
Public NotInheritable Class OneWayAnovaModel _
	Inherits AnovaModel
C#
public sealed class OneWayAnovaModel : AnovaModel
Visual C++
public ref class OneWayAnovaModel sealed : public AnovaModel

Remarks

Use the OneWayAnovaModel to represent an analysis of variance model with one factor. The dependent variable and factor variable must be specified in the constructor. The dependent variable must be of type NumericalVariable. The factor variable must be of type CategoricalVariable.

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

System.Object
  Extreme.Statistics.GeneralLinearModel
    Extreme.Statistics.AnovaModel
      Extreme.Statistics.OneWayAnovaModel

See Also