AnovaTable Class

Represents a table containing the results of an ANOVA analysis.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public class AnovaTable : IEnumerable<AnovaRow>, 
	IEnumerable
Inheritance
Object  →  AnovaTable
Implements
IEnumerable<AnovaRow>, IEnumerable

Remarks

Use the AnovaTable class to represent an ANOVA table, which contains the results of an Analysis of Variance (ANOVA) calculation or summarizes the results of a regression analysis.

The Rows property provides access to the rows in the table, which are of type AnovaRow. An ANOVA table has at least three rows:

  • The ErrorRow gives information about the error or residual that remains once the model has been accounted for.
  • The TotalRow gives information about the total variation in the data.
  • One or more model rows give information about components of the model. Model rows can be accessed through the GetModelRow(Int32) method.

Model rows are of a specialized type, AnovaModelRow, that provides properties and methods to assess the significance of the component in the model.

The Rows collection has an indexer property that allows for easy access to individual rows. The rows with index from 0 to ModelRowCount-1 correspond to model rows. The row with index ModelRowCount corresponds to the ErrorRow. The row with index ModelRowCount+1 corresponds to the TotalRow.

In addition, the CompleteModelRow property summarizes the contribution of the entire model. This row is not part of the actual ta

AnovaTable objects are read-only. They are created and populated by the model object whose results they represent.

Properties

CompleteModelRow Gets the AnovaRow containing the results for the complete model.
ErrorRow Gets the AnovaRow containing the 'error' results.
ModelRowCount Gets the number of rows representing model effects in this AnovaTable.
Rows Gets a vector containing the rows in this AnovaTable.
TotalRow Gets the AnovaRow containing the 'total' results.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumerator Returns an enumerator for the rows in the ANOVA table.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetModelRow Returns the model row at the specified index in an AnovaTable.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToDataFrame Converts the data in the AnovaTable to a DataFrame<R, C>.
ToDataTable Converts the data in the AnovaTable to a DataTable.
ToString Returns a String representation of this instance.
(Overrides Object.ToString())

Extension Methods

Group<AnovaRow> Returns a grouping by the unique elements in a sequence.
(Defined by Grouping)
Group<AnovaRow> Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping)
StandardDeviation<AnovaRow> Returns the standard deviation of the elements of a sequence.
(Defined by Stats)
Sum<AnovaRow> Computes the sum of the sequence of values.
(Defined by ArrayMath)
Sum<AnovaRow, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath)
Sum<AnovaRow, T2, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each pair of elements of the input sequences.
(Defined by ArrayMath)

See Also