NMath Reference Guide

## Two |

Class TwoWayAnovaUnbalancedTable summarizes the information of a traditional two-way
Analysis of Variance (ANOVA) table.

Inheritance Hierarchy

SystemObject

CenterSpace.NMath.CoreDataFrame

CenterSpace.NMath.CoreTwoWayAnovaTable

CenterSpace.NMath.CoreTwoWayAnovaUnbalancedTable

CenterSpace.NMath.CoreDataFrame

CenterSpace.NMath.CoreTwoWayAnovaTable

CenterSpace.NMath.CoreTwoWayAnovaUnbalancedTable

Syntax

The TwoWayAnovaUnbalancedTable type exposes the following members.

Constructors

Name | Description | |
---|---|---|

TwoWayAnovaUnbalancedTable | Constructs an empty TwoWayAnovaUnbalancedTable object. | |

TwoWayAnovaUnbalancedTable(TupleFactor, DoubleVector, TupleFactor, DoubleVector, TwoWayAnovaUnbalancedParameterOrder, LinearRegressionAnova) | Constructs a TwoAnovaUnbalancedTable when there are no interaction parameters. | |

TwoWayAnovaUnbalancedTable(TupleFactor, DoubleVector, TupleFactor, DoubleVector, DoubleVector, TwoWayAnovaUnbalancedParameterOrder, LinearRegressionAnova) | Constructs a TwoAnovaUnbalancedTable. | |

TwoWayAnovaUnbalancedTable(TupleFactor, Double, TupleFactor, Double, Double, TwoWayAnovaUnbalancedParameterOrder, LinearRegressionAnova) | Constructs a TwoAnovaUnbalancedTable. |

Properties

Name | Description | |
---|---|---|

CoefficientOrder | The order of the factors in the regression used to compute the ANOVA and the corresponding sums of squares. | |

Cols |
Gets the number of columns in this data frame.
(Inherited from DataFrame) | |

ColumnHeaders |
Gets and sets the array of column labels in this data frame.
(Inherited from DataFrame) | |

ColumnNames |
Gets an array of the column names in this data frame.
(Inherited from DataFrame) | |

CreateDate |
Gets the creation datetime for this data object.
(Inherited from DataFrame) | |

ErrorDegreesOfFreedom |
Gets the degrees of freedom for the error.
(Inherited from TwoWayAnovaTable) | |

ErrorMeanSquare |
Gets the mean square for the error.
(Inherited from TwoWayAnovaTable) | |

ErrorSumOfSquares |
Gets the sum of squares for the error.
(Inherited from TwoWayAnovaTable) | |

InteractionDegreesOfFreedom |
Gets the degrees of freedom for the interaction.
(Inherited from TwoWayAnovaTable) | |

InteractionFstatistic |
Gets the F statistic for the interaction.
(Inherited from TwoWayAnovaTable) | |

InteractionFstatisticPvalue |
Gets the p-value for the F statistic for the interaction.
(Inherited from TwoWayAnovaTable) | |

InteractionMeanSquare |
Gets the mean square for the interaction.
(Inherited from TwoWayAnovaTable) | |

InteractionSumOfSquares |
Gets the sum of squares for the interaction.
(Inherited from TwoWayAnovaTable) | |

ItemInt32 |
Gets the column indicated by the given column index.
(Inherited from DataFrame) | |

ItemString |
Gets the column indicated by the given column name.
(Inherited from DataFrame) | |

ItemInt32, Slice |
Gets the subcolumn indicated by the given column index and row slice.
(Inherited from DataFrame) | |

ItemInt32, Subset |
Gets the subcolumn indicated by the given column index and row subset.
(Inherited from DataFrame) | |

ItemInt32, Int32 |
Gets and sets the element at the given row and column index.
(Inherited from DataFrame) | |

ItemObject, String |
Gets and sets the element specified by the given row key and column name.
(Inherited from DataFrame) | |

ItemSlice, Slice |
Gets a new data frame containing the portion of this data frame indicated by
the given row slice and column slice.
(Inherited from DataFrame) | |

ItemSlice, Subset |
Gets a new data frame containing the portion of this data frame indicated by
the given row slice and column subset.
(Inherited from DataFrame) | |

ItemSubset, Slice |
Gets a new data frame containing the portion of this data frame indicated by
the given row subset and column slice.
(Inherited from DataFrame) | |

ItemSubset, Subset |
Gets a new data frame containing the portion of this data frame indicated by
the given row subset and column subset.
(Inherited from DataFrame) | |

Name |
Gets and sets the name for this data frame.
(Inherited from DataFrame) | |

RowKeyHeader |
Gets and sets the header for the row keys in this data frame.
(Inherited from DataFrame) | |

RowKeys |
Gets an object array of the row keys in this data frame.
(Inherited from DataFrame) | |

Rows |
Gets the number of rows in this data frame.
(Inherited from DataFrame) | |

StringRowKeys |
Gets a string array of the row keys in this data frame.
(Inherited from DataFrame) | |

TotalDegreesOfFreedom |
Gets the total degrees of freedom.
(Inherited from TwoWayAnovaTable) | |

TotalSumOfSquares |
Gets the total sum of squares.
(Inherited from TwoWayAnovaTable) | |

Type |
Gets the type of this data object.
(Inherited from DataFrame) |

Methods

Name | Description | |
---|---|---|

AddAnovaRowForFactor(DoubleVector, LinearRegressionAnova, String) |
Adds a row to the table for a given ANOVA factor.
(Inherited from TwoWayAnovaTable) | |

AddAnovaRowForFactor(Double, Int32, LinearRegressionAnova, String) |
Adds a row to the ANOVA table for a factor.
(Inherited from TwoWayAnovaTable) | |

AddColumn(DataColumn) |
Adds the given DataColumn to this data frame.
(Inherited from DataFrame) | |

AddColumn(IDFColumn) |
Adds a column to this data frame.
(Inherited from DataFrame) | |

AddColumn(DataColumn, DataRowCollection) |
Adds the given DataColumn and accompanying data to this data frame.
(Inherited from DataFrame) | |

AddColumns(DataColumnCollection) |
Adds a collection of DataColumns to this data frame.
(Inherited from DataFrame) | |

AddColumns(DataColumnCollection, DataRowCollection) |
Adds a collection of DataColumns and accompanying data to this data frame.
(Inherited from DataFrame) | |

AddColumns(DataFrame, Boolean) |
Adds all columns from another data frame to this data frame, optionally
copying the data in the columns.
(Inherited from DataFrame) | |

AddRow(DataRow) |
Adds the data from the given DataRow to this data frame.
(Inherited from DataFrame) | |

AddRow(ICollection) |
Adds a row to this data frame using default row key (this.Rows + 1).
(Inherited from DataFrame) | |

AddRow(Int32, DataRow) |
Adds the data from the given DataRow using the specified column in the row
as the row key.
(Inherited from DataFrame) | |

AddRow(Object, DoubleVector) |
Adds a row to this data frame.
(Inherited from DataFrame) | |

AddRow(Object, ICollection) |
Adds a row to this data frame.
(Inherited from DataFrame) | |

AddRow(Object, IDictionary) |
Adds a row to this data frame from the given dictionary.
(Inherited from DataFrame) | |

AddRow(Object, DataRow) |
Adds the data from the given DataRow using the given row key.
(Inherited from DataFrame) | |

AddRow(Object, Object) |
Adds a row to this data frame.
(Inherited from DataFrame) | |

AddRows(DataRowCollection) |
Adds the data from the given DataRowCollection.
(Inherited from DataFrame) | |

AddRows(Int32, DataRowCollection) |
Adds the data from the given DataRow using the specified column as row keys.
(Inherited from DataFrame) | |

AddRows(Object, DataRowCollection) |
Adds the data from the given DataRowCollection using the specified row keys.
(Inherited from DataFrame) | |

CleanAndRemoveCols |
Removes all columns that contain missing values.
(Inherited from DataFrame) | |

CleanAndRemoveCols(Int32) |
Removes columns that contain missing values in the given rows.
(Inherited from DataFrame) | |

CleanAndRemoveRows |
Removes rows that contain missing values.
(Inherited from DataFrame) | |

CleanAndRemoveRows(Int32) |
Removes rows in this data frame that missing values in the given
columns.
(Inherited from DataFrame) | |

CleanCols |
Returns a new data frame containing the columns in this data frame that
do not contain missing values.
(Inherited from DataFrame) | |

CleanCols(Int32) |
Returns a new data frame containing the columns in this data frame that
do not contain missing values in the given rows.
(Inherited from DataFrame) | |

CleanRows |
Returns a new data frame containing the rows in this data frame that
do not contain missing values.
(Inherited from DataFrame) | |

CleanRows(Int32) |
Returns a new data frame containing the rows in this data frame that
do not contain missing values in the given columns.
(Inherited from DataFrame) | |

Clear |
Removes all columns and all rows from this data frame.
(Inherited from DataFrame) | |

Clone |
Creates a deep copy of this TwoWayAnovaTable.
(Inherited from TwoWayAnovaTable) | |

ContainsColumn |
Tests whether this data frame contains a column of the given name.
(Inherited from DataFrame) | |

ContainsRow |
Tests whether this data frame contains a row with the given row key.
(Inherited from DataFrame) | |

DegreesOfFreedom |
Returns the degrees of freedom for the specified factor.
(Inherited from TwoWayAnovaTable) | |

Fstatistic |
Returns the F statistic for the specified factor.
(Inherited from TwoWayAnovaTable) | |

FstatisticPvalue |
Returns the p-value for the F statistic for the specified factor.
(Inherited from TwoWayAnovaTable) | |

GetColumnDictionary(Int32) |
Returns a dictionary for values in the given column. The row keys are
used as keys in the dictionary.
(Inherited from DataFrame) | |

GetColumnDictionary(String) |
Returns a dictionary for values in the given column. The row keys are
used as keys in the dictionary.
(Inherited from DataFrame) | |

GetColumnDictionary(Int32, Int32) |
Returns a dictionary for values in the given column. The dictionary keys are
taken from the specified key column.
(Inherited from DataFrame) | |

GetColumns(Slice) |
Gets a new data frame containing the portion of this data frame specified by the
given column slice.
(Inherited from DataFrame) | |

GetColumns(Subset) |
Gets a new data frame containing the portion of this data frame specified by the
given column subset.
(Inherited from DataFrame) | |

GetFactor(Int32) |
Creates a factor from the given column.
(Inherited from DataFrame) | |

GetFactor(String) |
Creates a factor from the given column.
(Inherited from DataFrame) | |

GetFactor(Int32, Object) |
Creates a factor from the given column.
(Inherited from DataFrame) | |

GetFactor(String, Object) |
Creates a factor from the given column.
(Inherited from DataFrame) | |

GetRow(Int32) |
Gets the data for a given row index.
(Inherited from DataFrame) | |

GetRow(Object) |
Gets the data for the first row with a given row key.
(Inherited from DataFrame) | |

GetRowDictionary(Int32) |
Gets a row dictionary for the given row index. The dictionary keys are
the column names.
(Inherited from DataFrame) | |

GetRowDictionary(Object) |
Gets a row dictionary for the given row key. The dictionary keys are
the column names.
(Inherited from DataFrame) | |

GetRows(Slice) |
Gets a new data frame containing the portion of this data frame specified by the
given row slice.
(Inherited from DataFrame) | |

GetRows(Subset) |
Gets a new data frame containing the portion of this data frame specified by the
given row subset.
(Inherited from DataFrame) | |

GetSubRow(Int32, Slice) |
Gets the portion of the row in this data frame indicated by the given row index and
column slice.
(Inherited from DataFrame) | |

GetSubRow(Int32, Subset) |
Gets the portion of the row in this data frame indicated by the given row index and
column subset.
(Inherited from DataFrame) | |

IndexOf |
Returns the index of the first row with a given value in a specified column.
(Inherited from DataFrame) | |

IndexOfColumn |
Return the index of the first column with a given column name.
(Inherited from DataFrame) | |

IndexOfKey |
Returns the index of the first row with a given row key.
(Inherited from DataFrame) | |

IndexRowKeys |
Resets the row keys for all rows to rowIndex + 1.
(Inherited from DataFrame) | |

IndicesOf |
Returns the indices of all rows with a given value in a specified column.
(Inherited from DataFrame) | |

IndicesOfColumn |
Returns an array of column indices for the given column name. Column
names need not be unique, so multiple columns may share a single name.
(Inherited from DataFrame) | |

IndicesOfKey |
Returns the indices of all rows with a given row key.
(Inherited from DataFrame) | |

InsertColumn |
Inserts the given column at the given column index.
(Inherited from DataFrame) | |

InsertRow(Int32, Object, DoubleVector) |
Inserts the given row at the given row index.
(Inherited from DataFrame) | |

InsertRow(Int32, Object, ICollection) |
Inserts the given row at the given row index.
(Inherited from DataFrame) | |

InsertRow(Int32, Object, IDictionary) |
Inserts the given row at the given row index.
(Inherited from DataFrame) | |

MeanSquare |
Returns the mean square for the specified factor.
(Inherited from TwoWayAnovaTable) | |

OpenInEditor |
Opens the contents of this data frame in the default text editor.
(Inherited from DataFrame) | |

PermuteColumns |
Reorders the columns in this data frame according to the given permutation array.
(Inherited from DataFrame) | |

PermuteRows |
Reorders the rows in this data frame according to the given permutation array.
(Inherited from DataFrame) | |

RemoveAllColumns |
Removes all columns from this data frame, but preserves the existing row keys.
(Inherited from DataFrame) | |

RemoveAllRows |
Removes all rows from this data frame.
(Inherited from DataFrame) | |

RemoveColumn(Int32) |
Removes the column from this data frame with the given column index.
(Inherited from DataFrame) | |

RemoveColumn(String) |
Removes all columns from this data frame with the given column name.
(Inherited from DataFrame) | |

RemoveColumns(Slice) |
Removes the columns from this data frame specified by the given column slice.
(Inherited from DataFrame) | |

RemoveColumns(Subset) |
Removes the columns from this data frame specified by the given column subset.
(Inherited from DataFrame) | |

RemoveRow(Int32) |
Removes the row from this data table at the given row index.
(Inherited from DataFrame) | |

RemoveRow(Object) |
Removes all rows from this data table with the given row key.
(Inherited from DataFrame) | |

RemoveRows(Slice) |
Removes the rows from this data frame specified by the given row slice.
(Inherited from DataFrame) | |

RemoveRows(Subset) |
Removes the rows from this data frame specified by the given row subset.
(Inherited from DataFrame) | |

Save(String) |
Exports the contents of this data frame to a text file.
(Inherited from DataFrame) | |

Save(String, Boolean, Boolean, String) |
Exports the contents of this data frame to a text file.
(Inherited from DataFrame) | |

Save(String, Boolean, Boolean, String, String, String, String) |
Exports the contents of this data frame to a text file.
(Inherited from DataFrame) | |

SetRowKey |
Sets the row key for the given row index to the given value.
(Inherited from DataFrame) | |

SetRowKeys |
Sets the row keys in this data frame to the elements of the given collection.
(Inherited from DataFrame) | |

SortByColumnHeader |
Sorts the columns in this data frame by the column headers.
(Inherited from DataFrame) | |

SortRows(Int32) |
Sorts the rows in this data frame according to the given ordered array of column
indices.
(Inherited from DataFrame) | |

SortRows(Int32, SortingType) |
Sorts the rows in this data frame according to the given ordered array of column
indices. Sort order is determined by the matching array of sorting types (ascending
or descending).
(Inherited from DataFrame) | |

SortRowsByKeys |
Sorts the rows in this data frame by their row keys in ascending order.
(Inherited from DataFrame) | |

SortRowsByKeys(SortingType) |
Sorts the rows in this data frame by their row keys.
(Inherited from DataFrame) | |

SumOfSquares |
Returns the sum of squares for a specified factor.
(Inherited from TwoWayAnovaTable) | |

SwapColumns |
Swaps the position of the given columns in the data frame.
(Inherited from DataFrame) | |

SwapRows |
Swaps the position of the given rows in the data frame.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, FuncIDFColumn, Boolean) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, FuncIDFColumn, DateTime) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, FuncIDFColumn, Double) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, FuncIDFColumn, Int32) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, FuncIDFColumn, Object) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, FuncIDFColumn, String) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(String, String, FuncIDFColumn, Boolean) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(String, String, FuncIDFColumn, DateTime) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(String, String, FuncIDFColumn, Double) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(String, String, FuncIDFColumn, Int32) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(String, String, FuncIDFColumn, Object) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(String, String, FuncIDFColumn, String) |
Tabulates the results of applying the given delegate to the values in the specified data
column for each level of the specified factor.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, Int32, FuncIDFColumn, Boolean) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, Int32, FuncIDFColumn, DateTime) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, Int32, FuncIDFColumn, Double) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, Int32, FuncIDFColumn, Int32) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, Int32, FuncIDFColumn, Object) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(Int32, Int32, Int32, FuncIDFColumn, String) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(String, String, String, FuncIDFColumn, Boolean) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(String, String, String, FuncIDFColumn, DateTime) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(String, String, String, FuncIDFColumn, Double) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(String, String, String, FuncIDFColumn, Int32) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(String, String, String, FuncIDFColumn, Object) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

Tabulate(String, String, String, FuncIDFColumn, String) |
Tabulates the results of applying the given delegate to the values in the specified data
column for every combination of the two specified factors.
(Inherited from DataFrame) | |

ToDataTable |
Returns a data table containing all data in this data frame.
(Inherited from DataFrame) | |

ToDoubleMatrix |
Returns a double matrix containing all numeric data in this data frame.
(Inherited from DataFrame) | |

ToString |
Returns a formatted string representation of this data frame.
(Inherited from DataFrame) | |

ToString(Boolean, Boolean, String) |
Returns a formatted string representation of this data frame.
(Inherited from DataFrame) | |

ToString(Boolean, Boolean, String, String, String, String) |
Returns a formatted string representation of this data frame.
(Inherited from DataFrame) |

Fields

Name | Description | |
---|---|---|

creationDate_ |
The creation DateTime of this data object.
(Inherited from DataFrame) | |

name_ |
The name of this data object.
(Inherited from DataFrame) | |

rowKeyHeader_ |
Heading for row keys
(Inherited from DataFrame) | |

rowKeys_ |
List of row keys
(Inherited from DataFrame) |

Remarks

Class TwoWayAnovaUnbalancedTable derives from class DataFrame in order
to represent a traditional two-way ANOVA table. A two-way ANOVA table
contains 5 rows and 6 columns. The rows contain information for each of the
following sources: Factor A, Factor B, the Interaction between Factor A and
Factor B, Error (Residual), and Total. The columns contain the following
quantities for each source: Degrees of Freedom, Sum of Squares,
Mean Square, F statistice and P-values (only for the Factors A and B and
their interaction).

See Also